Public Member Functions | Static Public Member Functions
msm_no_limiter Class Reference

No limits applied to parameters. More...

#include <msm_no_limiter.h>

Inheritance diagram for msm_no_limiter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 msm_no_limiter ()
virtual ~msm_no_limiter ()
virtual void set_param_var (const vnl_vector< double > &v)
 Define variance on each parameter. Does nothing.
virtual void set_acceptance (double prop, unsigned n_modes=0)
 Set the limits so that a given proportion pass.
virtual void apply_limit (vnl_vector< double > &b) const
 Apply limit to parameter vector b. Does nothing.
void set_n_sds (double n_sds)
 Define number of SDs to limit at.
virtual vcl_string is_a () const
 Name of the class.
virtual msm_param_limiterclone () const
 Create a copy on the heap and return base class pointer.
virtual void print_summary (vcl_ostream &os) const
 Print class to os.
virtual void b_write (vsl_b_ostream &bfs) const
 Save class to binary file stream.
virtual void b_read (vsl_b_istream &bfs)
 Load class from binary file stream.
virtual void config_from_stream (vcl_istream &is)
 Initialise from a text stream.

Static Public Member Functions

static vcl_auto_ptr
< msm_param_limiter
create_from_stream (vcl_istream &is)
 Create a concrete msm_param_limiter-derived object, from a text specification.

Detailed Description

No limits applied to parameters.

Definition at line 13 of file msm_no_limiter.h.


Constructor & Destructor Documentation

msm_no_limiter::msm_no_limiter ( )

Definition at line 11 of file msm_no_limiter.cxx.

virtual msm_no_limiter::~msm_no_limiter ( ) [inline, virtual]

Definition at line 18 of file msm_no_limiter.h.


Member Function Documentation

void msm_no_limiter::apply_limit ( vnl_vector< double > &  b) const [virtual]

Apply limit to parameter vector b. Does nothing.

Apply limit to parameter vector b (does nothing).

Implements msm_param_limiter.

Definition at line 32 of file msm_no_limiter.cxx.

void msm_no_limiter::b_read ( vsl_b_istream bfs) [virtual]

Load class from binary file stream.

Implements msm_param_limiter.

Definition at line 53 of file msm_no_limiter.cxx.

void msm_no_limiter::b_write ( vsl_b_ostream bfs) const [virtual]

Save class to binary file stream.

Implements msm_param_limiter.

Definition at line 46 of file msm_no_limiter.cxx.

msm_param_limiter * msm_no_limiter::clone ( ) const [virtual]

Create a copy on the heap and return base class pointer.

Implements msm_param_limiter.

Definition at line 75 of file msm_no_limiter.cxx.

void msm_param_limiter::config_from_stream ( vcl_istream &  is) [virtual, inherited]

Initialise from a text stream.

The default implementation is for attribute-less normalisers, and throws if it finds any data in the stream.

Reimplemented in msm_ellipsoid_limiter, and msm_box_limiter.

Definition at line 33 of file msm_param_limiter.cxx.

vcl_auto_ptr< msm_param_limiter > msm_param_limiter::create_from_stream ( vcl_istream &  is) [static, inherited]

Create a concrete msm_param_limiter-derived object, from a text specification.

Definition at line 47 of file msm_param_limiter.cxx.

vcl_string msm_no_limiter::is_a ( ) const [virtual]

Name of the class.

Implements msm_param_limiter.

Definition at line 69 of file msm_no_limiter.cxx.

void msm_no_limiter::print_summary ( vcl_ostream &  os) const [virtual]

Print class to os.

Implements msm_param_limiter.

Definition at line 38 of file msm_no_limiter.cxx.

void msm_no_limiter::set_acceptance ( double  prop,
unsigned  n_modes = 0 
) [virtual]

Set the limits so that a given proportion pass.

Does nothing.

Implements msm_param_limiter.

Definition at line 27 of file msm_no_limiter.cxx.

void msm_no_limiter::set_n_sds ( double  n_sds)

Define number of SDs to limit at.

Definition at line 16 of file msm_no_limiter.cxx.

void msm_no_limiter::set_param_var ( const vnl_vector< double > &  v) [virtual]

Define variance on each parameter. Does nothing.

Define variance on each parameter.

Implements msm_param_limiter.

Definition at line 21 of file msm_no_limiter.cxx.


The documentation for this class was generated from the following files: