public class GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,V extends java.lang.Comparable<V>> extends java.lang.Object implements ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<GraphSearchWithPathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V>,GraphSearchWithSubpathEvaluationsInput<N,A,V>,EvaluatedSearchGraphPath<N,A,V>>
| Constructor and Description |
|---|
GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer() |
GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer(INodeEvaluator<N,V> nodeEvaluator) |
| Modifier and Type | Method and Description |
|---|---|
EvaluatedSearchGraphPath<N,A,V> |
decodeSolution(EvaluatedSearchGraphPath<N,A,V> solution) |
GraphSearchWithSubpathEvaluationsInput<N,A,V> |
encodeProblem(GraphSearchWithPathEvaluationsInput<N,A,V> problem) |
INodeEvaluator<N,V> |
getNodeEvaluator() |
void |
setNodeEvaluator(INodeEvaluator<N,V> nodeEvaluator) |
public GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer()
public GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer(INodeEvaluator<N,V> nodeEvaluator)
public GraphSearchWithSubpathEvaluationsInput<N,A,V> encodeProblem(GraphSearchWithPathEvaluationsInput<N,A,V> problem)
encodeProblem in interface ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<GraphSearchWithPathEvaluationsInput<N,A,V extends java.lang.Comparable<V>>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,GraphSearchWithSubpathEvaluationsInput<N,A,V extends java.lang.Comparable<V>>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>>public void setNodeEvaluator(INodeEvaluator<N,V> nodeEvaluator)
public INodeEvaluator<N,V> getNodeEvaluator()
public EvaluatedSearchGraphPath<N,A,V> decodeSolution(EvaluatedSearchGraphPath<N,A,V> solution)
decodeSolution in interface ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<GraphSearchWithPathEvaluationsInput<N,A,V extends java.lang.Comparable<V>>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>,GraphSearchWithSubpathEvaluationsInput<N,A,V extends java.lang.Comparable<V>>,EvaluatedSearchGraphPath<N,A,V extends java.lang.Comparable<V>>>