Package org.baseagent.embodied.sensors
Class MaxSignalSensor
java.lang.Object
org.baseagent.grid.GridPosition
org.baseagent.embodied.sensors.EmbodiedSensor
org.baseagent.embodied.sensors.MaxSignalSensor
- All Implemented Interfaces:
HasGridPosition
,Sensor
A SignalSensor detects a Signal.
Example sensors:
- Light sensor
- Sound sensor
- Pheromone sensor
- Vision sensor
You can really sense a bunch of things:
- A signal in the environment
- Something physical about the environment, like the surface you're standing on, or whether you're near another agent
- Internal states
- Author:
- David Koelle
-
Constructor Summary
-
Method Summary
Methods inherited from class org.baseagent.embodied.sensors.EmbodiedSensor
getGridLayer, getLayerName
Methods inherited from class org.baseagent.grid.GridPosition
equals, getCellX, getCellY, getHeading, hashCode, setCellX, setCellY, toString
-
Constructor Details
-
MaxSignalSensor
-
-
Method Details
-
sense
- Specified by:
sense
in interfaceSensor
- Specified by:
sense
in classEmbodiedSensor
-
getDirectionPort
-
getIntensityPort
-
getSignalPort
-
connectTo
-