nmmo.datastore.numpy_datastore module#
- class nmmo.datastore.numpy_datastore.NumpyDatastore#
Bases:
Datastore
- create_record(object_type: str) DatastoreRecord #
- register_object_type(object_type: str, num_colums: int)#
- class nmmo.datastore.numpy_datastore.NumpyTable(num_columns: int, initial_size: int, dtype=<class 'numpy.float32'>)#
Bases:
DataTable
- add_row() int #
- get(ids: List[int])#
- is_empty() bool #
- remove_row(row_id: int) int #
- reset()#
- update(row_id: int, col: int, value)#
- where_eq(col: int, value)#
- where_in(col: int, values: List)#
- where_neq(col: int, value)#
- window(row_idx: int, col_idx: int, row: int, col: int, radius: int)#