com.irs.jam
Class APLElement

java.lang.Object
  |
  +--com.irs.jam.APLElement
All Implemented Interfaces:
java.io.Serializable

public class APLElement
extends java.lang.Object
implements java.io.Serializable

Represents an agent's Applicable Plans List (APL)

See Also:
Serialized Form

Field Summary
protected  Binding _binding
           
protected  Goal _fromGoal
           
protected  Plan _plan
           
 
Method Summary
 void copy(APLElement ae)
          Make a copy of the applicable plan
 double evalUtility()
          Determine the instantiated plan's utility (defined currently as goal utility + plan utility)
 Binding getBinding()
           
 Goal getFromGoal()
           
 Plan getPlan()
           
 void print(java.io.PrintStream s)
          Display information about the applicable plan
protected  void setBinding(Binding b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_plan

protected Plan _plan

_fromGoal

protected Goal _fromGoal

_binding

protected Binding _binding
Method Detail

getPlan

public Plan getPlan()

getFromGoal

public Goal getFromGoal()

getBinding

public Binding getBinding()

setBinding

protected void setBinding(Binding b)

evalUtility

public double evalUtility()
Determine the instantiated plan's utility (defined currently as goal utility + plan utility)

copy

public void copy(APLElement ae)
Make a copy of the applicable plan

print

public void print(java.io.PrintStream s)
Display information about the applicable plan