public class BestFirstFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,N,A,V extends java.lang.Comparable<V>> extends StandardORGraphSearchFactory<P,EvaluatedSearchGraphPath<N,A,V>,N,A,V> implements IOptimalPathInORGraphSearchFactory<P,N,A,V>
| Constructor and Description |
|---|
BestFirstFactory() |
BestFirstFactory(int timeoutForFInMS) |
| Modifier and Type | Method and Description |
|---|---|
BestFirst<P,N,A,V> |
getAlgorithm() |
BestFirst<P,N,A,V> |
getAlgorithm(P problem) |
java.lang.String |
getLoggerName() |
INodeEvaluator<N,V> |
getTimeoutEvaluator() |
int |
getTimeoutForFInMS() |
void |
setLoggerName(java.lang.String loggerName) |
void |
setTimeoutForFComputation(int timeoutInMS,
INodeEvaluator<N,V> timeoutEvaluator) |
protected void |
setupAlgorithm(BestFirst<P,N,A,V> algorithm) |
public BestFirstFactory()
public BestFirstFactory(int timeoutForFInMS)
public BestFirst<P,N,A,V> getAlgorithm()
getAlgorithm in interface ai.libs.jaicore.basic.algorithm.IAlgorithmFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>>getAlgorithm in interface ai.libs.jaicore.basic.algorithm.IOptimizationAlgorithmFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,V extends java.lang.Comparable<V>>getAlgorithm in interface IGraphSearchFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,N,A>getAlgorithm in interface IOptimalPathInORGraphSearchFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,N,A,V extends java.lang.Comparable<V>>public void setTimeoutForFComputation(int timeoutInMS,
INodeEvaluator<N,V> timeoutEvaluator)
public int getTimeoutForFInMS()
public INodeEvaluator<N,V> getTimeoutEvaluator()
public java.lang.String getLoggerName()
public void setLoggerName(java.lang.String loggerName)
public BestFirst<P,N,A,V> getAlgorithm(P problem)
getAlgorithm in interface ai.libs.jaicore.basic.algorithm.IAlgorithmFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>>getAlgorithm in interface ai.libs.jaicore.basic.algorithm.IOptimizationAlgorithmFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,V extends java.lang.Comparable<V>>getAlgorithm in interface IGraphSearchFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,N,A>getAlgorithm in interface IOptimalPathInORGraphSearchFactory<P extends GraphSearchWithSubpathEvaluationsInput<N,A,V>,N,A,V extends java.lang.Comparable<V>>