Monty.Simulators.Synthetic.Motor (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

A motor system that always takes one small step forward.

The smallest thing that implements the ported motor system interface: it receives the first sensor module's percept and the filtered goals, and answers the actions for the next environment step — in the same vocabulary the ported policies answer in, so the world behind it does not care which of the two is driving.

Summary

Functions

Whether learning modules should sit this step out: never, for a plain step.

Forgets the previous episode's count, keeping the goals it was given.

Types

state()

@type state() :: %{steps_taken: non_neg_integer(), goals_seen: non_neg_integer()}

Functions

motor_only_step(state)

Whether learning modules should sit this step out: never, for a plain step.

new()

@spec new() :: state()

reset(state)

Forgets the previous episode's count, keeping the goals it was given.