net.sourceforge.jsl
Interface ScoringSearch
- All Superinterfaces:
- Search
- All Known Implementing Classes:
- AbstractScoringSearch
- public interface ScoringSearch
- extends Search
Interface for a scoring search on a graph. By adding scores to nodes more subtle search
strategies like A*
can be implemented.
Method Summary |
double |
score(SearchNode node)
Calculates the score of the given node. |
score
public double score(SearchNode node)
- Calculates the score of the given node. The score indicates the preference for the expansion
of a specidic node, the lower the score, the better.
- Parameters:
node
- the node to calculate the score for
- Returns:
- the score for the node in double precision
Copyright © 2003-2004 Henrik Heine, Oliver Zeigermann. All Rights Reserved.