Class 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 Detail

      • EnhancedTTSPToBinaryTelescopeGraphSearchReducer

        public EnhancedTTSPToBinaryTelescopeGraphSearchReducer()
      • EnhancedTTSPToBinaryTelescopeGraphSearchReducer

        public EnhancedTTSPToBinaryTelescopeGraphSearchReducer​(java.util.function.ToDoubleFunction<java.lang.Number> linkFunction)
    • 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 interface 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>>
      • 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 interface 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>>