method. When
the command event occurs, that object's appropriate
method is invoked.
Method Summary |
void |
agentDead(int agentId,
VisidiaEvent event)
Agent dead. |
void |
agentMoved(int agentId,
Vertex origin,
Vertex destination,
VisidiaEvent event)
Agent moved. |
void |
edgePropertyChanged(Edge edge,
VisidiaProperty property)
Edge property changed. |
void |
edgeStateChanged(EdgeState newEdgeState,
Vertex v1,
Vertex v2)
Edge state changed. |
void |
messageSent(int senderId,
int receiverId,
Message msg,
VisidiaEvent event)
Message sent. |
void |
nodePropertyChanged(int vertexId,
VisidiaProperty property)
Node property changed. |
void |
pulseChanged(ProcessType sender,
int pulse)
Pulse changed. |
void |
simulationTerminated()
Simulation terminated. |
messageSent
void messageSent(int senderId,
int receiverId,
Message msg,
VisidiaEvent event)
- Message sent.
- Parameters:
senderId
- the sender idreceiverId
- the receiver idmsg
- the messageevent
- the event
edgeStateChanged
void edgeStateChanged(EdgeState newEdgeState,
Vertex v1,
Vertex v2)
- Edge state changed.
- Parameters:
newEdgeState
- the new edge statev1
- the first vertexv2
- the second vertex
nodePropertyChanged
void nodePropertyChanged(int vertexId,
VisidiaProperty property)
- Node property changed.
- Parameters:
vertexId
- the vertex idproperty
- the property
edgePropertyChanged
void edgePropertyChanged(Edge edge,
VisidiaProperty property)
- Edge property changed.
- Parameters:
edge
- the edgeproperty
- the property
simulationTerminated
void simulationTerminated()
- Simulation terminated.
agentMoved
void agentMoved(int agentId,
Vertex origin,
Vertex destination,
VisidiaEvent event)
- Agent moved.
- Parameters:
agentId
- the agent idorigin
- the origindestination
- the destinationevent
- the event
agentDead
void agentDead(int agentId,
VisidiaEvent event)
- Agent dead.
- Parameters:
agentId
- the agent idevent
- the event
pulseChanged
void pulseChanged(ProcessType sender,
int pulse)
- Pulse changed.
- Parameters:
sender
- the senderpulse
- the pulse