Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | List of all members
ILPDCWrapper Class Reference

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

Public Types

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

Public Member Functions

 ILPDCWrapper ()
 Constructor. More...
 
virtual ~ILPDCWrapper ()
 Destructor. More...
 
double compute (const FeatureMap fm, PairsType &pairs, Size verbose_level) const
 

Private Types

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

Private Member Functions

double computeSlice_ (const FeatureMap fm, PairsType &pairs, const PairsIndex margin_left, const PairsIndex margin_right, const Size verbose_level) const
 slicing the problem into subproblems More...
 
double computeSliceOld_ (const FeatureMap fm, PairsType &pairs, const PairsIndex margin_left, const PairsIndex margin_right, const Size verbose_level) const
 slicing the problem into subproblems More...
 
double getLogScore_ (const PairsType::value_type &pair, const FeatureMap &fm) const
 calculate a score for the i_th edge More...
 
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

Constructor.

virtual ~ILPDCWrapper ( )
virtual

Destructor.

Member Function Documentation

double 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"
double 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

double 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

double 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 2.0.0 Documentation generated on Tue Nov 1 2016 16:34:46 using doxygen 1.8.11