JACK 5.4 Application Interface

aos.jack.jak.event
Class PlanChoice

java.lang.Object
  extended byaos.jack.jak.util.Watchable
      extended byaos.jack.jak.fsm.FSM
          extended byaos.jack.jak.event.Event
              extended byaos.jack.jak.event.PlanChoice
All Implemented Interfaces:
ObservableInt

public class PlanChoice
extends Event

The base class PlanChoice exents. Can be used to allow meta-level reasoning.


Field Summary
 ApplicableSet applicable
          the applicable set for the event.
 Signature chosen
          Which plan (actually plan signature) has been chosen.
 Event event
          The event for which we are to choice a plan for
 FailureSet failure
          The set of plans that have been tried and failed
 
Fields inherited from class aos.jack.jak.event.Event
behavior, priority, relevant, task
 
Constructor Summary
PlanChoice()
           
PlanChoice(Event e, ApplicableSet as, FailureSet fs)
           
 
Method Summary
 PlanChoice newInstance(Event e, ApplicableSet as, FailureSet fs)
           
 
Methods inherited from class aos.jack.jak.event.Event
computeFirstApplicable, dump, getEventName, getVariable, getVariable, getVariableValue, getVariableValue, gotException, init_sentinel, isFailed, isPassed, isRunning, remove, stateInfo, variableNames, variableTypes
 
Methods inherited from class aos.jack.jak.fsm.FSM
describe, discard, exceptionInfo, getAgent, getPreferredPriority, init, loadClass, restart, run, 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
 

Field Detail

event

public Event event
The event for which we are to choice a plan for


applicable

public ApplicableSet applicable
the applicable set for the event.


failure

public FailureSet failure
The set of plans that have been tried and failed


chosen

public Signature chosen
Which plan (actually plan signature) has been chosen. Used to pass back the choice to the behaviour.

Constructor Detail

PlanChoice

public PlanChoice()

PlanChoice

public PlanChoice(Event e,
                  ApplicableSet as,
                  FailureSet fs)
Method Detail

newInstance

public PlanChoice newInstance(Event e,
                              ApplicableSet as,
                              FailureSet fs)

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