RewardStateManager

io.github.srs.model.entity.dynamicentity.agent.reward.RewardStateManager
trait RewardStateManager[E <: Entity, S]

Manager that maintains reward states for multiple entities.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def createState(): S

Concrete methods

def getOrCreateState(entityId: UUID): S
def resetAll(): Unit
def resetState(entityId: UUID): Unit
def updateState(entityId: UUID, nextState: S): Unit

Concrete fields

val states: Map[UUID, S]