class Qsa
- Qsa
- Reference
- Object
Overview
The Q(s,a) matrix from the maths supporting q-learning extended with an extra dimension to support two players
Defined in:
qsa.crConstructors
Instance Method Summary
- #get(state, move, player) : QsaValue
- #get_qsa_value_indexed_by_player(state, move, player) : QsaValue
- #increment_sets
-
#inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
- #log_adjustment(new_q, old_q)
- #mean_adjustments
- #qsa : Hash(Int32, Hash(Int32, Hash(Int32, Float32)))
- #qsa_non_trivial
- #safe_get_move(state, move) : QsaValuesIndexedByPlayer
- #safe_get_state(state) : QsaValuesIndexedByMoveAndPlayer
- #set(state, move, player, new_q)
- #values_count
Constructor Detail
Instance Method Detail
def inspect
#
Description copied from class Object
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO)
which can be overridden for custom implementations.
Also see #to_s
.