#include <OpenMS/ANALYSIS/DECHARGING/ILPDCWrapper.h>
List of all members.
Public Types |
| typedef std::vector< ChargePair > | PairsType |
| 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
Constructor & Destructor Documentation
Member Function Documentation
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"
slicing the problem into subproblems
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