RobotActionsLogic

io.github.srs.model.logic.RobotActionsLogic
See theRobotActionsLogic companion object
trait RobotActionsLogic[S <: State]

Logic for handling robot actions proposals.

Type parameters

S

the type of the simulation state.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def handleRobotActionsProposals(s: S, proposals: List[RobotProposal]): IO[S]

Handles a list of robot action proposals and updates the simulation state accordingly.

Handles a list of robot action proposals and updates the simulation state accordingly.

Value parameters

proposals

the list of robot action proposals.

s

the current simulation state.

Attributes

Returns

an IO effect that produces the updated simulation state.