public final class Edge<VERTEX_ID extends org.apache.hadoop.io.Writable,EDGE_VALUE_TYPE extends org.apache.hadoop.io.Writable> extends Object
| Constructor and Description |
|---|
Edge(VERTEX_ID sourceVertexID,
EDGE_VALUE_TYPE cost) |
Edge(VERTEX_ID sourceVertexID,
String destinationPeer,
EDGE_VALUE_TYPE cost) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationPeerName() |
VERTEX_ID |
getDestinationVertexID() |
EDGE_VALUE_TYPE |
getValue() |
String |
toString() |
public Edge(VERTEX_ID sourceVertexID, EDGE_VALUE_TYPE cost)
public Edge(VERTEX_ID sourceVertexID, String destinationPeer, EDGE_VALUE_TYPE cost)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.