class alphatwirl.loop.Collector(resultsCombinationMethod, deliveryMethod=None)[source]

This class collects results, i.e., this class combines results of readers and deliver them.

Methods for combination and delivery are specified at the instantiation.

Readers are typically instances of the same class initialized in the same way. Each reader reads a data set..

The method collect is called with a list of pairs of a data set and a reader after the event loop. It returns the combined results.

__init__(resultsCombinationMethod, deliveryMethod=None)[source]


__init__(resultsCombinationMethod[, …])