BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Classes | Public Member Functions | Protected Attributes
BALL::KGreedyBondOrderStrategy Class Reference

#include <BALL/STRUCTURE/BONDORDERS/KGreedyBondOrderStrategy.h>

Inheritance diagram for BALL::KGreedyBondOrderStrategy:
BALL::AStarBondOrderStrategy BALL::BondOrderAssignmentStrategy BALL::BranchAndBoundBondOrderStrategy

List of all members.

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_

Detailed Description

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.


Constructor & Destructor Documentation


Member Function Documentation

virtual void BALL::KGreedyBondOrderStrategy::clear ( ) [virtual]
virtual void BALL::KGreedyBondOrderStrategy::init ( ) [virtual]
virtual bool BALL::KGreedyBondOrderStrategy::readOptions ( const Options options) [virtual]

Member Data Documentation

Definition at line 72 of file KGreedyBondOrderStrategy.h.

Definition at line 65 of file KGreedyBondOrderStrategy.h.

Definition at line 66 of file KGreedyBondOrderStrategy.h.

Definition at line 68 of file KGreedyBondOrderStrategy.h.

Definition at line 74 of file KGreedyBondOrderStrategy.h.

Definition at line 70 of file KGreedyBondOrderStrategy.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines