Class PredicateTreeAnnotator

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PredicateTreeAnnotations createPredicateTreeAnnotations​(com.yahoo.document.predicate.Predicate predicate)
      Labels the predicate tree by constructing an interval mapping for each predicate node in the tree.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createPredicateTreeAnnotations

        public static PredicateTreeAnnotations createPredicateTreeAnnotations​(com.yahoo.document.predicate.Predicate predicate)
        Labels the predicate tree by constructing an interval mapping for each predicate node in the tree.
        Parameters:
        predicate - The predicate tree.
        Returns:
        Returns a result object containing the interval mapping and the min-feature value.