Monty.Frameworks.Environments.PositioningProcedures.PositioningProcedureFactory behaviour (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Where a procedure comes from, given the object an episode is about.

Mirrors tbp/monty/frameworks/environments/positioning_procedures.py::PositioningProcedureFactory. A factory exists because the target object is only known when the episode starts: the scene decides which semantic id is the target, and the procedure has to be built for it.

Summary

Callbacks

A procedure for the object with this semantic id, as {module, state}.

Callbacks

create(factory, target_semantic_id)

@callback create(factory :: term(), target_semantic_id :: integer()) :: {module(), term()}

A procedure for the object with this semantic id, as {module, state}.