|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisidia.simulation.process.algorithm.Algorithm
visidia.simulation.process.algorithm.SynchronousAlgorithm
visidia.simulation.process.algorithm.SensorSyncAlgorithm
public abstract class SensorSyncAlgorithm
This is the abstract base class representing a synchronous algorithm for sensors in visidia. It is the API to be used to implement new synchronous algorithms for sensors (extending SensorSyncAlgorithm class).
Field Summary |
---|
Fields inherited from class visidia.simulation.process.algorithm.Algorithm |
---|
proc |
Constructor Summary | |
---|---|
SensorSyncAlgorithm()
|
Method Summary | |
---|---|
void |
move(int sensorId)
Moves a sensor to a support vertex chosen by the mover. |
void |
moveAfterEnd(int sensorId)
Moves a sensor after algorithm end. |
Methods inherited from class visidia.simulation.process.algorithm.SynchronousAlgorithm |
---|
anyMsg, existMessage, getNextMessage, getPulse, nextPulse, receive, sendTo |
Methods inherited from class visidia.simulation.process.algorithm.Algorithm |
---|
clone, getArity, getDescription, getEdgeProperty, getId, getMessageTypeList, getNetSize, getOrientedDoors, getProperty, init, isIncomingDoor, isOutgoingDoor, putProperty, putProperty, receiveFrom, receiveFrom, run, sendAll, setDoorState, setEdgeProperty, setMessageProcess |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SensorSyncAlgorithm()
Method Detail |
---|
public final void move(int sensorId)
sensorId
- the sensor idpublic final void moveAfterEnd(int sensorId)
sensorId
- the sensor id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |