GraphLab Project

graphlab.library
Class Cycle<VertexType extends BaseVertex>

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

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

I think this is enough for a path;

Author:
Omid

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

Constructor Detail

Cycle

public Cycle()
Method Detail

insert

public void insert(VertexType vertex)

insert

public void insert(VertexType vertex,
                   int position)

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable

get

public VertexType get(int i)

size

public int size()

GraphLab Project