Class EnhancedTTSPSuccessorGenerator
- java.lang.Object
-
- ai.libs.jaicore.search.exampleproblems.enhancedttsp.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)
-
-
-
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 interfaceorg.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 interfaceorg.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 interfaceorg.api4.java.common.control.ILoggingCustomizable
-
setLoggerName
public void setLoggerName(java.lang.String name)
- Specified by:
setLoggerName
in interfaceorg.api4.java.common.control.ILoggingCustomizable
-
-