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

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class NoReward() extends RewardModel[Agent]

Default placeholder reward model. Returns zero for every transition — suitable as a neutral fallback.

Default placeholder reward model. Returns zero for every transition — suitable as a neutral fallback.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Phototaxis Reward Module

Phototaxis Reward Module

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
enum Reward(val name: String)

An enumeration of available reward models for agents.

An enumeration of available reward models for agents.

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

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait RewardModel[E <: Entity]

Defines a reward model for evaluating the outcomes of actions performed by entities within an environment.

Defines a reward model for evaluating the outcomes of actions performed by entities within an environment.

Type parameters

E

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait RewardStateManager[E <: Entity, S]

Manager that maintains reward states for multiple entities.

Manager that maintains reward states for multiple entities.

Attributes

Supertypes
class Object
trait Matchable
class Any
trait StatefulReward[E <: Entity, S] extends RewardModel[E]

A trait for defining stateful reward models for entities interacting with an environment.

A trait for defining stateful reward models for entities interacting with an environment.

This trait extends the RewardModel and introduces a state mechanism to maintain contextual information across evaluations, allowing for more complex reward computations based on the dynamic state of the system.

Type parameters

E

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

S

The type of the state maintained by the reward model.

Attributes

Supertypes
trait RewardModel[E]
class Object
trait Matchable
class Any
Known subtypes