StatefulTruncation

io.github.srs.model.entity.dynamicentity.agent.truncation.StatefulTruncation
trait StatefulTruncation[E <: Entity, S] extends TruncationModel[E]

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

Graph
Supertypes
trait TruncationModel[E]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

protected def compute(prev: BaseState, curr: BaseState, entity: E, action: Action[_[_]], state: S): (Boolean, S)
protected def stateManager: TruncationStateManager[E, S]

Concrete methods

final override def evaluate(prev: BaseState, curr: BaseState, entity: E, action: Action[_[_]]): Boolean

Attributes

Definition Classes