Class DefaultPathPriorizingPredicate<N,​A>

  • All Implemented Interfaces:
    java.util.function.Predicate<N>

    public class DefaultPathPriorizingPredicate<N,​A>
    extends java.lang.Object
    implements java.util.function.Predicate<N>
    This is a node evaluator that assigns 0 to all nodes encoding (partial) compositions where each component refinement is with its default parameters. This is a somewhat cyclic component, because it needs to know the HASCO object it will advise, but it is already needed to initialize HASCO. So to use it, the hasco variable must be set after initialization.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HASCO<?,​N,​A,​?> getHasco()  
      void setHasco​(HASCO<?,​N,​A,​?> hasco)  
      boolean test​(N node)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Predicate

        and, negate, or
    • Constructor Detail

      • DefaultPathPriorizingPredicate

        public DefaultPathPriorizingPredicate()
    • Method Detail

      • test

        public boolean test​(N node)
        Specified by:
        test in interface java.util.function.Predicate<N>
      • getHasco

        public HASCO<?,​N,​A,​?> getHasco()
      • setHasco

        public void setHasco​(HASCO<?,​N,​A,​?> hasco)