Class SameGameLazySuccessorGenerator
- java.lang.Object
-
- ai.libs.jaicore.search.exampleproblems.samegame.SameGameLazySuccessorGenerator
-
- All Implemented Interfaces:
ILazyRandomizableSuccessorGenerator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>
,org.api4.java.datastructure.graph.implicit.ILazySuccessorGenerator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>
,org.api4.java.datastructure.graph.implicit.ISuccessorGenerator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>
public class SameGameLazySuccessorGenerator extends java.lang.Object implements ILazyRandomizableSuccessorGenerator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>
-
-
Constructor Summary
Constructors Constructor Description SameGameLazySuccessorGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.api4.java.datastructure.graph.implicit.INewNodeDescription<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>>
generateSuccessors(SameGameNode node)
java.util.Iterator<org.api4.java.datastructure.graph.implicit.INewNodeDescription<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>>
getIterativeGenerator(SameGameNode n)
java.util.Iterator<org.api4.java.datastructure.graph.implicit.INewNodeDescription<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>>
getIterativeGenerator(SameGameNode n, java.util.Random random)
-
-
-
Method Detail
-
generateSuccessors
public java.util.List<org.api4.java.datastructure.graph.implicit.INewNodeDescription<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>> generateSuccessors(SameGameNode node) throws java.lang.InterruptedException
- Specified by:
generateSuccessors
in interfaceorg.api4.java.datastructure.graph.implicit.ISuccessorGenerator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>
- Throws:
java.lang.InterruptedException
-
getIterativeGenerator
public java.util.Iterator<org.api4.java.datastructure.graph.implicit.INewNodeDescription<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>> getIterativeGenerator(SameGameNode n)
- Specified by:
getIterativeGenerator
in interfaceorg.api4.java.datastructure.graph.implicit.ILazySuccessorGenerator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>
-
getIterativeGenerator
public java.util.Iterator<org.api4.java.datastructure.graph.implicit.INewNodeDescription<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>> getIterativeGenerator(SameGameNode n, java.util.Random random)
- Specified by:
getIterativeGenerator
in interfaceILazyRandomizableSuccessorGenerator<SameGameNode,ai.libs.jaicore.problems.samegame.SameGameCell>
-
-