GraphLab Project

graphlab.graph.graph
Class SubGraph

java.lang.Object
  extended by graphlab.graph.graph.SubGraph

public class SubGraph
extends java.lang.Object

Author:
azin azadi

Field Summary
 java.util.HashSet<EdgeModel> edges
           
 GraphModel graph
           
 java.lang.String label
           
 java.util.HashSet<VertexModel> vertices
           
 
Constructor Summary
SubGraph()
          using this constructor the selected graph will be considered as the default graph in the blackboard
SubGraph(GraphModel graph)
           
 
Method Summary
 java.util.ArrayList<VertexModel> getNeighbors(VertexModel v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

graph

public GraphModel graph

vertices

public java.util.HashSet<VertexModel> vertices

edges

public java.util.HashSet<EdgeModel> edges

label

public java.lang.String label
Constructor Detail

SubGraph

public SubGraph(GraphModel graph)

SubGraph

public SubGraph()
using this constructor the selected graph will be considered as the default graph in the blackboard

Method Detail

getNeighbors

public java.util.ArrayList<VertexModel> getNeighbors(VertexModel v)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

GraphLab Project