Information on links between substituents of a central atom. More...
#include <RankingInformation.h>
Public Member Functions | |
Special member functions | |
| Link () | |
| Default constructor. More... | |
| Link (std::pair< SiteIndex, SiteIndex > siteIndices, std::vector< AtomIndex > sequence, AtomIndex source) | |
| Constructor from data without established invariants. More... | |
Modification | |
| void | applyPermutation (const std::vector< AtomIndex > &permutation) |
| Apply an index permutation to this object. Re-establishes invariants. More... | |
Operators | |
| bool | operator== (const Link &other) const |
| Performs a lexicographical comparison on both data members. | |
| bool | operator!= (const Link &other) const |
| Performs a lexicographical comparison on both data members. | |
| bool | operator< (const Link &other) const |
| Performs a lexicographical comparison on both data members. | |
Data Fields | |
Data members | |
| std::pair< SiteIndex, SiteIndex > | sites |
| An (asc) ordered pair of the site indices that are linked. | |
| std::vector< AtomIndex > | cycleSequence |
| The in-order atom sequence of the cycle atom indices. More... | |
Information on links between substituents of a central atom.
| Scine::Molassembler::RankingInformation::Link::Link | ( | ) |
Default constructor.
| Scine::Molassembler::RankingInformation::Link::Link | ( | std::pair< SiteIndex, SiteIndex > | siteIndices, |
| std::vector< AtomIndex > | sequence, | ||
| AtomIndex | source | ||
| ) |
Constructor from data without established invariants.
Complexity \(\Theta(N)\)
| void Scine::Molassembler::RankingInformation::Link::applyPermutation | ( | const std::vector< AtomIndex > & | permutation | ) |
Apply an index permutation to this object. Re-establishes invariants.
Complexity \(\Theta(N)\)
| std::vector<AtomIndex> Scine::Molassembler::RankingInformation::Link::cycleSequence |
The in-order atom sequence of the cycle atom indices.