edu.ucla.structure
Class IntGraph

Object
  extended by IntGraph

public class IntGraph
extends Object


Constructor Summary
IntGraph()
           
IntGraph(int[][] neighbors)
           
 
Method Summary
 int degree(int i)
           
 int getMaxDegree()
           
 boolean isLeaf(int i)
           
 int neighborIndex(int from, int to)
           
 int[] neighbors(int i)
           
 int size()
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntGraph

public IntGraph()

IntGraph

public IntGraph(int[][] neighbors)
Method Detail

degree

public final int degree(int i)

getMaxDegree

public final int getMaxDegree()

neighbors

public final int[] neighbors(int i)

size

public final int size()

isLeaf

public final boolean isLeaf(int i)

neighborIndex

public int neighborIndex(int from,
                         int to)


Copyright 2010 UCLA Automated Reasoning Group