|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisidia.graph.Graph
visidia.graph.SensorGraph
public class SensorGraph
A sensor is a kind of graph whose vertices move along another graph edges.
| Field Summary |
|---|
| Fields inherited from class visidia.graph.Graph |
|---|
numberOfCreatedVertices, vertices |
| Constructor Summary | |
|---|---|
SensorGraph(Graph supportGraph)
Instantiates a new sensor graph. |
|
SensorGraph(Graph supportGraph,
SensorMover sensorMover)
Instantiates a new sensor graph. |
|
| Method Summary | |
|---|---|
Sensor |
addSensorOnVertex(Vertex vertex)
Adds the sensor on vertex. |
java.lang.Object |
clone()
Returns a clone of this graph (deep copy). |
SensorMover |
getGlobalSensorMover()
Gets the global sensor mover. |
int |
getSensorCommunicationDistance()
Gets the sensor communication distance. |
Graph |
getSupportGraph()
Gets the support graph. |
void |
setGlobalSensorMover(SensorMover mover)
Sets the global sensor mover. |
| Methods inherited from class visidia.graph.Graph |
|---|
addVertex, computeDistancesFrom, createVertex, createVertex, getEdges, getNbEdges, getVertex, getVertices, order, removeVertex |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SensorGraph(Graph supportGraph)
supportGraph - the support graph
public SensorGraph(Graph supportGraph,
SensorMover sensorMover)
supportGraph - the support graphsensorMover - the sensor mover| Method Detail |
|---|
public java.lang.Object clone()
Graph
clone in class GraphObject.clone()public void setGlobalSensorMover(SensorMover mover)
mover - the new global sensor moverpublic Graph getSupportGraph()
public int getSensorCommunicationDistance()
public SensorMover getGlobalSensorMover()
public Sensor addSensorOnVertex(Vertex vertex)
vertex - the vertex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||