OneShotState

class scml.oneshot.OneShotState(exogenous_input_quantity, exogenous_input_price, exogenous_output_quantity, exogenous_output_price, disposal_cost, shortfall_penalty, current_balance)[source]

Bases: object

State of a one-shot agent

Attributes Summary

current_balance

Current balance of the agent.

disposal_cost

Current unit disposal cost

exogenous_input_price

Exogenous input unit price for the current step

exogenous_input_quantity

Exogenous input quantity for the current step

exogenous_output_price

Exogenous output unit price for the current step

exogenous_output_quantity

Exogenous output quantity for the current step

shortfall_penalty

Current unit shortfall penalty

Attributes Documentation

current_balance: int

Current balance of the agent.

disposal_cost: float

Current unit disposal cost

exogenous_input_price: int

Exogenous input unit price for the current step

exogenous_input_quantity: int

Exogenous input quantity for the current step

exogenous_output_price: int

Exogenous output unit price for the current step

exogenous_output_quantity: int

Exogenous output quantity for the current step

shortfall_penalty: float

Current unit shortfall penalty