Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

PenaltyFactors Struct Reference

#include <OpenMS/TRANSFORMATIONS/RAW2PEAK/OptimizePick.h>

Inheritance diagram for PenaltyFactors:

PenaltyFactorsIntensity

List of all members.


Detailed Description

Class for the penalty factors used during the optimization.

A great deviation (squared deviation) of a peak shape's position or its left or right width parameter can be penalised. In each iteration the penalty (for each peak shape) is computed by: penalty = penalty_pos * pow(p_position - old_position, 2) + penalty_lwidth * pow(p_width_l - old_width_l, 2) + penalty_rwidth * pow(p_width_r - old_width_r, 2);

Public Member Functions

 PenaltyFactors ()
 PenaltyFactors (const PenaltyFactors &p)
PenaltyFactorsoperator= (const PenaltyFactors &p)
 ~PenaltyFactors ()

Public Attributes

double pos
 Penalty factor for the peak shape's position.
double lWidth
 Penalty factor for the peak shape's left width parameter.
double rWidth
 Penalty factor for the peak shape's right width parameter.


Constructor & Destructor Documentation

PenaltyFactors (  )  [inline]

PenaltyFactors ( const PenaltyFactors p  )  [inline]

~PenaltyFactors (  )  [inline]


Member Function Documentation

PenaltyFactors& operator= ( const PenaltyFactors p  )  [inline]


Member Data Documentation

double pos

Penalty factor for the peak shape's position.

double lWidth

Penalty factor for the peak shape's left width parameter.

double rWidth

Penalty factor for the peak shape's right width parameter.


The documentation for this struct was generated from the following file:
Generated Tue Apr 1 15:36:50 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1