K - graph ID typepublic interface BinaryResult<K> extends Serializable
GraphAlgorithm result for a pair vertices.| Modifier and Type | Interface and Description |
|---|---|
static class |
BinaryResult.MirrorResult<T,RT extends BinaryResult<T>>
Output each input and a second result with the vertex order flipped.
|
| Modifier and Type | Method and Description |
|---|---|
K |
getVertexId0()
Get the first vertex ID.
|
K |
getVertexId1()
Get the second vertex ID.
|
void |
setVertexId0(K vertexId0)
Set the first vertex ID.
|
void |
setVertexId1(K vertexId1)
Set the second vertex ID.
|
K getVertexId0()
void setVertexId0(K vertexId0)
vertexId0 - new vertex IDK getVertexId1()
void setVertexId1(K vertexId1)
vertexId1 - new vertex IDCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.