|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.imgfmt.app.net.TableA
public class TableA
Table A that contains road information for segments in one RouteCenter. Each arc starting from a node in the RouteCenter has an associated entry in Table A, shared by the inverse arc for internal arcs. This entry consists of some routing parameters and a link to the road in NET.
Constructor Summary | |
---|---|
TableA()
|
Method Summary | |
---|---|
void |
addArc(RouteArc arc)
Add an arc to the table if not present and set its index. |
byte |
getIndex(RouteArc arc)
Retrieve an arc's index. |
byte |
getNumberOfItems()
Retrieve the size of the table as byte. |
int |
numFerryArcs()
|
int |
numUnpavedArcs()
|
int |
size()
Retrieve the size of the Table as an int. |
void |
write(ImgFileWriter writer)
This is called first to reserve enough space. |
void |
writePost(ImgFileWriter writer)
Fill in the table once the NET offsets of the roads are known. |
void |
writePost(ImgFileWriter writer,
uk.me.parabola.imgfmt.app.net.TableA.Arc arc)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableA()
Method Detail |
---|
public void addArc(RouteArc arc)
public byte getIndex(RouteArc arc)
public int size()
public int numUnpavedArcs()
public int numFerryArcs()
public byte getNumberOfItems()
public void write(ImgFileWriter writer)
public void writePost(ImgFileWriter writer)
public void writePost(ImgFileWriter writer, uk.me.parabola.imgfmt.app.net.TableA.Arc arc)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |