|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tauzaman.calendricsystem.granularitylattice.GranularityLattice.SPElement
SPElement
class is a private inner class to
GranularityLattice
. This class encapsulates a shortest
path estimation and a predecessor object. This is used to combine the
two pieces of information needed from a shortest path algorithm.
GranularityLattice
,
GranularityLattice.LatticeNode
Field Summary | |
java.lang.Integer |
estimate
An estimation of the cost from the shortest path source to the node that owns this shortest path information. |
java.lang.Object |
predecessor
The predecessor of the node that owns this shortest path information. |
Constructor Summary | |
GranularityLattice.SPElement(java.lang.Integer estimate,
java.lang.Object predecessor)
Constructs a shortest path element. |
Method Summary | |
java.lang.String |
toString()
Returns a string representation of this shortest path element. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.Integer estimate
public java.lang.Object predecessor
Constructor Detail |
public GranularityLattice.SPElement(java.lang.Integer estimate, java.lang.Object predecessor)
estimate
- the estimation of the cost from the shortest path
source to the node that owns this shortest path
informationpredecessor
- the predecessor of the node that owns this shortest
path informationMethod Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |