Class BestFirstFactory<P extends org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,​A,​V>,​N,​A,​V extends java.lang.Comparable<V>>

    • Constructor Detail

      • BestFirstFactory

        public BestFirstFactory()
      • BestFirstFactory

        public BestFirstFactory​(int timeoutForFInMS)
    • Method Detail

      • getAlgorithm

        public BestFirst<P,​N,​A,​V> getAlgorithm()
        Specified by:
        getAlgorithm in interface org.api4.java.algorithm.IAlgorithmFactory<P extends org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,​A,​V>,​N,​A>
      • setTimeoutForFComputation

        public void setTimeoutForFComputation​(int timeoutInMS,
                                              org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V> timeoutEvaluator)
      • getTimeoutForFInMS

        public int getTimeoutForFInMS()
      • getTimeoutEvaluator

        public org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,​A,​V> getTimeoutEvaluator()
      • getLoggerName

        public java.lang.String getLoggerName()
      • setLoggerName

        public void setLoggerName​(java.lang.String loggerName)
      • getAlgorithm

        public BestFirst<P,​N,​A,​V> getAlgorithm​(P problem)
        Specified by:
        getAlgorithm in interface org.api4.java.algorithm.IAlgorithmFactory<P extends org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,​A,​V>,​N,​A>
      • setupAlgorithm

        protected void setupAlgorithm​(BestFirst<P,​N,​A,​V> algorithm)