jsat.linear.vectorcollection
Interface ScoreDT
-
- All Known Subinterfaces:
- ScoreDTLazy
public interface ScoreDT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description doublescore(IndexNode ref, IndexNode query)default doublescore(IndexNode ref, IndexNode query, double origScore)This method re-scores a given reference query node pair.
-
-
-
Method Detail
-
score
double score(IndexNode ref, IndexNode query)
- Parameters:
query-ref-- Returns:
Double.POSITIVE_INFINITYif the node should be pruned.
-
score
default double score(IndexNode ref, IndexNode query, double origScore)
This method re-scores a given reference query node pair. By default this simply returns the original score that was given and does no computation. If the given original score does not look valid (is less than zero), the score will be re-computed. Some algorithms may choose to implement this method when pruning is best done after initial depth-first traversals have already been completed of other branches.- Parameters:
ref-query-origScore-- Returns:
-
-
DataMelt 3.0 © DataMelt by jWork.ORG