Monty.Experiment.MatchCriteria.NamedLMsMatch (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Satisfied once every named learning module has recognised an object.

Mirrors tbp/monty/experiment/match_criteria.py::NamedLMsMatch. An experiment whose answer depends on particular columns — a hierarchy where the top module must confirm what the one below it proposed — names them here, so that a match elsewhere does not end the episode.

An empty set of ids would be satisfied before anything was seen, so it is refused when the criterion is built.

Summary

Functions

A criterion that needs exactly these modules to match.

Types

t()

@type t() :: %Monty.Experiment.MatchCriteria.NamedLMsMatch{ids: MapSet.t(String.t())}

Functions

new(ids)

@spec new([String.t()]) :: {:ok, t()} | {:error, :ids_must_not_be_empty}

A criterion that needs exactly these modules to match.