Package org.baseagent.network
Class NetworkBehavior<T,R>
java.lang.Object
org.baseagent.network.Network<T,R>
org.baseagent.network.NetworkBehavior<T,R>
- All Implemented Interfaces:
Behavior
,SimulationListener
,Universe
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeBehavior
(Agent agent) void
setCurrentNode
(Node<T> node) Methods inherited from class org.baseagent.network.Network
addEdge, addEdge, addNetworkListener, addNode, addNode, connectVisibleNodes, getAdjacentNodes, getEdges, getEdgesBetween, getEdgesFrom, getEdgesFrom, getEdgesTo, getEdgesTo, getNetworkListeners, getNode, getNodes, getRoot, getShortestPath, hasEdge, hasEdge, hasNode, hasNode, removeEdge, removeEdge, removeNetworkListener, removeNode, removeNode, setRoot, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.baseagent.sim.SimulationListener
onAfterStepEnded, onAfterStepStarted, onBeforeStepEnded, onBeforeStepStarted, onSimulationComponentAdded, onSimulationComponentRemoved, onSimulationEnded, onSimulationPaused, onSimulationResumed, onSimulationStarted, onSimulationStopped, onStepEnded, onStepStarted
-
Constructor Details
-
NetworkBehavior
public NetworkBehavior()
-
-
Method Details
-
getCurrentNode
-
setCurrentNode
-
executeBehavior
- Specified by:
executeBehavior
in interfaceBehavior
-