public class VertexStatusForDouble<I,V> extends java.lang.Object implements VertexStatus<java.lang.String,java.lang.Double>
Constructor and Description |
---|
VertexStatusForDouble() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
Get the vertex id.
|
java.lang.Double |
getValue()
Get the vertex value (data stored with vertex)
|
void |
setId(java.lang.String id) |
void |
setValue(java.lang.Double value)
Set the vertex data (immediately visible in the computation)
|
public java.lang.String getId()
VertexStatus
getId
in interface VertexStatus<java.lang.String,java.lang.Double>
public java.lang.Double getValue()
VertexStatus
getValue
in interface VertexStatus<java.lang.String,java.lang.Double>
public void setId(java.lang.String id)
setId
in interface VertexStatus<java.lang.String,java.lang.Double>
public void setValue(java.lang.Double value)
VertexStatus
setValue
in interface VertexStatus<java.lang.String,java.lang.Double>
value
- Vertex data to be set