io.github.srs.model.entity.dynamicentity.agent.truncation

Members list

Type members

Classlikes

final case class CollisionDetection() extends TerminationModel[Agent]

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class EndSimulationTruncation() extends TruncationModel[Agent]

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NeverTruncate() extends TruncationModel[Agent]

Default placeholder truncation model. Returns false for every transition — suitable as a neutral fallback.

Default placeholder truncation model. Returns false for every transition — suitable as a neutral fallback.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait StatefulTruncation[E <: Entity, S] extends TruncationModel[E]

A truncation model that maintains internal state to evaluate action outcomes.

A truncation model that maintains internal state to evaluate action outcomes.

Type parameters

E

The type of entity for which the truncation model is applicable.

S

The type of internal state maintained by the truncation model.

Attributes

Supertypes
trait TruncationModel[E]
class Object
trait Matchable
class Any
enum Truncation(val name: String)

An enumeration of available truncation models for agents.

An enumeration of available truncation models for agents.

This enum represents the different types of truncation models that can be applied to agents in the simulation. Each case corresponds to a specific truncation evaluation strategy.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait TruncationModel[E]

Defines a truncation model for evaluating the outcomes of actions performed by agents in the simulation.

Defines a truncation model for evaluating the outcomes of actions performed by agents in the simulation.

Type parameters

E

The type of entity for which the truncation model is applicable.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any