sciencegym.simulations.Simulation_SIRV module

class sciencegym.simulations.Simulation_SIRV.SIRVEnvironment(*args: Any, **kwargs: Any)

Bases: SimulationInterface, ABC

abstract apply_action(action)
get_action_space()

Return a gymnasium.spaces.Space

get_current_state()

Returns an array representing the current status of the simulation.

get_observation()
abstract get_reward()
get_state_space()

Returns a gymnasium.spaces.Space containing the ranges of the state space.

abstract is_done() bool
abstract render(mode='human')
reset()

Resets the simulation to the initial conditions and returns the initial conditions of the new environment, alongside additional information.

static run_simulation(sim: SIRVVitalDynamics, max_steps: int)

Runs the provided simulation for up to max_steps

seed(num)
step(action: numpy.ndarray)
class sciencegym.simulations.Simulation_SIRV.SIRVOneTimeVaccination(*args: Any, **kwargs: Any)

Bases: SIRVEnvironment

apply_action(action: numpy.ndarray)
get_reward()
is_done() bool
render(mode='human')