topsim.core.planner.Planner

class topsim.core.planner.Planner(env, cluster, model, use_task_data, use_edge_data, delay_model=None)[source]

The Planner is our interface with static scheduling algorithms. It provides an interface to other libraries and selects the library based on the provided algorithms based to the _init_. Currently, the SHADOW library is the only library that the Planner is aligned with; this may change in the future.

Parameters:
  • env (simpy.Environment) – Simulation environment object

  • cluster (Cluster) – The cluster of the simulation; necessary to pass to static scheduling algorithms

  • model (topsim.algorithm.planner.Planner) – The implemented planning model that is run by this actor

  • delay_model (topsim.core.delay.DelayModel) – The delaymodel object, to assign to each Workflow Plan task.

Attributes

env

object:~`simpy.Environment` object for the

Methods

__init__(env, cluster, model, use_task_data, ...)

run(observation, buffer, max_ingest)