BALL
1.4.1
|
#include <BALL/STRUCTURE/BONDORDERS/ILPBondOrderStrategy.h>
Public Member Functions | |
ILPBondOrderStrategy (AssignBondOrderProcessor *parent) | |
virtual | ~ILPBondOrderStrategy () |
virtual void | clear () |
virtual void | init () |
virtual bool | readOptions (const Options &options) |
virtual void | setDefaultOptions () |
virtual boost::shared_ptr < BondOrderAssignment > | computeNextSolution () |
Protected Attributes | |
bool | valid_ |
std::vector< Bond * > | index_to_free_bond_ |
Position | number_of_free_bonds_ |
float | const_penalty_ |
bool | first_solution_ |
lprec * | ilp_ |
ILP algorithm for bond order assignment.
This class implements an Integer Linear Programming approach for the bond order assignment problem that can be used by the AssignBondOrderProcessor .
Definition at line 23 of file ILPBondOrderStrategy.h.
virtual BALL::ILPBondOrderStrategy::~ILPBondOrderStrategy | ( | ) | [virtual] |
virtual void BALL::ILPBondOrderStrategy::clear | ( | ) | [virtual] |
Reimplemented from BALL::BondOrderAssignmentStrategy.
virtual boost::shared_ptr<BondOrderAssignment> BALL::ILPBondOrderStrategy::computeNextSolution | ( | ) | [virtual] |
Implements BALL::BondOrderAssignmentStrategy.
virtual void BALL::ILPBondOrderStrategy::init | ( | ) | [virtual] |
Implements BALL::BondOrderAssignmentStrategy.
virtual bool BALL::ILPBondOrderStrategy::readOptions | ( | const Options & | options | ) | [virtual] |
Reimplemented from BALL::BondOrderAssignmentStrategy.
virtual void BALL::ILPBondOrderStrategy::setDefaultOptions | ( | ) | [virtual] |
Reimplemented from BALL::BondOrderAssignmentStrategy.
float BALL::ILPBondOrderStrategy::const_penalty_ [protected] |
Definition at line 49 of file ILPBondOrderStrategy.h.
bool BALL::ILPBondOrderStrategy::first_solution_ [protected] |
Definition at line 52 of file ILPBondOrderStrategy.h.
lprec* BALL::ILPBondOrderStrategy::ilp_ [protected] |
Definition at line 55 of file ILPBondOrderStrategy.h.
std::vector<Bond*> BALL::ILPBondOrderStrategy::index_to_free_bond_ [protected] |
Definition at line 43 of file ILPBondOrderStrategy.h.
Definition at line 46 of file ILPBondOrderStrategy.h.
bool BALL::ILPBondOrderStrategy::valid_ [protected] |
Definition at line 39 of file ILPBondOrderStrategy.h.