Monty.Frameworks.Models.Salience.ReturnInhibitor.DecayKernelFactory (ExTbpMonty.Core v0.1.0)

Copy Markdown View Source

Makes the kernels a field is filled with, all configured alike.

Mirrors tbp/monty/frameworks/models/salience/return_inhibitor.py::DecayKernelFactory. A field needs a kernel for every place the sensor visited, and they should all decay on the same schedule, so the schedule lives here rather than at each call site.

Summary

Functions

A kernel that has just been created at location.

Types

t()

@type t() :: %Monty.Frameworks.Models.Salience.ReturnInhibitor.DecayKernelFactory{
  spatial_cutoff: float() | nil,
  tau_s: float(),
  tau_t: float(),
  w_t_min: float()
}

Functions

call(factory, location)

A kernel that has just been created at location.

new(options \\ [])

@spec new(keyword()) :: t()