Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
2584-AI
v2.0
Top Level Namespace
Action
Agent
Board
Feature
Player
RandomEnvironment
Statistic
Record
TupleNetwork
Built with Crystal 1.9.2
2023-10-07 20:35:40 UTC
class
RandomEnvironment
RandomEnvironment
Agent
Reference
Object
Defined in:
agent.cr
Constructors
.new
(args : String =
""
)
Instance Method Summary
#engine
: Random::PCG32
#engine=
(engine : Random::PCG32)
#take_action
(b : Board)
Instance methods inherited from class
Agent
check_for_win(b : Board)
check_for_win
,
close_episode(flag : String =
""
)
close_episode
,
name
name
,
open_episode(flag : String =
""
)
open_episode
,
prop : Hash(String, String)
prop
,
prop=(prop : Hash(String, String))
prop=
,
take_action(b : Board)
take_action
Constructor methods inherited from class
Agent
new(args : String =
""
)
new
Constructor Detail
def self.
new
(args : String =
""
)
#
[
View source
]
Instance Method Detail
def
engine
: Random::PCG32
#
[
View source
]
def
engine=
(engine : Random::PCG32)
#
[
View source
]
def
take_action
(b :
Board
)
#
[
View source
]