|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITreeAlgAgent
Method Summary | |
---|---|
java.lang.reflect.Type |
getAnnoteType()
Mike, add some comments here |
IMsg |
getMsgAnnotation(ILogicVarBundle vars,
double[] arrLfState,
int nIdx)
gets the message to annotate the TreeConstraintState recieved by neighbors in TreeConstraintAgent algorithm |
java.util.Comparator<TreeConstraintState> |
getPrefComp(TreeConstraintState agentSorting)
gets a comparator for sorting ITreeAlgAgent nodes by preference |
ITreeAlgAgent |
makeCopy()
in case the agent has some internal state, this allows synchronized wrapper calls to cache a snapshot of the agent at some rational point in time. |
Methods inherited from interface IAgent |
---|
checkStateValidity, getMsgs, updateState |
Method Detail |
---|
IMsg getMsgAnnotation(ILogicVarBundle vars, double[] arrLfState, int nIdx)
vars
- logic state of this agent.arrLfState
- position of whole swarm
(requires programmer discipline to only access current robot's
position)nIdx
- index of current robot.
java.util.Comparator<TreeConstraintState> getPrefComp(TreeConstraintState agentSorting)
java.lang.reflect.Type getAnnoteType()
ITreeAlgAgent makeCopy()
makeCopy
in interface IAgent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |