Documentation

Actus.Execution

def Actus.Execution.runSchedule {State : Type} (stf : Protocol.EventTypeProtocol.TimeStateState) (pof : Protocol.EventTypeProtocol.TimeStateProtocol.Payoff) (s₀ : State) (sched : Protocol.Schedule) :

Fold a functional STF/POF over an event schedule.

For each scheduled event (t, e) the payoff is computed from the current (pre-event) state, then the state is advanced by the STF.

Equations
Instances For
    Equations
    Instances For
      def Actus.Execution.finalState {State : Type} (stf : Protocol.EventTypeProtocol.TimeStateState) (s₀ : State) (sched : Protocol.Schedule) :
      State

      Final state after running the whole schedule from s₀.

      Equations
      Instances For