7.1.1.1. __init__

Dispatcher.__init__(dmap=None, name='', default_values=None, raises=False, description='', stopper=None)[source]

Initializes the dispatcher.

Parameters:
  • dmap (networkx.DiGraph, optional) – A directed graph that stores data & functions parameters.
  • name (str, optional) – The dispatcher’s name.
  • default_values (dict[str, dict], optional) – Data node default values. These will be used as input if it is not specified as inputs in the ArciDispatch algorithm.
  • raises (bool, optional) – If True the dispatcher interrupt the dispatch when an error occur, otherwise it logs a warning.
  • description (str, optional) – The dispatcher’s description.
  • stopper (threading.Event, optional) – A semaphore to abort the dispatching.