T - V - public class AlternativeNodeEvaluator<T,V extends java.lang.Comparable<V>> extends DecoratingNodeEvaluator<T,V> implements ai.libs.jaicore.basic.ILoggingCustomizable
| Constructor and Description |
|---|
AlternativeNodeEvaluator(INodeEvaluator<T,V> ne1,
INodeEvaluator<T,V> ne2) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesPrimaryNodeEvaluatorReportSolutions() |
V |
f(Node<T,?> node) |
java.lang.String |
getLoggerName() |
void |
registerSolutionListener(java.lang.Object listener) |
boolean |
reportsSolutions()
default implementation that is just correct with respect to the decorated node evaluator.
|
boolean |
requiresGraphGenerator()
default implementation that is just correct with respect to the decorated node evaluator.
|
void |
setGenerator(GraphGenerator<T,?> generator) |
void |
setLoggerName(java.lang.String name) |
java.lang.String |
toString() |
cancelActiveTasks, doesDecoratedEvaluatorReportSolutions, getEvaluator, isDecoratedEvaluatorCancelable, isDecoratedEvaluatorGraphDependentpublic AlternativeNodeEvaluator(INodeEvaluator<T,V> ne1, INodeEvaluator<T,V> ne2)
public boolean requiresGraphGenerator()
DecoratingNodeEvaluatorrequiresGraphGenerator in interface IPotentiallyGraphDependentNodeEvaluator<T,V extends java.lang.Comparable<V>>requiresGraphGenerator in class DecoratingNodeEvaluator<T,V extends java.lang.Comparable<V>>public boolean doesPrimaryNodeEvaluatorReportSolutions()
public boolean reportsSolutions()
DecoratingNodeEvaluatorreportsSolutions in interface IPotentiallySolutionReportingNodeEvaluator<T,V extends java.lang.Comparable<V>>reportsSolutions in class DecoratingNodeEvaluator<T,V extends java.lang.Comparable<V>>public void setGenerator(GraphGenerator<T,?> generator)
setGenerator in interface IPotentiallyGraphDependentNodeEvaluator<T,V extends java.lang.Comparable<V>>setGenerator in class DecoratingNodeEvaluator<T,V extends java.lang.Comparable<V>>public void registerSolutionListener(java.lang.Object listener)
registerSolutionListener in interface IPotentiallySolutionReportingNodeEvaluator<T,V extends java.lang.Comparable<V>>registerSolutionListener in class DecoratingNodeEvaluator<T,V extends java.lang.Comparable<V>>public V f(Node<T,?> node) throws NodeEvaluationException, java.lang.InterruptedException
f in interface INodeEvaluator<T,V extends java.lang.Comparable<V>>f in class DecoratingNodeEvaluator<T,V extends java.lang.Comparable<V>>NodeEvaluationExceptionjava.lang.InterruptedExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getLoggerName()
getLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablegetLoggerName in class DecoratingNodeEvaluator<T,V extends java.lang.Comparable<V>>public void setLoggerName(java.lang.String name)
setLoggerName in interface ai.libs.jaicore.basic.ILoggingCustomizablesetLoggerName in class DecoratingNodeEvaluator<T,V extends java.lang.Comparable<V>>