Package | Description |
---|---|
org.simbrain.world.odorworld |
The world.odorworld package describes a world in which an agent can move
around and smell objects, which are coded as vectors of values which diminish in various
ways as the agent is closer or farther from the agent.
|
org.simbrain.world.odorworld.dialogs |
The odorworld.dialog package contains classes for creating and editing dialogs within Odor World.
|
org.simbrain.world.odorworld.entities |
The odorworld.entites package contains classes for managing and editing entities in Ordor World.
|
org.simbrain.world.odorworld.sensors |
The odorworld.sensors package contains classes of different types of sensors for receiving information from the Odor World envirnoment.
|
Modifier and Type | Method and Description |
---|---|
Sensor |
OdorWorld.getSensor(java.lang.String entityId,
java.lang.String sensorId)
Returns the sensor with the given id, or null if none is found.
|
Modifier and Type | Method and Description |
---|---|
void |
OdorWorld.fireSensorAdded(Sensor sensor)
Fire sensor added event.
|
void |
OdorWorld.fireSensorRemoved(Sensor sensor)
Fire sensor removed event.
|
void |
WorldListenerAdapter.sensorAdded(Sensor sensor) |
void |
WorldListener.sensorAdded(Sensor sensor)
A sensor was added.
|
void |
WorldListenerAdapter.sensorRemoved(Sensor sensor) |
void |
WorldListener.sensorRemoved(Sensor sensor)
A sensor was removed.
|
Modifier and Type | Method and Description |
---|---|
Sensor |
SensorPanel.SensorModel.getSensor(int row)
Helper method to get a reference to the sensor displayed in a row.
|
Modifier and Type | Method and Description |
---|---|
void |
SensorPanel.SensorModel.addRow(Sensor sensor)
Add a row.
|
void |
SensorPanel.SensorModel.removeSensor(Sensor sensor)
Remove a sensor from the table representation.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Sensor> |
OdorWorldEntity.getSensors() |
Modifier and Type | Method and Description |
---|---|
void |
OdorWorldEntity.addSensor(Sensor sensor)
Add a sensor.
|
void |
OdorWorldEntity.removeSensor(Sensor sensor)
Removes a sensor.
|
Modifier and Type | Method and Description |
---|---|
void |
OdorWorldEntity.setSensors(java.util.List<Sensor> sensors) |
Modifier and Type | Class and Description |
---|---|
class |
BumpSensor
Very simple bump sensor.
|
class |
Hearing
Implement a simple hearing sensor.
|
class |
SmellSensor
A sensor which is updated based on the presence of SmellSources near it.
|
class |
TileSensor
A sensor which detects whether the entity is in a given sector or "tile" of
the world.
|