2 from Configurables
import (HiveWhiteBoard, HiveSlimEventLoopMgr,
3 ForwardSchedulerSvc, AlgResourcePool,
5 ContextEventCounterPtr,
6 ContextEventCounterData,
22 EventSlots = evtslots)
40 ThreadPoolSize = algosInFlight,
41 useGraphFlowManagement =
True,
55 a1.DataOutputs.output_0.Path =
'/Event/a1'
58 a2.DataInputs.input_0.Path =
'/Skim/a1'
59 a2.DataInputs.input_0.AlternativePaths = [
'/Event/a1']
60 a2.DataOutputs.output_0.Path =
'/Event/a2'
63 a3.DataInputs.input_0.Path =
'/Event/a1'
64 a3.DataOutputs.output_0.Path =
'/Event/a3'
67 a4.DataInputs.input_0.Path =
'/Event/a2'
68 a4.DataOutputs.output_0.Path =
'/Event/a4'
70 for algo
in [a1, a2, a3, a4]:
72 algo.OutputLevel=DEBUG
77 algo.Cardinality = cardinality
89 EventLoop = slimeventloopmgr,
91 MessageSvcType=
"InertMessageSvc")
A class that implements a search for prime numbers.
Sequencer for executing several algorithms, stopping when one is faulty.
The SchedulerSvc implements the IScheduler interface.
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.