indigoX
|
Fragment class for CherryPicker parameterisation algorithm. More...
#include <indigox/classes/athenaeum.hpp>
Public Types | |
using | AngType = stdx::triple< AtmType > |
using | AtmType = graph::MGVertex |
using | BndType = std::pair< AtmType, AtmType > |
using | DhdType = stdx::quad< AtmType > |
enum | OverlapType |
Type of overlapping vertex. More... | |
using | OverlapVertex = std::pair< OverlapType, graph::CMGVertex > |
Type used to match an overlap vertex to its type of overlap. More... | |
using | Vert = graph::MGVertex |
Public Member Functions | |
Fragment (const graph::MolecularGraph &G, std::vector< graph::MGVertex > &frag, std::vector< graph::MGVertex > &overlap) | |
Normal constructor. More... | |
Fragment (const Molecule &mol, std::vector< Atom > &frag, std::vector< Atom > &overlap) | |
const std::vector< AngType > & | GetAngles () const |
const std::vector< AtmType > & | GetAtoms () const |
const std::vector< BndType > & | GetBonds () const |
const std::vector< DhdType > & | GetDihedrals () const |
const std::vector< graph::CMGVertex > & | GetFragment () const |
const graph::CondensedMolecularGraph & | GetGraph () const |
const std::vector< OverlapVertex > & | GetOverlap () const |
const boost::dynamic_bitset & | GetSupersets () const |
bool | IsFragmentVertex (const graph::CMGVertex &v) const |
bool | IsOverlapVertex (const graph::CMGVertex &v) const |
size_t | Size () const |
Friends | |
class | Athenaeum |
class | cereal::access |
Fragment class for CherryPicker parameterisation algorithm.
using AngType = stdx::triple<AtmType> |
using AtmType = graph::MGVertex |
using DhdType = stdx::quad<AtmType> |
using OverlapVertex = std::pair<OverlapType, graph::CMGVertex> |
Type used to match an overlap vertex to its type of overlap.
using Vert = graph::MGVertex |
|
strong |
Fragment | ( | const graph::MolecularGraph & | G, |
std::vector< graph::MGVertex > & | frag, | ||
std::vector< graph::MGVertex > & | overlap | ||
) |
Normal constructor.
Constructs a fragment of the given graph from the combined fragment and overlap vertices.
G | the graph to generate fragment from. |
frag | the vertices of G that are part of the fragment. |
overlap | the vertices of G that are part of the overlap region. |
const std::vector<AngType>& GetAngles | ( | ) | const |
const std::vector<AtmType>& GetAtoms | ( | ) | const |
const std::vector<BndType>& GetBonds | ( | ) | const |
const std::vector<DhdType>& GetDihedrals | ( | ) | const |
const std::vector<graph::CMGVertex>& GetFragment | ( | ) | const |
const graph::CondensedMolecularGraph& GetGraph | ( | ) | const |
const std::vector<OverlapVertex>& GetOverlap | ( | ) | const |
const boost::dynamic_bitset& GetSupersets | ( | ) | const |
bool IsFragmentVertex | ( | const graph::CMGVertex & | v | ) | const |
bool IsOverlapVertex | ( | const graph::CMGVertex & | v | ) | const |
size_t Size | ( | ) | const |
|
friend |
|
friend |