aos.jack.jak.behaviors
Class RuleBehavior
java.lang.Object
aos.jack.jak.util.Watchable
aos.jack.jak.fsm.FSM
aos.jack.jak.behaviors.Behavior
aos.jack.jak.behaviors.SimpleBehavior
aos.jack.jak.behaviors.bdi.BDIBehavior
aos.jack.jak.behaviors.RuleBehavior
- All Implemented Interfaces:
- BehaviorFactory, ObservableInt
- public class RuleBehavior
- extends BDIBehavior
Methods inherited from class aos.jack.jak.behaviors.bdi.BDIBehavior |
addFailed, addPlan, addPlanChoice, computeApplicable, continueToCompute, discard, discardApplicable, failedPlan, getMonitor, getNextBinding, initialize, newApplicableSet, newFailureSet, newPlanChoice, passedPlan, pickApplicable, postSubtask, processMetaSubtask, setAttribute, shouldFail, shouldGenerate, shouldPostPlanChoice, shouldRepost, thrownAnException |
Methods inherited from class aos.jack.jak.behaviors.SimpleBehavior |
addingPlan, choosingPlan, clearingApplicable, clearingFailure, error, otherState, postMeta, postPlan, preMeta, prePlan, removingPlan, run, stateInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RuleBehavior
public RuleBehavior()
RuleBehavior
public RuleBehavior(Behavior sen)
processSubtask
public int processSubtask(FSM s,
int status)
- Overrides:
processSubtask
in class BDIBehavior
pickPlan
public int pickPlan(int status)
- Overrides:
pickPlan
in class BDIBehavior
setAttribute
public boolean setAttribute(java.lang.String attrib,
java.lang.String val)
- Overrides:
setAttribute
in class BDIBehavior
init
protected void init(Behavior sen,
Event e)
- Overrides:
init
in class BDIBehavior
newInstance
public Behavior newInstance(Event e)
- Specified by:
newInstance
in interface BehaviorFactory
- Overrides:
newInstance
in class BDIBehavior
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface BehaviorFactory
- Overrides:
getKey
in class BDIBehavior
Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd. US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.
Agent Oriented Software Pty. Ltd. http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088