MCPcopy Create free account
hub / github.com/FuchsTom/ProdSim / simulate

Method simulate

prodsim/simulator.py:36–156  ·  view source on GitHub ↗

Serves as entry point for the Blackboard when starting the simulation. First, some preconditions (e.g. setting up the tracker) are ensured and then the simulation is started via the sources and sinks.

(self, filehandler: FileHandler, sim_time: int, env: Environment, track_component: List[str],
                 progress_bar: bool, max_memory: float, bit_type: int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

handlerFunction · 0.45
iFunction · 0.45
example04.pyFile · 0.45
example02.pyFile · 0.45
example03.pyFile · 0.45

Calls 12

__activate_sourceMethod · 0.95
TrackerClass · 0.90
removeFunction · 0.85
sim_objectsMethod · 0.80
set_tracked_ordersMethod · 0.80
set_tracked_sim_objMethod · 0.80
setup_fileMethod · 0.80
processMethod · 0.80
__activate_sinkMethod · 0.80
__progress_barMethod · 0.80
cache_data_finalMethod · 0.80

Tested by

no test coverage detected