|
STK++ 0.9.13
|
In this Page, we manage the options for the computation of the LocalVariance. More...
#include <STK_LocalVariancePage.h>

Public Member Functions | |
| LocalVariancePage () | |
| default constructor | |
| LocalVariancePage (int const &level) | |
| constructor with a given level. | |
| LocalVariancePage (LocalVariancePage const &page) | |
| copy constructor. | |
| virtual | ~LocalVariancePage () |
| destructor. | |
| virtual LocalVariancePage * | clone () const |
| clone pattern | |
| Reduct::TypeGraph | typeGraph () const |
| get the type of graph | |
| int | nbNeighbor () const |
| virtual bool | validate () |
| validate the options. | |
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 | |
Private Attributes | |
| Reduct::TypeGraph | type_ |
| type of the graph to compute | |
| int | nbNeighbor_ |
| number of neighbors of each individual in the graph. | |
Additional Inherited Members | |
Public Types inherited from STK::IPage | |
| typedef std::vector< Option > | ContOption |
| Container for the options. | |
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. | |
In this Page, we manage the options for the computation of the LocalVariance.
The LocalVariance page have the form
Definition at line 58 of file STK_LocalVariancePage.h.
| STK::LocalVariancePage::LocalVariancePage | ( | ) |
default constructor
Definition at line 50 of file STK_LocalVariancePage.cpp.
References _T, STK::Option::integer_, STK::IPage::options_, and STK::Option::string_.
Referenced by clone().
constructor with a given level.
| level | the level of the page |
Definition at line 66 of file STK_LocalVariancePage.cpp.
References _T, STK::Option::integer_, STK::IPage::options_, and STK::Option::string_.
| STK::LocalVariancePage::LocalVariancePage | ( | LocalVariancePage const & | page | ) |
copy constructor.
| page | the page to copy |
Definition at line 82 of file STK_LocalVariancePage.cpp.
|
virtual |
|
inlinevirtual |
clone pattern
Reimplemented from STK::IPage.
Definition at line 76 of file STK_LocalVariancePage.h.
References LocalVariancePage().
|
inline |
Definition at line 86 of file STK_LocalVariancePage.h.
References nbNeighbor_.
|
inline |
get the type of graph
Definition at line 82 of file STK_LocalVariancePage.h.
References type_.
|
virtual |
validate the options.
Check if the values are coherent.
true if the options are correct, false otherwise. Reimplemented from STK::IPage.
Definition at line 92 of file STK_LocalVariancePage.cpp.
References STK::IPage::msg_error_, nbNeighbor_, STK::IPage::options_, STK::Reduct::stringToTypeGraph(), type_, and STK::Reduct::unknown_graph_.
|
private |
number of neighbors of each individual in the graph.
Definition at line 96 of file STK_LocalVariancePage.h.
Referenced by nbNeighbor(), and validate().
|
private |
type of the graph to compute
Definition at line 94 of file STK_LocalVariancePage.h.
Referenced by typeGraph(), and validate().