|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cesr.more.basic.agent.MAbstractNetworkAgent<A,E>
public abstract class MAbstractNetworkAgent<A,E extends MoreEdge<? super A>>
MORe
| Field Summary | |
|---|---|
protected MNodeMeasures |
measures
|
protected MoreAgentNetworkComp<A,E> |
netComp
|
| Constructor Summary | |
|---|---|
MAbstractNetworkAgent()
constructor |
|
| Method Summary | |
|---|---|
MoreNetwork<A,E> |
getMainNetwork()
|
MoreNetwork<A,E> |
getNetwork(String name)
|
MoreAgentNetworkComp<A,E> |
getNetworkComp()
|
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. |
Collection<MoreNetwork<A,E>> |
getNetworks()
|
abstract A |
getThis()
Must be implemented in subclasses when the agent type parameter gets concrete. |
void |
setMainNetwork(MoreNetwork<A,E> network)
|
void |
setNetwork(MoreNetwork<A,E> network)
Registers the given network by the given network's name (network.getName()). |
void |
setNetworkComp(MoreAgentNetworkComp<A,E> component)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected MoreAgentNetworkComp<A,E extends MoreEdge<? super A>> netComp
protected MNodeMeasures measures
| Constructor Detail |
|---|
public MAbstractNetworkAgent()
env - | Method Detail |
|---|
public abstract A getThis()
public MoreAgentNetworkComp<A,E> getNetworkComp()
getNetworkComp in interface MoreNetworkAgent<A,E extends MoreEdge<? super A>>LaraAgent.getLaraComp()public void setNetworkComp(MoreAgentNetworkComp<A,E> component)
setNetworkComp in interface MoreNetworkAgent<A,E extends MoreEdge<? super A>>de.cesr.more.lara.agent.LaraSimpleNetworkAgent#setLaraNetworkComp(de.cesr.more.basic.agent.MoreAgentNetworkComp)public MoreNetwork<A,E> getNetwork(String name)
getNetwork in interface MoreAgentNetworkComp<A,E extends MoreEdge<? super A>>MoreAgentNetworkComp.getNetwork(java.lang.String)public void setNetwork(MoreNetwork<A,E> network)
MoreAgentNetworkComp
setNetwork in interface MoreAgentNetworkComp<A,E extends MoreEdge<? super A>>MoreAgentNetworkComp.setNetwork(de.cesr.more.basic.network.MoreNetwork)public Collection<MoreNetwork<A,E>> getNetworks()
getNetworks in interface MoreAgentNetworkComp<A,E extends MoreEdge<? super A>>MoreAgentNetworkComp.getNetworks()public void setMainNetwork(MoreNetwork<A,E> network)
setMainNetwork in interface MoreAgentNetworkComp<A,E extends MoreEdge<? super A>>MoreAgentNetworkComp.setMainNetwork(de.cesr.more.basic.network.MoreNetwork)public MoreNetwork<A,E> getMainNetwork()
getMainNetwork in interface MoreAgentNetworkComp<A,E extends MoreEdge<? super A>>MoreAgentNetworkComp.getMainNetwork()
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 setMoreNodeMeasureSupport.setNetworkMeasureObject(de.cesr.more.basic.network.MoreNetwork,
de.cesr.more.measures.MMeasureDescription, java.lang.Number)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||