Class EnhancedTTSPSuccessorGenerator

  • All Implemented Interfaces:
    org.api4.java.common.control.ILoggingCustomizable, org.api4.java.datastructure.graph.implicit.ILazySuccessorGenerator<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>, org.api4.java.datastructure.graph.implicit.ISuccessorGenerator<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>

    public class EnhancedTTSPSuccessorGenerator
    extends java.lang.Object
    implements org.api4.java.datastructure.graph.implicit.ILazySuccessorGenerator<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>, org.api4.java.common.control.ILoggingCustomizable
    • Constructor Summary

      Constructors 
      Constructor Description
      EnhancedTTSPSuccessorGenerator​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP problem)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      NodeExpansionDescription<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String> generateSuccessor​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState n, short destination)  
      java.util.List<org.api4.java.datastructure.graph.implicit.INewNodeDescription<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>> generateSuccessors​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState node)  
      java.util.Iterator<org.api4.java.datastructure.graph.implicit.INewNodeDescription<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>> getIterativeGenerator​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState node)  
      java.lang.String getLoggerName()  
      void setLoggerName​(java.lang.String name)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnhancedTTSPSuccessorGenerator

        public EnhancedTTSPSuccessorGenerator​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSP problem)
    • Method Detail

      • generateSuccessors

        public java.util.List<org.api4.java.datastructure.graph.implicit.INewNodeDescription<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>> generateSuccessors​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState node)
                                                                                                                                                                                          throws java.lang.InterruptedException
        Specified by:
        generateSuccessors in interface org.api4.java.datastructure.graph.implicit.ISuccessorGenerator<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>
        Throws:
        java.lang.InterruptedException
      • generateSuccessor

        public NodeExpansionDescription<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String> generateSuccessor​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState n,
                                                                                                                                          short destination)
                                                                                                                                   throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getIterativeGenerator

        public java.util.Iterator<org.api4.java.datastructure.graph.implicit.INewNodeDescription<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>> getIterativeGenerator​(ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState node)
        Specified by:
        getIterativeGenerator in interface org.api4.java.datastructure.graph.implicit.ILazySuccessorGenerator<ai.libs.jaicore.problems.enhancedttsp.EnhancedTTSPState,​java.lang.String>
      • getLoggerName

        public java.lang.String getLoggerName()
        Specified by:
        getLoggerName in interface org.api4.java.common.control.ILoggingCustomizable
      • setLoggerName

        public void setLoggerName​(java.lang.String name)
        Specified by:
        setLoggerName in interface org.api4.java.common.control.ILoggingCustomizable