|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Documents the interface for creating a NodeScoreCacheItem implementation.
Details:
Change History:
Created on Feb 17, 2005
Method Summary | |
void |
assignNodeScoreHashItem(int nodeID,
int[][] parentIDlist,
double nodeScore)
Assigns a cached item using the underlying parameters that describe it. |
boolean |
equals(java.lang.Object otherObj)
|
int |
getHashCode()
|
int |
getHashCode(int nodeID,
int[][] parentIDlist)
|
int |
getNodeID()
|
double |
getNodeScore()
|
boolean |
hasIdenticalParentList(int[][] listToCheck)
|
Method Detail |
public void assignNodeScoreHashItem(int nodeID, int[][] parentIDlist, double nodeScore)
nodeID
- The node ID of the item.parentIDlist
- The list of parent IDs of the item.nodeScore
- The nodeScore of the item.public int getHashCode()
public int getHashCode(int nodeID, int[][] parentIDlist)
nodeID
- The node ID of the item.parentIDlist
- The list of parent IDs of the item.
public boolean equals(java.lang.Object otherObj)
public double getNodeScore()
public int getNodeID()
public boolean hasIdenticalParentList(int[][] listToCheck)
listToCheck
- The list of parent IDs to compare with.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |