|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSimpAgentTreeTopo
public class SimpAgentTreeTopo
| Nested Class Summary | |
|---|---|
static class |
SimpAgentTreeTopo.TreeTopoInfo
Some design needs to happen here. |
| Constructor Summary | |
|---|---|
SimpAgentTreeTopo()
|
|
| Method Summary | |
|---|---|
static SimpAgentTreeTopo.TreeTopoInfo |
getInfo(TreeConstraintState state)
|
TreeConstraintState |
getMsg(TreeConstraintState varsPrev,
int idDst)
Gets one individual IMsg to send to one specific agent. |
TreeConstraintState |
stateNext(TreeConstraintState varsPrev,
java.util.Collection<TreeConstraintState> bagMsg)
Given a collection of messages, calculates the next state of the logic variables for this agent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpAgentTreeTopo()
| Method Detail |
|---|
public static SimpAgentTreeTopo.TreeTopoInfo getInfo(TreeConstraintState state)
public TreeConstraintState getMsg(TreeConstraintState varsPrev,
int idDst)
ISimpAgent
getMsg in interface ISimpAgent<TreeConstraintState,TreeConstraintState>varsPrev - current state of this agentidDst - UID of agent to send message to
public TreeConstraintState stateNext(TreeConstraintState varsPrev,
java.util.Collection<TreeConstraintState> bagMsg)
ISimpAgent
stateNext in interface ISimpAgent<TreeConstraintState,TreeConstraintState>bagMsg - collection of messages to process (usually these should include
the id of the sending agent!!!)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||