|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswarm.BaseImpl
swarm.objectbase.SwarmObjectImpl
AssigningTool
A tool to choose the unit to which we have to send an order
Field Summary | |
Unit |
aUnit
the temporary address of an existing unit |
double |
interVisibilityMinLevel
the min level of inter-visibility; below this level two units cannot exchange products; this value is not used in assignment coming from OrderGenerator |
UnitActivitySpace |
unitActivitySpace
the activity space |
swarm.collections.ListImpl |
unitList
the list of the normal units existing in our environment |
swarm.collections.ListIndex |
unitListIndex
the iterator of unitList |
Constructor Summary | |
AssigningTool(swarm.defobj.Zone aZone,
swarm.collections.ListImpl ul,
swarm.collections.ListIndex uli,
UnitActivitySpace uas,
double iv)
|
Method Summary | |
Order |
assign(Order firstOrder)
assignment from the order generator |
Order |
assign(Unit sendingUnit,
Order firstOrder)
assignment between two units |
Methods inherited from class swarm.objectbase.SwarmObjectImpl |
compare, describe, describeID, drop, getCompleteProbeMap, getDisplayName, getName, getProbeForMessage, getProbeForVariable, getProbeMap, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public swarm.collections.ListImpl unitList
public swarm.collections.ListIndex unitListIndex
public Unit aUnit
public UnitActivitySpace unitActivitySpace
public double interVisibilityMinLevel
Constructor Detail |
public AssigningTool(swarm.defobj.Zone aZone, swarm.collections.ListImpl ul, swarm.collections.ListIndex uli, UnitActivitySpace uas, double iv)
Method Detail |
public Order assign(Unit sendingUnit, Order firstOrder)
public Order assign(Order firstOrder)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |