Interface IPotentiallySolutionReportingPathEvaluator<T,​A,​V extends java.lang.Comparable<V>>

  • Type Parameters:
    T -
    V -
    All Superinterfaces:
    org.api4.java.common.attributedobjects.IGetter<org.api4.java.datastructure.graph.IPath<T,​A>,​V>, org.api4.java.common.attributedobjects.IObjectEvaluator<org.api4.java.datastructure.graph.IPath<T,​A>,​V>, IPathEvaluator<T,​A,​V>

    public interface IPotentiallySolutionReportingPathEvaluator<T,​A,​V extends java.lang.Comparable<V>>
    extends IPathEvaluator<T,​A,​V>
    This interface suggests that the node evaluator MAY report solutions that he finds under a node. However, not every such solution NEEDS to be reported. In particular, algorithms using solution reports must anticipate that solutions are found that were not already reported by the node evaluator.
    • Method Detail

      • registerSolutionListener

        void registerSolutionListener​(java.lang.Object listener)
      • reportsSolutions

        boolean reportsSolutions()