|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cesr.more.testing.testutils.MTestGraphs.MTestNode
public static class MTestGraphs.MTestNode
| Field Summary | |
|---|---|
protected MNodeMeasures |
measures
|
| Constructor Summary | |
|---|---|
MTestGraphs.MTestNode()
|
|
MTestGraphs.MTestNode(int milieu)
|
|
| Method Summary | |
|---|---|
String |
getAgentId()
The agent's ID |
int |
getId()
|
int |
getMilieuGroup()
Return the milieu group index (starting with 1) |
Number |
getNetworkMeasureObject(MoreNetwork<? extends MoreNodeMeasureSupport,?> network,
MMeasureDescription key)
Returns the value-object of this vertex for the network measure identified by the network measure key with the network this measure is associated with. |
repast.simphony.context.Context<?> |
getParentContext()
Mostly the group context this agent belongs to |
void |
setNetworkMeasureObject(MoreNetwork<? extends MoreNodeMeasureSupport,?> network,
MMeasureDescription key,
Number value)
Sets the value-object of this vertex for the network measure identified by the network measure key with the network this measure is associated with. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected MNodeMeasures measures
| Constructor Detail |
|---|
public MTestGraphs.MTestNode()
public MTestGraphs.MTestNode(int milieu)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic int getId()
public Number getNetworkMeasureObject(MoreNetwork<? extends MoreNodeMeasureSupport,?> network,
MMeasureDescription key)
MoreNodeMeasureSupport
getNetworkMeasureObject in interface MoreNodeMeasureSupportnetwork - The Network the measure value to set is associated withkey - The Key that identifies the measure to set
null if the specified
measure key has not been set.MoreNodeMeasureSupport.getNetworkMeasureObject(de.cesr.more.basic.network.MoreNetwork, de.cesr.more.measures.MMeasureDescription)
public void setNetworkMeasureObject(MoreNetwork<? extends MoreNodeMeasureSupport,?> network,
MMeasureDescription key,
Number value)
MoreNodeMeasureSupport
setNetworkMeasureObject in interface MoreNodeMeasureSupportnetwork - The Network the measure value to set is associated withkey - The Key that identifies the measure to setvalue - Value-object of measure to setde.cesr.more.measures.node.MoreNodeMeasureSupport#setNetworkMeasureObject(de.cesr.more.basic.network.MoreNetwork, de.cesr.more.measures.MMeasureDescription, java.lang.Object)public int getMilieuGroup()
MoreMilieuAgent
getMilieuGroup in interface MoreMilieuAgentMoreMilieuAgent.getMilieuGroup()public repast.simphony.context.Context<?> getParentContext()
MoreMilieuAgent
getParentContext in interface MoreMilieuAgentMoreMilieuAgent.getParentContext()public String getAgentId()
MoreMilieuAgent
getAgentId in interface MoreMilieuAgentMoreMilieuAgent.getAgentId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||