ArrayStateIndexer

Very simple indexer that takes a set of max state dimensions and provides the appropriate indices in that space

 

__init__(self, dims): 

 

to_state(self, serializer=None): 

 

@classmethod
from_state(cls, data, serializer=None): 

 

to_indices(self, states): 

 

from_indices(self, indices): 

Feedback

Examples

Templates

Documentation