class Tensai::Agents::Sensor

Agent sensor

Public Instance Methods

process_input(input) click to toggle source

Process input from environment and produce percepts. (see percepts)

@param input Sensoric input from the environment

# File lib/tensai/agents/sensor.rb, line 22
def process_input(input) # rubocop:disable Lint/UnusedMethodArgument
  raise NotImplementedError
end
retrieve_percepts() click to toggle source

Retrieve new percepts produced by recent sensor input. Each percept is only returned once.

@return [Enumerable] List of percepts

# File lib/tensai/agents/sensor.rb, line 32
def retrieve_percepts
  raise NotImplementedError
end