|
STK++ 1.0
|
Abstract base class for all classes having. More...
#include <STK_IRunnerRef2D.h>


Public Member Functions | |
| virtual | ~IRunnerRef2D () |
| destructor | |
| TContainer2D const & | data () const |
| get the data set | |
| virtual void | setData (TContainer2D const &data) |
| set the data set. | |
| virtual bool | run ()=0 |
| run the weighted computations. | |
| virtual bool | run (typename TContainer2D::TContainerVe const &weights)=0 |
| run the weighted computations. | |
Protected Member Functions | |
| IRunnerRef2D (TContainer2D const &data) | |
| default constructor | |
| IRunnerRef2D (IRunnerRef2D const &runner) | |
| copy constructor | |
| virtual void | update () |
| update the runner. | |
Protected Attributes | |
| TContainer2D const * | p_data_ |
| A pointer on the original data set. | |
Abstract base class for all classes having.
methods on a 2D data set. The data set is not copied. There is just a pointer on the data set.
Definition at line 56 of file STK_IRunnerRef2D.h.
| STK::IRunnerRef2D< TContainer2D >::IRunnerRef2D | ( | TContainer2D const & | data | ) | [inline, protected] |
| STK::IRunnerRef2D< TContainer2D >::IRunnerRef2D | ( | IRunnerRef2D< TContainer2D > const & | runner | ) | [inline, protected] |
copy constructor
Definition at line 64 of file STK_IRunnerRef2D.h.
: IRunnerBase(runner) , p_data_(runner.p_data_) { }
| virtual STK::IRunnerRef2D< TContainer2D >::~IRunnerRef2D | ( | ) | [inline, virtual] |
| TContainer2D const& STK::IRunnerRef2D< TContainer2D >::data | ( | ) | const [inline] |
get the data set
Definition at line 76 of file STK_IRunnerRef2D.h.
Referenced by STK::IRunnerRef2D< Matrix >::setData().
{ return *p_data_;}
| virtual void STK::IRunnerRef2D< TContainer2D >::setData | ( | TContainer2D const & | data | ) | [inline, virtual] |
set the data set.
| data | The data set to run |
Definition at line 81 of file STK_IRunnerRef2D.h.
Referenced by STK::LinearAAModel::run().
| virtual bool STK::IRunnerRef2D< TContainer2D >::run | ( | ) | [pure virtual] |
run the weighted computations.
| weights | the weights of the samples |
true if no error occur during the running process, false otherwise Implements STK::IRunnerBase.
Implemented in STK::LinearAAModel, and STK::ILinearReduct.
Referenced by STK::IAAModel::reduction().
| virtual bool STK::IRunnerRef2D< TContainer2D >::run | ( | typename TContainer2D::TContainerVe const & | weights | ) | [pure virtual] |
run the weighted computations.
| weights | the weights of the samples |
true if no error occur during the running process, false otherwise | virtual void STK::IRunnerRef2D< TContainer2D >::update | ( | ) | [inline, protected, virtual] |
update the runner.
This virtual method will be called when the state of the runner will change, i.e. when a new data set is set. By default do nothing.
Reimplemented in STK::LocalVariance.
Definition at line 107 of file STK_IRunnerRef2D.h.
Referenced by STK::IRunnerRef2D< Matrix >::setData().
{}
TContainer2D const* STK::IRunnerRef2D< TContainer2D >::p_data_ [protected] |
A pointer on the original data set.
Definition at line 102 of file STK_IRunnerRef2D.h.
Referenced by STK::IRunnerRef2D< Matrix >::data(), and STK::IRunnerRef2D< Matrix >::setData().