amaze.simu.controllers.tabular

Classes

TabularController(robot_data, epsilon, seed)

class amaze.simu.controllers.tabular.TabularController(
robot_data: BuildData,
epsilon,
seed,
actions=[(1, 0), (0, 1), (-1, 0), (0, -1)],
)[source]
greedy_action(state: ndarray)[source]

Requests the best possible action (without exploration)

_save_to_archive(
archive: ZipFile,
*args,
**kwargs,
) bool[source]

Re-implement to save derived-specific content to the archive

classmethod _load_from_archive(
archive: ZipFile,
robot: BuildData,
*args,
**kwargs,
) TabularController[source]

Re-implement to load derived-specific content from the archive.

static inputs_types() List[InputType][source]

Specify what kind of inputs this controller can handle.

Abstract method that should be implemented and documented.

static outputs_types() List[OutputType][source]

Specify what kind of outputs this controller can handle.

Abstract method that should be implemented and documented.

static assert_equal(
lhs: TabularController,
rhs: TabularController,
)[source]

Re-implement for savable controllers to test for successful roundtrip