Documentation of 'jsat.linear.vectorcollection.ScoreDTLazy' Java class
ScoreDTLazy
jsat.linear.vectorcollection

Interface ScoreDTLazy

  • All Superinterfaces:
    ScoreDT


    public interface ScoreDTLazy
    extends ScoreDT
    • Method Detail

      • score

        double score(IndexNode ref,
                     IndexNode query,
                     double origScore)
        Description copied from interface: ScoreDT
        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.
        Specified by:
        score in interface ScoreDT
        Returns:
      • score

        default double score(IndexNode ref,
                             IndexNode query)
        Specified by:
        score in interface ScoreDT
        Returns:
        Double.POSITIVE_INFINITY if the node should be pruned.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.