PartitionFunctor Class Reference

List of all members.


Detailed Description

Predicate functor for nth element partition.

Author:
Lawrence Murray <lawrence@indii.org>
Version:
Rev
Date:
Date
Internal use only, by DistributedPartitioner.

Definition at line 18 of file PartitionFunctor.hpp.


Public Member Functions

 PartitionFunctor (const DiracMixturePdf &p, const unsigned int index, const double value)
 Constructor.
virtual ~PartitionFunctor ()
 Destructor.
bool operator() (const unsigned int i)
 Apply function.

Constructor & Destructor Documentation

PartitionFunctor ( const DiracMixturePdf p,
const unsigned int  index,
const double  value 
)

Constructor.

Parameters:
p Weighted sample set.
index Dimension on which to split.
value Value on which to split.

Definition at line 5 of file PartitionFunctor.cpp.

~PartitionFunctor (  )  [virtual]

Destructor.

Definition at line 11 of file PartitionFunctor.cpp.


Member Function Documentation

bool operator() ( const unsigned int  i  )  [inline]

Apply function.

Parameters:
i Index of the component in the weighted sample set.
Returns:
True if dimension index of component i is then than value.

Definition at line 67 of file PartitionFunctor.hpp.


Generated on Wed Dec 17 15:11:58 2008 for dysii Dynamical Systems Library by  doxygen 1.5.3