Class EnhancedTTSPToBinaryTelescopeGraphSearchReducer
- java.lang.Object
-
- ai.libs.jaicore.search.exampleproblems.enhancedttsp.EnhancedTTSPToBinaryTelescopeGraphSearchReducer
-
- All Implemented Interfaces:
ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP,it.unimi.dsi.fastutil.shorts.ShortList,GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String,java.lang.Double>,org.api4.java.datastructure.graph.ILabeledPath<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String>>
public class EnhancedTTSPToBinaryTelescopeGraphSearchReducer extends java.lang.Object implements ai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP,it.unimi.dsi.fastutil.shorts.ShortList,GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String,java.lang.Double>,org.api4.java.datastructure.graph.ILabeledPath<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String>>
-
-
Constructor Summary
Constructors Constructor Description EnhancedTTSPToBinaryTelescopeGraphSearchReducer()
EnhancedTTSPToBinaryTelescopeGraphSearchReducer(java.util.function.ToDoubleFunction<java.lang.Number> linkFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description it.unimi.dsi.fastutil.shorts.ShortList
decodeSolution(org.api4.java.datastructure.graph.ILabeledPath<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String> solution)
GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String,java.lang.Double>
encodeProblem(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP problem)
-
-
-
Method Detail
-
encodeProblem
public GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String,java.lang.Double> encodeProblem(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP problem)
- Specified by:
encodeProblem
in interfaceai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP,it.unimi.dsi.fastutil.shorts.ShortList,GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String,java.lang.Double>,org.api4.java.datastructure.graph.ILabeledPath<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String>>
-
decodeSolution
public it.unimi.dsi.fastutil.shorts.ShortList decodeSolution(org.api4.java.datastructure.graph.ILabeledPath<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String> solution)
- Specified by:
decodeSolution
in interfaceai.libs.jaicore.basic.algorithm.reduction.AlgorithmicProblemReduction<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP,it.unimi.dsi.fastutil.shorts.ShortList,GraphSearchWithSubpathEvaluationsInput<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String,java.lang.Double>,org.api4.java.datastructure.graph.ILabeledPath<ai.libs.jaicore.problems.enhancedttsp.AEnhancedTTSPBinaryTelescopeNode,java.lang.String>>
-
-