Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
q-learning-crystal
master
Board
Game
Player
Policy
Base
QLearning
Random
WinNow
WinNowBlock
WinNowBlockNaiveLine
WinNowBlockTrap
WinRandom
Q
Learning
Crystal
Qsa
QsaValue
QsaValuesIndexedByMoveAndPlayer
QsaValuesIndexedByPlayer
QsaValuesIndexedByStateMoveAndPlayer
Series
Built with Crystal 1.9.2
2023-10-08 14:14:43 UTC
class
Player
Player
Reference
Object
Defined in:
player.cr
Constructors
.new
(policy : Policy::Base, token : String, number : Int32)
Instance Method Summary
#number
: Int32
#number=
(number : Int32)
#policy
: Policy::Base
#token
: String
Constructor Detail
def self.
new
(policy :
Policy::Base
, token : String, number : Int32)
#
[
View source
]
Instance Method Detail
def
number
: Int32
#
[
View source
]
def
number=
(number : Int32)
#
[
View source
]
def
policy
:
Policy::Base
#
[
View source
]
def
token
: String
#
[
View source
]