QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.qd_self_play.QDSelfPlayContext Class Reference

Information supplied to the strategy proposal callback. More...

Detailed Description

Information supplied to the strategy proposal callback.

Store one observed matchup and similar strategies for the side to mutate.

:ivar role: Index of the side for which a strategy is requested.
:ivar parents: Sampled pair, in fixed role-0, role-1 order.
:ivar payoffs: Observed scores for the sampled pair, in role order.
:ivar neighbors: Up to k other archived strategies near the active parent.

Definition at line 20 of file qd_self_play.py.


The documentation for this class was generated from the following file: