zeus.actors
Class DataRec
java.lang.Object
zeus.actors.DataRec
- All Implemented Interfaces:
- java.util.Observer
- public class DataRec
- extends java.lang.Object
- implements java.util.Observer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nAvailable
protected int nAvailable
fact
protected Fact fact
record
protected PlanRecord record
position
protected int position
available
protected java.util.Vector available
isNegative
protected boolean isNegative
DataRec
public DataRec()
DataRec
public DataRec(Fact fact,
PlanRecord record,
int precond_position)
DataRec
public DataRec(Fact fact)
add
public boolean add(ResourceItem item,
int start,
int num)
free
public void free()
update
public void update(java.util.Observable o,
java.lang.Object arg)
- Specified by:
update in interface java.util.Observer
executeNow
public boolean executeNow(ResourceDb db,
int now)
newStartTime
public void newStartTime(int start)
subtract
public DataRec subtract(PlanRecord rec,
int position,
int required)
contains
public boolean contains(ResourceItem item)
remove
protected int remove(ResourceItem item)
getPosition
public int getPosition()
getRecord
public PlanRecord getRecord()
getId
public java.lang.String getId()
available
public java.util.Vector available()
nAvailable
public int nAvailable()
getFact
public Fact getFact()
getCost
public double getCost()
getData
public Fact[] getData()
mostGeneralDescriptor
public Fact mostGeneralDescriptor()
Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.