2 from Configurables
import (HiveWhiteBoard, HiveSlimEventLoopMgr,
3 AvalancheSchedulerSvc, AlgResourcePool,
5 ContextEventCounterPtr,
6 ContextEventCounterData,
22 EventSlots = evtslots)
40 ThreadPoolSize = algosInFlight,
54 a1.outKeys = [
'/Event/a1']
57 a2.inpKeys = [
'/Event/a1']
58 a2.outKeys = [
'/Event/a2']
61 a3.inpKeys = [
'/Event/a1']
62 a3.outKeys = [
'/Event/a3']
65 a4.inpKeys = [
'/Event/a2']
66 a4.outKeys = [
'/Event/a4']
68 for algo
in [a1, a2, a3, a4]:
70 algo.OutputLevel=DEBUG
75 algo.Cardinality = cardinality
88 EventLoop = slimeventloopmgr,
90 MessageSvcType=
"InertMessageSvc")
A class that implements a search for prime numbers.
Sequencer for executing several algorithms, stopping when one is faulty.
The AlgResourcePool is a concrete implementation of the IAlgResourcePool interface.
The Application Manager class.