An algorithm factory (using
the factory pattern) hides the algorithm instantiation, and thus
the algorithm type, from the rest of the AMC. It employs a
strategy pattern to bind the calling API of a given algorithm
instance to a standard signature shared by all algorithm types.
This hides any differences in the underlying algorithms, and
allows the dispatcher to remain algorithm-agnostic.
Each strategized algorithm instance created by the factory
runs in a pipeline, possibly shared with other algorithms.
The pipelines employed here are object pools, another design
pattern, locked to a thread running on a dedicated core. Based
on preshot data (parameter data) from the DMC, the AMC
assigns each algorithm to a specific pipeline created from the
object pool, as shown in Fig. 3.
This unique combination of four standard design patterns,
factory, strategy, Façade, and object oool, results in a system
that can allocate and dispatch arbitrary tasks to processing
queues without any internal knowledge of the task itself. This
is a powerful generic tool with application outside of DCPS.
An algorithm factory (usingthe factory pattern) hides the algorithm instantiation, and thusthe algorithm type, from the rest of the AMC. It employs astrategy pattern to bind the calling API of a given algorithminstance to a standard signature shared by all algorithm types.This hides any differences in the underlying algorithms, andallows the dispatcher to remain algorithm-agnostic.Each strategized algorithm instance created by the factoryruns in a pipeline, possibly shared with other algorithms.The pipelines employed here are object pools, another designpattern, locked to a thread running on a dedicated core. Basedon preshot data (parameter data) from the DMC, the AMCassigns each algorithm to a specific pipeline created from theobject pool, as shown in Fig. 3.This unique combination of four standard design patterns,factory, strategy, Façade, and object oool, results in a systemthat can allocate and dispatch arbitrary tasks to processingqueues without any internal knowledge of the task itself. Thisis a powerful generic tool with application outside of DCPS.
การแปล กรุณารอสักครู่..
