com.intel.hadoop.graphbuilder.graph.simplegraph
Class SimpleSubGraph<VidType,VertexData,EdgeData>

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.graph.simplegraph.SimpleGraph<VidType,VertexData,EdgeData>
      extended by com.intel.hadoop.graphbuilder.graph.simplegraph.SimpleSubGraph<VidType,VertexData,EdgeData>
Type Parameters:
VidType -
VertexData -
EdgeData -
All Implemented Interfaces:
Graph<VidType,VertexData,EdgeData>

public class SimpleSubGraph<VidType,VertexData,EdgeData>
extends SimpleGraph<VidType,VertexData,EdgeData>

Represents a subpartition within a normal partition. Subgraph is designed for increasing the parallelism in the SimpleGraph serialization from GraphBuilder to GraphLab2.


Constructor Summary
SimpleSubGraph()
           
 
Method Summary
 void setSubPid(int id)
           
 int subpid()
           
 
Methods inherited from class com.intel.hadoop.graphbuilder.graph.simplegraph.SimpleGraph
addEdge, addEdges, addVertexRecord, clear, clearAdjList, clearEdataList, finalize, numEdges, numVertices, outEdgeData, outEdgeTargetIds, pid, reserveEdgeSpace, reserveVertexSpace, setPid, toString, vertices
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleSubGraph

public SimpleSubGraph()
Method Detail

setSubPid

public void setSubPid(int id)

subpid

public int subpid()