Uses of Class
net.royalur.rules.simple.fast.FastSimpleGame
Packages that use FastSimpleGame
Package
Description
-
Uses of FastSimpleGame in net.royalur.agent.utility
Methods in net.royalur.agent.utility with parameters of type FastSimpleGameModifier and TypeMethodDescriptionfloatUtilityFunction.scoreGame(FastSimpleGame game) Scores the state of the game numerically, where a positive value represents that the current player is advantaged, and a negative value represents that the waiting player is advantaged.floatPiecesAdvancedUtilityFn.scoreGameStateForLight(FastSimpleGame game) abstract floatUtilityFunction.scoreGameStateForLight(FastSimpleGame game) Scores the state of the game numerically, where a positive value represents that light is advantaged, and a negative value represents that dark is advantaged. -
Uses of FastSimpleGame in net.royalur.lut
Methods in net.royalur.lut with parameters of type FastSimpleGameModifier and TypeMethodDescriptionlongFinkelGameStateEncoding.encodeGameState(FastSimpleGame game) longGameStateEncoding.encodeGameState(FastSimpleGame game) Encode the given game state to a binary key.longSimpleGameStateEncoding.encodeGameState(FastSimpleGame game) default longGameStateEncoding.encodeSymmetricalGameState(FastSimpleGame game, FastSimpleGame tempGame) Encode the given game state to a binary key that is always encoded as the light player.doubleLut.getLightWinPercent(FastSimpleGame game) Assumes that the game is using symmetrical paths.doubleLut.getLightWinPercent(FastSimpleGame game, FastSimpleGame tempGame) Assumes that the game is using symmetrical paths.doubleLut.updateLightWinPercent(FastSimpleGame game, double winPercent) -
Uses of FastSimpleGame in net.royalur.rules.simple
Methods in net.royalur.rules.simple that return FastSimpleGame -
Uses of FastSimpleGame in net.royalur.rules.simple.fast
Methods in net.royalur.rules.simple.fast that return FastSimpleGameModifier and TypeMethodDescriptionFastSimpleGame.reversePlayers(FastSimpleGame output) Copies the state of this game with the players swapped.Methods in net.royalur.rules.simple.fast with parameters of type FastSimpleGameModifier and TypeMethodDescriptionvoidFastSimpleGame.copyFrom(FastSimpleGame other) static StringFastSimpleMoveList.moveToString(FastSimpleGame game, int pathIndex) FastSimpleGame.reversePlayers(FastSimpleGame output) Copies the state of this game with the players swapped.FastSimpleMoveList.toString(FastSimpleGame game) Method parameters in net.royalur.rules.simple.fast with type arguments of type FastSimpleGameModifier and TypeMethodDescriptionintFastSimpleFlags.countStates(Function<FastSimpleGame, Boolean> gameFilter) voidFastSimpleFlags.loopLightGameStates(Consumer<FastSimpleGame> gameConsumer) Only loops through game states where it is light's turn.voidFastSimpleFlags.loopLightGameStatesAndNeighbours(BiConsumer<FastSimpleGame, Collection<FastSimpleGame>> consumer) voidFastSimpleFlags.loopLightGameStatesAndNeighbours(BiConsumer<FastSimpleGame, Collection<FastSimpleGame>> consumer) voidFastSimpleFlags.loopLightGameStatesAndRolls(TriConsumer<FastSimpleGame, Integer, Collection<FastSimpleGame>> consumer) voidFastSimpleFlags.loopLightGameStatesAndRolls(TriConsumer<FastSimpleGame, Integer, Collection<FastSimpleGame>> consumer)