GraphLab Project

graphlab.library
Class Path<VertexType extends BaseVertex>

java.lang.Object
  extended by graphlab.library.Path<VertexType>
Type Parameters:
VertexType -
All Implemented Interfaces:
java.lang.Iterable<VertexType>

public class Path<VertexType extends BaseVertex>
extends java.lang.Object
implements java.lang.Iterable<VertexType>

I think this is enough for a path;

Author:
Omid

Constructor Summary
Path()
           
 
Method Summary
 VertexType get(int i)
           
 void insert(VertexType vertex)
           
 void insert(VertexType vertex, int position)
           
 java.util.Iterator<VertexType> iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path()
Method Detail

insert

public void insert(VertexType vertex)

insert

public void insert(VertexType vertex,
                   int position)

iterator

public java.util.Iterator<VertexType> iterator()
Specified by:
iterator in interface java.lang.Iterable<VertexType extends BaseVertex>

get

public VertexType get(int i)

size

public int size()

GraphLab Project