|
|||||||||
| Home >> All >> com >> port80 >> graph >> dot >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.port80.graph.dot.impl
Class GridFactory.GridIterator

java.lang.Objectcom.port80.graph.dot.impl.GridFactory.GridIterator
- Enclosing class:
- GridFactory
- class GridFactory.GridIterator
- extends java.lang.Object
Iterate over Grids in a rank. GridIterator use the given path cost to determine the range of valid locations that Grid object need to be created. All created Grid object are then keep in a table with (rank,x) as key for lookup when the location (rank,x) is referenced again.
| Field Summary | |
(package private) Grid[] |
fGrids
Created Grids in this rank. |
(package private) int |
fIndex
|
(package private) int |
fR
Rank. |
(package private) int[] |
fSpaces
|
(package private) com.port80.util.struct.IntList |
fValidX
Valid X for this rank. |
(package private) VirtualVertex[] |
fVts
|
(package private) int |
fX
Start x. |
| Constructor Summary | |
GridFactory.GridIterator(int r,
int x,
float distcost)
|
|
| Method Summary | |
(package private) boolean |
hasNext()
|
(package private) Grid |
next()
Get next Grid on the right of the given 'grid'. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
fR
int fR
- Rank.
fX
int fX
- Start x.
fSpaces
int[] fSpaces
fGrids
Grid[] fGrids
- Created Grids in this rank.
fValidX
com.port80.util.struct.IntList fValidX
- Valid X for this rank.
fIndex
int fIndex
fVts
VirtualVertex[] fVts
| Constructor Detail |
GridFactory.GridIterator
public GridFactory.GridIterator(int r,
int x,
float distcost)
| Method Detail |
hasNext
boolean hasNext()
next
Grid next()
- Get next Grid on the right of the given 'grid'.
|
|||||||||
| Home >> All >> com >> port80 >> graph >> dot >> [ impl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.port80.graph.dot.impl.GridFactory.GridIterator