Class BestFirstFactory<P extends org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,A,V>,N,A,V extends java.lang.Comparable<V>>
- java.lang.Object
-
- ai.libs.jaicore.basic.algorithm.AAlgorithmFactory<I,O,A2>
-
- ai.libs.jaicore.search.core.interfaces.StandardORGraphSearchFactory<P,EvaluatedSearchGraphPath<N,A,V>,N,A,V,BestFirst<P,N,A,V>>
-
- ai.libs.jaicore.search.algorithms.standard.bestfirst.BestFirstFactory<P,N,A,V>
-
- All Implemented Interfaces:
org.api4.java.ai.graphsearch.problem.IOptimalPathInORGraphSearchFactory<P,EvaluatedSearchGraphPath<N,A,V>,N,A,V,BestFirst<P,N,A,V>>
,org.api4.java.ai.graphsearch.problem.IPathSearchFactory<P,EvaluatedSearchGraphPath<N,A,V>,N,A,BestFirst<P,N,A,V>>
,org.api4.java.algorithm.IAlgorithmFactory<P,EvaluatedSearchGraphPath<N,A,V>,BestFirst<P,N,A,V>>
,org.api4.java.algorithm.IOptimizationAlgorithmFactory<P,EvaluatedSearchGraphPath<N,A,V>,V,BestFirst<P,N,A,V>>
- Direct Known Subclasses:
AStarFactory
,StandardBestFirstFactory
,UncertaintyORGraphSearchFactory
public class BestFirstFactory<P extends org.api4.java.ai.graphsearch.problem.IPathSearchWithPathEvaluationsInput<N,A,V>,N,A,V extends java.lang.Comparable<V>> extends StandardORGraphSearchFactory<P,EvaluatedSearchGraphPath<N,A,V>,N,A,V,BestFirst<P,N,A,V>> implements org.api4.java.ai.graphsearch.problem.IOptimalPathInORGraphSearchFactory<P,EvaluatedSearchGraphPath<N,A,V>,N,A,V,BestFirst<P,N,A,V>>
-
-
Constructor Summary
Constructors Constructor Description BestFirstFactory()
BestFirstFactory(int timeoutForFInMS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BestFirst<P,N,A,V>
getAlgorithm()
BestFirst<P,N,A,V>
getAlgorithm(P problem)
java.lang.String
getLoggerName()
ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,V>,GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V>>
getReduction()
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,V>
getTimeoutEvaluator()
int
getTimeoutForFInMS()
void
setLoggerName(java.lang.String loggerName)
void
setReduction(ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,V>,GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V>> reduction)
void
setTimeoutForFComputation(int timeoutInMS, org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,V> timeoutEvaluator)
protected void
setupAlgorithm(BestFirst<P,N,A,V> algorithm)
-
-
-
Method Detail
-
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)
-
getReduction
public ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,V>,GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V>> getReduction()
-
setReduction
public void setReduction(ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,V>,GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V>> reduction)
-
-