JACK 5.4 Application Interface

aos.jack.jak.behaviors
Class SimpleBehavior

java.lang.Object
  extended byaos.jack.jak.util.Watchable
      extended byaos.jack.jak.fsm.FSM
          extended byaos.jack.jak.behaviors.Behavior
              extended byaos.jack.jak.behaviors.SimpleBehavior
All Implemented Interfaces:
BehaviorFactory, ObservableInt
Direct Known Subclasses:
BDIBehavior

public class SimpleBehavior
extends Behavior


Constructor Summary
  SimpleBehavior()
           
protected SimpleBehavior(Behavior sen)
           
 
Method Summary
protected  void addingPlan(Signature s)
           
protected  void choosingPlan(Signature s)
           
protected  void clearingApplicable()
           
protected  void clearingFailure()
           
protected  int error(int s)
           
protected  int failedPlan(int s)
           
 java.lang.String getKey()
           
protected  int initialize(int s)
           
 Behavior newInstance(Event e)
           
protected  int otherState(int state, int status)
           
protected  int passedPlan(int s)
           
protected  int pickPlan(int status)
           
protected  int postMeta(int s)
           
protected  int postPlan(int s)
           
protected  int preMeta(int s)
           
protected  int prePlan(int s)
           
protected  int processMetaSubtask(FSM t, int status)
           
protected  int processSubtask(FSM s, int status)
           
protected  void removingPlan(Signature s)
           
 int run(int status)
           
 java.lang.String stateInfo()
           
 
Methods inherited from class aos.jack.jak.behaviors.Behavior
addPlanChoice, checkAttribute, getMonitor, init_sentinel, init, init, init, setAttribute, setAttribute
 
Methods inherited from class aos.jack.jak.fsm.FSM
describe, discard, exceptionInfo, getAgent, getPreferredPriority, loadClass, remove, restart, setMode, thrownAnException, toString, traceGoal
 
Methods inherited from class aos.jack.jak.util.Watchable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleBehavior

protected SimpleBehavior(Behavior sen)

SimpleBehavior

public SimpleBehavior()
Method Detail

newInstance

public Behavior newInstance(Event e)
Specified by:
newInstance in interface BehaviorFactory
Specified by:
newInstance in class Behavior

getKey

public java.lang.String getKey()

stateInfo

public java.lang.String stateInfo()
Overrides:
stateInfo in class FSM

otherState

protected int otherState(int state,
                         int status)

run

public int run(int status)
Specified by:
run in class FSM

pickPlan

protected int pickPlan(int status)

processSubtask

protected int processSubtask(FSM s,
                             int status)

processMetaSubtask

protected int processMetaSubtask(FSM t,
                                 int status)

initialize

protected int initialize(int s)

error

protected int error(int s)

passedPlan

protected int passedPlan(int s)

failedPlan

protected int failedPlan(int s)

prePlan

protected int prePlan(int s)

postPlan

protected int postPlan(int s)

preMeta

protected int preMeta(int s)

postMeta

protected int postMeta(int s)

clearingApplicable

protected void clearingApplicable()

addingPlan

protected void addingPlan(Signature s)

choosingPlan

protected void choosingPlan(Signature s)

clearingFailure

protected void clearingFailure()

removingPlan

protected void removingPlan(Signature s)

JACK 5.4 Application Interface

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