Package aima.core.agent.impl.aprog.simplerule

Examples of aima.core.agent.impl.aprog.simplerule.ORCondition


        ATTRIBUTE_CAR_IN_FRONT_TIRES_SMOKING, false)));
  }

  @Test
  public void testORRule() {
    Rule r = new Rule(new ORCondition(new EQUALCondition(
        ATTRIBUTE_CAR_IN_FRONT_IS_BRAKING, true), new EQUALCondition(
        ATTRIBUTE_CAR_IN_FRONT_TIRES_SMOKING, true)),
        ACTION_EMERGENCY_BRAKING);

    Assert.assertEquals(ACTION_EMERGENCY_BRAKING, r.getAction());
View Full Code Here

TOP

Related Classes of aima.core.agent.impl.aprog.simplerule.ORCondition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.