|
STK++ 0.9.13
|
In this Page, we manage the options for the computation of the Additive BSpline regression. More...
#include <STK_AdditiveBSplineRegressionPage.h>

Public Member Functions | |
| AdditiveBSplineRegressionPage (int const &level) | |
| constructor. | |
| AdditiveBSplineRegressionPage (AdditiveBSplineRegressionPage const &page) | |
| copy constructor. | |
| virtual | ~AdditiveBSplineRegressionPage () |
| destructor. | |
| int | nbControlPoints () const |
| number of control points | |
| int | degree () const |
| degree of the BSpline | |
| Regress::KnotsPosition const & | knotsPositions () const |
| get the method for positioning the knots. | |
| virtual bool | validate () |
| validate the options. | |
| virtual AdditiveBSplineRegressionPage * | clone () const |
| Create a copy of the AdditiveBSplineRegressionPage. | |
Public Member Functions inherited from STK::IPage | |
| IPage (String const &name, int const &level, bool isOptional) | |
| Constructor. | |
| IPage (IPage const &page) | |
| Copy constructor. | |
| virtual | ~IPage () |
| Destructor. | |
| String const & | name () const |
| name of the IPage. | |
| bool | isOptional () const |
| is this Option optional ?. | |
| ContOption const & | options () const |
| get the options of the IPage | |
| String const & | msg_error () const |
| name of the IPage. | |
| Option & | option (String const &name) |
| bookkeeping function. | |
| Option const & | option (String const &name) const |
| bookkeeping function. | |
| Option const & | option (int const &pos) const |
| get the ith constant option of the IPage | |
| Option & | option (int const &pos) |
| get the ith option of the IPage | |
| Option const & | operator[] (int const &pos) const |
| get the ith constant option of the IPage | |
| Option & | operator[] (int const &pos) |
| get the ith option of the IPage | |
| void | addOption (Option const &opt) |
| add an option to the page | |
| void | addPage (IPage const &page) |
| add a sub-page as an option to the page | |
| void | read (istream &is) |
| read in options from an input steam stream | |
| void | write (ostream &os) const |
| write out options in a stream | |
Protected Attributes | |
| int | nbControlPoints_ |
| Number of control points. | |
| int | degree_ |
| degree of the splines | |
| Regress::KnotsPosition | position_ |
| positions of the knots. | |
Protected Attributes inherited from STK::IPage | |
| bool | isOptional_ |
true if the Page is optinal, false otherwise | |
| ContOption | options_ |
| array of the options | |
| String | msg_error_ |
| Contain the last error message. | |
Additional Inherited Members | |
Public Types inherited from STK::IPage | |
| typedef std::vector< Option > | ContOption |
| Container for the options. | |
In this Page, we manage the options for the computation of the Additive BSpline regression.
The AdditiveBSplineRegression page have the form
Definition at line 59 of file STK_AdditiveBSplineRegressionPage.h.
constructor.
| level | the level of the option page |
Definition at line 51 of file STK_AdditiveBSplineRegressionPage.cpp.
References _T, STK::Option::integer_, STK::IPage::options_, and STK::Option::string_.
| STK::AdditiveBSplineRegressionPage::AdditiveBSplineRegressionPage | ( | AdditiveBSplineRegressionPage const & | page | ) |
copy constructor.
| page | the page to copy |
Definition at line 73 of file STK_AdditiveBSplineRegressionPage.cpp.
|
virtual |
|
inlinevirtual |
Create a copy of the AdditiveBSplineRegressionPage.
Reimplemented from STK::IPage.
Definition at line 93 of file STK_AdditiveBSplineRegressionPage.h.
|
inline |
degree of the BSpline
Definition at line 80 of file STK_AdditiveBSplineRegressionPage.h.
References degree_.
|
inline |
get the method for positioning the knots.
Definition at line 84 of file STK_AdditiveBSplineRegressionPage.h.
References position_.
|
inline |
number of control points
Definition at line 76 of file STK_AdditiveBSplineRegressionPage.h.
References nbControlPoints_.
|
virtual |
validate the options.
Check if the values are coherent.
Reimplemented from STK::IPage.
Definition at line 85 of file STK_AdditiveBSplineRegressionPage.cpp.
References degree_, STK::IPage::msg_error_, nbControlPoints_, STK::IPage::options_, position_, STK::Regress::stringToKnotsPosition(), and STK::Regress::unknown_Knots_Position_.
|
protected |
degree of the splines
Definition at line 100 of file STK_AdditiveBSplineRegressionPage.h.
Referenced by degree(), and validate().
|
protected |
Number of control points.
Definition at line 98 of file STK_AdditiveBSplineRegressionPage.h.
Referenced by nbControlPoints(), and validate().
|
protected |
positions of the knots.
Definition at line 102 of file STK_AdditiveBSplineRegressionPage.h.
Referenced by knotsPositions(), and validate().