|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectswarm.BaseImpl
swarm.objectbase.SwarmObjectImpl
InformationRuleMaster
we follow the InformationRuleMaster to deal with the news management
Field Summary | |
int[][] |
informationFlowMatrix
the matrix containing the rules to manage the information flow |
int |
receivingUnit
the number of the unit to which we have to send a news |
int |
sendingUnit
the number of the unit which is calling the InformationRuleMaster, to send a news |
Constructor Summary | |
InformationRuleMaster(swarm.defobj.Zone aZone,
int un)
constructor for InformationRuleMaster |
Method Summary | |
boolean |
checkToSendNews(int s,
int r)
the sending unit checks if the information flow to the receiving unit is or not open |
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 int sendingUnit
public int receivingUnit
public int[][] informationFlowMatrix
Constructor Detail |
public InformationRuleMaster(swarm.defobj.Zone aZone, int un)
Method Detail |
public boolean checkToSendNews(int s, int r)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |