Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
AI2048
master
Top Level Namespace
Action
Agent
AI2048
AIACO
AITD
Ant
ApproxFunc
Board
DeepNetwork
LookUpTable
NeuralNetwork
Neuron
Player
RandomEnvironment
Statistic
Record
Synapse
Built with Crystal 1.9.2
2023-10-07 15:34:52 UTC
class
LookUpTable
LookUpTable
Reference
Object
Defined in:
AI2048/lookup_table.cr
Constructors
.new
(value =
0.0
)
Instance Method Summary
#each
(b, &)
#eval
(b)
#map!
(b, &)
#to_slice
#tuning
(b, by target, rate)
Constructor Detail
def self.
new
(value =
0.0
)
#
[
View source
]
Instance Method Detail
def
each
(b, &)
#
[
View source
]
def
eval
(b)
#
[
View source
]
def
map!
(b, &)
#
[
View source
]
def
to_slice
#
[
View source
]
def
tuning
(b, by target, rate)
#
[
View source
]