Class GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,V extends java.lang.Comparable<V>>
- java.lang.Object
-
- ai.libs.jaicore.search.problemtransformers.GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,V>
-
- All Implemented Interfaces:
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>>
- Direct Known Subclasses:
GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformerViaRDFS
,GraphSearchProblemInputToGraphSearchWithSubpathEvaluationViaUninformedness
public abstract class GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,V extends java.lang.Comparable<V>> extends java.lang.Object implements 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>>
-
-
Constructor Summary
Constructors Constructor Description GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer()
GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,V> nodeEvaluator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluatedSearchGraphPath<N,A,V>
decodeSolution(EvaluatedSearchGraphPath<N,A,V> solution)
GraphSearchWithSubpathEvaluationsInput<N,A,V>
encodeProblem(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A> problem)
org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,V>
getNodeEvaluator()
GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,V>
setNodeEvaluator(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,V> nodeEvaluator)
-
-
-
Method Detail
-
encodeProblem
public GraphSearchWithSubpathEvaluationsInput<N,A,V> encodeProblem(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A> problem)
- Specified by:
encodeProblem
in interfaceai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,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>>>
-
setNodeEvaluator
public GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,V> setNodeEvaluator(org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,V> nodeEvaluator)
-
getNodeEvaluator
public org.api4.java.ai.graphsearch.problem.pathsearch.pathevaluation.IPathEvaluator<N,A,V> getNodeEvaluator()
-
decodeSolution
public EvaluatedSearchGraphPath<N,A,V> decodeSolution(EvaluatedSearchGraphPath<N,A,V> solution)
- Specified by:
decodeSolution
in interfaceai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,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>>>
-
-