edu.uci.ics.dillenco.simplegraph01
Class InputDecoder
java.lang.Object
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:
- InputDecoder
- InputDecoderAscii
- InputDecoderMDAscii
- InputDecoderPTAscii
- InputDecoderBin
- InputDecoderMDBin
- InputDecoderPTBin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
neighborCount
protected int neighborCount
neighborTable
protected int[] neighborTable
id0
protected int id0
id1
protected int id1
InputDecoder
InputDecoder(int inputMaxNodes)
inputHeader
abstract void inputHeader()
inputNodeCount
abstract int inputNodeCount()
inputEdgeSpec
abstract void inputEdgeSpec(int i)