public interface Scored
Scored
interface should be implemented by objects
that return a double-valued score. There is a simple score
comparator, and scored objects are the natural wrappers of other
objects in priority queues.Modifier and Type | Method and Description |
---|---|
double |
score()
Returns the score for this object.
|