io.github.srs.model.entity.dynamicentity.agent
Members list
Packages
Type members
Classlikes
final case class Agent(id: UUID = ..., position: Point2D = ..., shape: Circle = ..., orientation: Orientation = ..., actuators: Seq[Actuator[Agent]] = ..., sensors: Vector[Sensor[Agent, Environment]] = ..., reward: Reward = ..., termination: Termination = ..., truncation: Truncation = ..., lastAction: Option[Action[IO]] = ..., visitedCountPositions: Map[(Int, Int), Double] = ..., aliveSteps: Int = ..., didCollide: Boolean = ...) extends DynamicEntity
An [[Agent]] is a controllable dynamic entity with no internal policy. Its actions originate from an external controller.
An [[Agent]] is a controllable dynamic entity with no internal policy. Its actions originate from an external controller.
Value parameters
- actuators
-
The sequence of actuators that enables the agent to interact with the environment.
- id
-
The unique identifier for this agent. Defaults to a randomly generated UUID.
- orientation
-
The orientation of the agent within the 2D space.
- position
-
The position of the agent in 2D space, represented as a Point2D.
- sensors
-
The set of sensors that allows the agent to perceive its surroundings in the environment.
- shape
-
The shape of the agent, represented as a ShapeType.Circle with a default radius.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DynamicEntitytrait Entityclass Objecttrait Matchableclass AnyShow all
In this article