com.mindfusion.graphs
Class Vertex

java.lang.Object
  extended by com.mindfusion.graphs.Vertex

public class Vertex
extends java.lang.Object


Field Summary
 int index
           
 
Constructor Summary
Vertex()
           
 
Method Summary
 boolean AdjacentTo(Vertex vertex)
           
 int getDegree()
           
 java.util.ArrayList<Edge> getEdges()
           
 java.util.ArrayList<Edge> getInEdges()
           
 java.util.ArrayList<Edge> getOutEdges()
           
 boolean IncidentWith(Edge edge)
           
 void RemoveEdge(Edge edge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int index
Constructor Detail

Vertex

public Vertex()
Method Detail

RemoveEdge

public void RemoveEdge(Edge edge)

IncidentWith

public boolean IncidentWith(Edge edge)

AdjacentTo

public boolean AdjacentTo(Vertex vertex)

getEdges

public java.util.ArrayList<Edge> getEdges()

getInEdges

public java.util.ArrayList<Edge> getInEdges()

getOutEdges

public java.util.ArrayList<Edge> getOutEdges()

getDegree

public int getDegree()