Class Graph

java.lang.Object
  |
  +--Graph

public class Graph
extends java.lang.Object

Abstrakter Datentyp Graph mit den Methoden number, insert, reset, moreNeighbors, nextNeighbor


Field Summary
private  Liste[] g
           
 
Constructor Summary
Graph(int n)
           
 
Method Summary
 void insert(int i, int j)
           
 boolean moreNeighbors(int i)
           
 int nextNeighbor(int i)
           
 int number()
           
 void reset()
           
 void reset(int i)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

g

private Liste[] g
Constructor Detail

Graph

public Graph(int n)
Method Detail

number

public int number()

insert

public void insert(int i,
                   int j)

reset

public void reset(int i)

reset

public void reset()

moreNeighbors

public boolean moreNeighbors(int i)

nextNeighbor

public int nextNeighbor(int i)