io.github.srs.model.entity.dynamicentity.agent.termination
Members list
Type members
Classlikes
Generic termination model for collision detection.
Generic termination model for collision detection.
Episode termination (FAILURE) when the agent collides with an obstacle (proximity sensor < threshold). This is reusable for any task where collision indicates failure: phototaxis, obstacle avoidance, navigation, safe exploration, etc.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TerminationModel[Agent]class Objecttrait Matchableclass AnyShow all
A termination condition that ends an agent’s exploration when a given percentage of the environment has been visited.
A termination condition that ends an agent’s exploration when a given percentage of the environment has been visited.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TerminationModel[Agent]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TerminationModel[Agent]class Objecttrait Matchableclass AnyShow all
Default placeholder termination model. Returns false for every transition — suitable as a neutral fallback.
Default placeholder termination model. Returns false for every transition — suitable as a neutral fallback.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TerminationModel[Agent]class Objecttrait Matchableclass AnyShow all
Represents the state for an exploration-based termination condition. Tracks which cells in the environment have been visited by an agent.
Represents the state for an exploration-based termination condition. Tracks which cells in the environment have been visited by an agent.
Value parameters
- visitedCells
-
mutable set of visited cell coordinates represented as (x, y) tuples
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Default placeholder termination model. Returns false for every transition — suitable as a neutral fallback.
Default placeholder termination model. Returns false for every transition — suitable as a neutral fallback.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait TerminationModel[Agent]class Objecttrait Matchableclass AnyShow all
A termination model that maintains internal state to evaluate action outcomes.
A termination model that maintains internal state to evaluate action outcomes.
Type parameters
- E
-
The type of entity for which the termination model is applicable.
- S
-
The type of internal state maintained by the termination model.
Attributes
- Supertypes
- Known subtypes
-
class CoverageTermination
An enumeration of available termination models for agents.
An enumeration of available termination models for agents.
This enum represents the different types of termination models that can be applied to agents in the simulation. Each case corresponds to a specific termination evaluation strategy.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Defines a termination model for evaluating the outcomes of actions performed by agents in the simulation.
Defines a termination model for evaluating the outcomes of actions performed by agents in the simulation.
Type parameters
- E
-
The type of entity for which the termination model is applicable.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CollisionDetectionclass CrashedOrReachedclass EndSimulationTerminationclass NeverTerminateclass CoverageTerminationclass CollisionDetectionShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any