Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Types | Public Member Functions | Private Types | Private Member Functions

ILPDCWrapper Class Reference

#include <OpenMS/ANALYSIS/DECHARGING/ILPDCWrapper.h>

List of all members.

Public Types

typedef std::vector< ChargePairPairsType
typedef PairsType::size_type PairsIndex

Public Member Functions

 ILPDCWrapper ()
 Constructor.
virtual ~ILPDCWrapper ()
 Destructor.
DoubleReal compute (const FeatureMap<> fm, PairsType &pairs, Size verbose_level) const

Private Types

typedef Map< String, std::set
< Size > > 
FeatureType_

Private Member Functions

DoubleReal computeSlice_ (const FeatureMap<> fm, PairsType &pairs, const PairsIndex margin_left, const PairsIndex margin_right, const Size verbose_level) const
 slicing the problem into subproblems
DoubleReal computeSliceOld_ (const FeatureMap<> fm, PairsType &pairs, const PairsIndex margin_left, const PairsIndex margin_right, const Size verbose_level) const
 slicing the problem into subproblems
DoubleReal getLogScore_ (const PairsType::value_type &pair, const FeatureMap<> &fm) const
 calculate a score for the i_th edge
void updateFeatureVariant_ (FeatureType_ &f_set, const String &rota_l, const Size &v) const

Member Typedef Documentation

typedef Map<String, std::set<Size> > FeatureType_ [private]
typedef PairsType::size_type PairsIndex
typedef std::vector<ChargePair> PairsType

Constructor & Destructor Documentation

ILPDCWrapper (  ) 

Constructor.

virtual ~ILPDCWrapper (  )  [virtual]

Destructor.


Member Function Documentation

DoubleReal compute ( const FeatureMap<>  fm,
PairsType pairs,
Size  verbose_level 
) const

Compute optimal solution and return value of objective function If the input feature map is empty, a warning is issued and -1 is returned.

Returns:
value of objective function and pairs will have all realized edges set to "active"
DoubleReal computeSlice_ ( const FeatureMap<>  fm,
PairsType pairs,
const PairsIndex  margin_left,
const PairsIndex  margin_right,
const Size  verbose_level 
) const [private]

slicing the problem into subproblems

DoubleReal computeSliceOld_ ( const FeatureMap<>  fm,
PairsType pairs,
const PairsIndex  margin_left,
const PairsIndex  margin_right,
const Size  verbose_level 
) const [private]

slicing the problem into subproblems

DoubleReal getLogScore_ ( const PairsType::value_type &  pair,
const FeatureMap<> &  fm 
) const [private]

calculate a score for the i_th edge

void updateFeatureVariant_ ( FeatureType_ f_set,
const String rota_l,
const Size v 
) const [private]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:49 using doxygen 1.7.1