BALL
1.4.2
|
#include <BALL/STRUCTURE/kekulizer.h>
Classes | |
struct | AtomInfo |
Public Member Functions | |
Kekuliser () | |
virtual | ~Kekuliser () |
bool | setup (Molecule &ac) |
void | setAromaticRings (const std::vector< std::set< Atom * > > &rings) |
void | setRings (const std::vector< std::set< Atom * > > &rings) |
const std::vector< Bond * > & | getUnassignedBonds () const |
void | clear () |
void | dump () |
void | setUseFormalCharges (bool state) |
bool | useFormalCharges () const |
Protected Member Functions | |
bool | fixAromaticRings_ () |
void | fixAromaticSystem_ (Position it) |
virtual Size | getPenalty_ (Atom &atom, Index charge) |
void | getMaximumValence_ () |
void | calculateAromaticSystems_ () |
void | collectSystems_ (Atom &atom) |
void | collectAromaticAtoms_ () |
bool | hasAromaticBonds_ (Atom &atom) |
void | applySolution_ (Position pos) |
Position | calculateDistanceScores_ () |
Protected Attributes | |
bool | use_formal_charges_ |
std::vector< std::set< Atom * > > | aromatic_systems_ |
std::vector< std::set< Atom * > > | aromatic_rings_ |
std::vector< std::set< Atom * > > | rings_ |
std::vector< Bond * > | unassigned_bonds_ |
std::set< const Atom * > | aromatic_atoms_ |
std::set< const Atom * > | all_aromatic_atoms_ |
HashMap< Atom *, Index > | max_valence_ |
std::set< Atom * > | current_aromatic_system_ |
std::vector< AtomInfo > | atom_infos_ |
Molecule * | molecule_ |
Size | lowest_penalty_ |
Size | current_penalty_ |
std::vector< std::vector < AtomInfo > > | solutions_ |
Class to transform bonds with type "aromatic" to conjugated single and double bonds.
Useage:
Definition at line 37 of file kekulizer.h.
BALL::Kekuliser::Kekuliser | ( | ) |
|
inlinevirtual |
Definition at line 79 of file kekulizer.h.
|
protected |
|
protected |
|
protected |
void BALL::Kekuliser::clear | ( | ) |
|
protected |
|
protected |
void BALL::Kekuliser::dump | ( | ) |
|
protected |
|
protected |
|
protected |
|
inline |
Definition at line 91 of file kekulizer.h.
|
inline |
Definition at line 85 of file kekulizer.h.
|
inline |
Definition at line 88 of file kekulizer.h.
|
inline |
Definition at line 100 of file kekulizer.h.
|
inline |
Definition at line 103 of file kekulizer.h.
|
protected |
Definition at line 130 of file kekulizer.h.
|
protected |
Definition at line 129 of file kekulizer.h.
|
protected |
Definition at line 124 of file kekulizer.h.
|
protected |
Definition at line 123 of file kekulizer.h.
|
protected |
Definition at line 136 of file kekulizer.h.
|
protected |
Definition at line 133 of file kekulizer.h.
|
protected |
Definition at line 139 of file kekulizer.h.
|
protected |
Definition at line 138 of file kekulizer.h.
Definition at line 131 of file kekulizer.h.
|
protected |
Definition at line 137 of file kekulizer.h.
|
protected |
Definition at line 125 of file kekulizer.h.
|
protected |
Definition at line 141 of file kekulizer.h.
|
protected |
Definition at line 126 of file kekulizer.h.
|
protected |
Definition at line 121 of file kekulizer.h.