BALL
1.4.1
|
#include <BALL/STRUCTURE/BONDORDERS/KGreedyBondOrderStrategy.h>
Classes | |
struct | Default |
struct | Option |
Option names. More... | |
Public Member Functions | |
KGreedyBondOrderStrategy (AssignBondOrderProcessor *parent) | |
virtual | ~KGreedyBondOrderStrategy () |
virtual void | clear () |
virtual void | init () |
virtual bool | readOptions (const Options &options) |
virtual void | setDefaultOptions () |
virtual boost::shared_ptr < BondOrderAssignment > | computeNextSolution () |
Protected Attributes | |
float | greedy_atom_type_penalty_ |
float | greedy_bond_length_penalty_ |
Size | greedy_k_ |
vector < PartialBondOrderAssignment > | greedy_set_ |
Position | current_solution_ |
int | greedy_node_expansions_ |
K-Greedy algorithm for bond order assignment.
This class implements a K-Greedy approach for the bond order assignment problem that can be used by the AssignBondOrderProcessor . The implementation of this strategy is very similar to the AStar approach and much of its functionality can be reused. We thus derive from AStarBondOrderStrategy .
Definition at line 27 of file KGreedyBondOrderStrategy.h.
virtual BALL::KGreedyBondOrderStrategy::~KGreedyBondOrderStrategy | ( | ) | [virtual] |
virtual void BALL::KGreedyBondOrderStrategy::clear | ( | ) | [virtual] |
Reimplemented from BALL::AStarBondOrderStrategy.
Reimplemented in BALL::BranchAndBoundBondOrderStrategy.
virtual boost::shared_ptr<BondOrderAssignment> BALL::KGreedyBondOrderStrategy::computeNextSolution | ( | ) | [virtual] |
Reimplemented from BALL::AStarBondOrderStrategy.
Reimplemented in BALL::BranchAndBoundBondOrderStrategy.
virtual void BALL::KGreedyBondOrderStrategy::init | ( | ) | [virtual] |
Reimplemented from BALL::AStarBondOrderStrategy.
Reimplemented in BALL::BranchAndBoundBondOrderStrategy.
virtual bool BALL::KGreedyBondOrderStrategy::readOptions | ( | const Options & | options | ) | [virtual] |
Reimplemented from BALL::AStarBondOrderStrategy.
Reimplemented in BALL::BranchAndBoundBondOrderStrategy.
virtual void BALL::KGreedyBondOrderStrategy::setDefaultOptions | ( | ) | [virtual] |
Reimplemented from BALL::AStarBondOrderStrategy.
Reimplemented in BALL::BranchAndBoundBondOrderStrategy.
Definition at line 72 of file KGreedyBondOrderStrategy.h.
Definition at line 65 of file KGreedyBondOrderStrategy.h.
Definition at line 66 of file KGreedyBondOrderStrategy.h.
Size BALL::KGreedyBondOrderStrategy::greedy_k_ [protected] |
Definition at line 68 of file KGreedyBondOrderStrategy.h.
int BALL::KGreedyBondOrderStrategy::greedy_node_expansions_ [protected] |
Definition at line 74 of file KGreedyBondOrderStrategy.h.
vector<PartialBondOrderAssignment> BALL::KGreedyBondOrderStrategy::greedy_set_ [protected] |
Definition at line 70 of file KGreedyBondOrderStrategy.h.