In file No file:

template <class DestIterator> DestIterator SelectClusters (ConstIterator sourceBegin, ConstIterator sourceEnd, DestIterator dest, int threshold, const TimeWindow& window = TimeWindow (1.), const Condition& cond = Condition::True())

Cluster analysis

Documentation

Selects the events which fullfill the event coincidence condition. The coincidence order is selected by the window iterator.

Example:

    // Find all clusters which consist of at least 3 events
    // within a time window of 1s, and add them to s2.
    Set s1 ("input.xml");
    Set s2;
    SelectClusters (s1.Begin(), s1.End(),
                    back_inserter (s2), 3, 1.0);
    

Returns:
End iterator of stored events
Parameters:
sourceBegin - Start iterator to pick events from
sourceEnd - End iterator to pick events from
dest - Output iterator to store events
threshold - Minimum number of events to be considered a cluster
window - Conicidence window in sec
cond - Event condition

alphabetic index hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++