|
QDpy
|
Snapshot of ordered cross-play and the response to each partner niche. More...
Public Member Functions | |
| select (self, niche=None, *, observations=0, min_observations=1) | |
| Pick the specialist for an observed niche or fall back to the generalist. | |
Snapshot of ordered cross-play and the response to each partner niche.
Rows are responding policies and columns are possible partner policies.
Definition at line 34 of file adhoc_cooperation.py.
| qdpy.algorithms.adhoc_cooperation.PartnerResponseTable.select | ( | self, | |
| niche = None, | |||
| * | , | ||
| observations = 0, | |||
| min_observations = 1 ) |
Pick the specialist for an observed niche or fall back to the generalist.
| niche | Grid index of the estimated partner behavior, or None. |
| observations | Number of partner observations used by the caller. |
| min_observations | Evidence required before use of a specialist. |
Return a specialist after sufficient evidence for a calibrated cell.
Definition at line 49 of file adhoc_cooperation.py.