Class GraphSearchProblemInputToGraphSearchWithSubpathEvaluationViaUninformedness<N,A>
- java.lang.Object
-
- ai.libs.jaicore.search.problemtransformers.GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,java.lang.Double>
-
- ai.libs.jaicore.search.problemtransformers.GraphSearchProblemInputToGraphSearchWithSubpathEvaluationViaUninformedness<N,A>
-
- Type Parameters:
N- Node TypeA- Arc Type This reduction will create a problem in which each inner node is evaluated with 0.0, and each leaf node with the value given by the path evaluator. The given path evaluator is, by contract, just applicable to leaf nodes, so it is just used there, and everywhere else we use just a constant 0.0.
- All Implemented Interfaces:
ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,java.lang.Double>,GraphSearchWithSubpathEvaluationsInput<N,A,java.lang.Double>,EvaluatedSearchGraphPath<N,A,java.lang.Double>>
public class GraphSearchProblemInputToGraphSearchWithSubpathEvaluationViaUninformedness<N,A> extends GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,java.lang.Double>
-
-
Constructor Summary
Constructors Constructor Description GraphSearchProblemInputToGraphSearchWithSubpathEvaluationViaUninformedness()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphSearchWithSubpathEvaluationsInput<N,A,java.lang.Double>encodeProblem(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A> problem)-
Methods inherited from class ai.libs.jaicore.search.problemtransformers.GraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer
decodeSolution, getNodeEvaluator, setNodeEvaluator
-
-
-
-
Method Detail
-
encodeProblem
public GraphSearchWithSubpathEvaluationsInput<N,A,java.lang.Double> encodeProblem(org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A> problem)
- Specified by:
encodeProblemin interfaceai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<org.api4.java.ai.graphsearch.problem.IPathSearchInput<N,A>,EvaluatedSearchGraphPath<N,A,java.lang.Double>,GraphSearchWithSubpathEvaluationsInput<N,A,java.lang.Double>,EvaluatedSearchGraphPath<N,A,java.lang.Double>>- Overrides:
encodeProblemin classGraphSearchProblemInputToGraphSearchWithSubpathEvaluationInputTransformer<N,A,java.lang.Double>
-
-