edu.uci.ics.dillenco.simplegraph01
Class InputDecoder

java.lang.Object
  extended by edu.uci.ics.dillenco.simplegraph01.InputDecoder
Direct Known Subclasses:
InputDecoderAscii, InputDecoderBinary

abstract class InputDecoder
extends Object

This class and its extensiona contains the support code to do format-specific graph input. The basic model is that an input file for a graph contains a header, a node count, and a sequence of edge specs.

The class hierarchy is as follows:


Field Summary
protected  int id0
           
protected  int id1
           
protected  int neighborCount
           
protected  int[] neighborTable
           
 
Constructor Summary
InputDecoder(int inputMaxNodes)
           
 
Method Summary
(package private) abstract  void inputEdgeSpec(int i)
           
(package private) abstract  void inputHeader()
           
(package private) abstract  int inputNodeCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

neighborCount

protected int neighborCount

neighborTable

protected int[] neighborTable

id0

protected int id0

id1

protected int id1
Constructor Detail

InputDecoder

InputDecoder(int inputMaxNodes)
Method Detail

inputHeader

abstract void inputHeader()

inputNodeCount

abstract int inputNodeCount()

inputEdgeSpec

abstract void inputEdgeSpec(int i)