~bonbon/gmcts

v2.0.0 2 years ago .tar.gz browse log

Release v2.0.0

This release includes a major change to the definition
to the Game interface. This change makes it easier to
remove GC pauses during execution, effectively making
this package run twice as fast on games like chess.

Changelog:
-Add Hash() as a required method on Game interface
-Rework action selection system with changes to Game interface
 to consider action indicies instead of slices of actions
  -Replace GetActions() []Action with Len() int
  -Replace ApplyAciton(a Action) with ApplyAction(i int)
-Add error return values for (*MCTS).BestAction()
-Update README to reflect v2.0.0 changes

v1.2.1 2 years ago .tar.gz browse log

reduce amount of IsTerminal calls

we only need to check it if a node hasn't been expanded yet

v1.2.0 2 years ago .tar.gz browse log

add SetSeed method on MCTS type

v1.1.2 2 years ago .tar.gz browse log

refactor tictactoe test

Instead of running mcts multiple times, we run it once
using a TestMain func, and save the necessary values to check
so the other tests can run.

v1.1.1 2 years ago .tar.gz browse log

use democracy to get the best action among trees

v1.1.0 2 years ago .tar.gz browse log

fix links in readme

v1.0.2 3 years ago .tar.gz browse log

remove unused createTree function

v1.0.1 3 years ago .tar.gz browse log

remove "if n == nil" condition

v1.0.0 3 years ago .tar.gz browse log

add BSD-3 License

Branches