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) |
public Edge(VERTEX_ID sourceVertexID, EDGE_VALUE_TYPE cost)
public VERTEX_ID getDestinationVertexID()
public EDGE_VALUE_TYPE getValue()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.