Package edu.wisc.game.sql
Class TrivialGameGenerator
- java.lang.Object
-
- edu.wisc.game.sql.GameGenerator
-
- edu.wisc.game.sql.TrivialGameGenerator
-
public class TrivialGameGenerator extends GameGenerator
Just keeps returning the same game every time
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.wisc.game.sql.GameGenerator
GameGenerator.Features
-
-
Constructor Summary
Constructors Constructor Description TrivialGameGenerator(RandomRG _random, Game g)
Creates a trivial generator, which keeps returning the same game
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Game
nextGame()
One more game...-
Methods inherited from class edu.wisc.game.sql.GameGenerator
advance, extraToString, getAllFeatures, getRules, getTesting, mkGameGenerator, setConditions, setConditionsFromHT, setConditionsFromParaSet, setTesting
-
-
-
-
Method Detail
-
nextGame
public Game nextGame()
One more game... always the same!- Specified by:
nextGame
in classGameGenerator
-
-