Molassembler  3.0.1
Molecule graph and conformer library
AbstractPermutations.h
Go to the documentation of this file.
1 
8 #ifndef INCLUDE_MOLASSEMBLER_STEREOPERMUTATIONS_ABSTRACT_PERMUTATIONS_H
9 #define INCLUDE_MOLASSEMBLER_STEREOPERMUTATIONS_ABSTRACT_PERMUTATIONS_H
10 
13 
14 namespace Scine {
15 namespace Molassembler {
16 
18 namespace Stereopermutators {
19 
24 struct Abstract {
27 
43  );
44 
63  );
64 
81  const std::vector<RankingInformation::Link>& rankingLinks,
83  );
84 
93  const Stereopermutations::Stereopermutation::Occupation& canonicalOccupation,
95  );
97 
101  Abstract() = default;
102 
114  const RankingInformation& ranking,
116  );
118 
123 
126 
129 
133 };
134 
135 } // namespace Stereopermutators
136 } // namespace Molassembler
137 } // namespace Scine
138 
139 
140 #endif
Manipulations of stereopermutations with shapes.
Calculate shape position maps.
std::vector< Link > OrderedLinks
Unordered type, but kept ordered by member functions.
Definition: Stereopermutation.h:47
ShapeResult shape(const PositionCollection &normalizedPositions, Shape shape)
Forwarding function to calculate the continuous shape measure.
Shape
Enumeration of all contained symmetry names.
Definition: Shapes.h:28
Ranking data of substituents around a central vertex.
Definition: RankingInformation.h:23
NestedList< SiteIndex > RankedSitesType
Ascending ordered list of binding site indices (sub-list site indices equal)
Definition: RankingInformation.h:40
Class to compute the set of abstract permutations from ranking and shape.
Definition: AbstractPermutations.h:24
static Stereopermutations::Stereopermutation::OrderedLinks selfReferentialTransform(const std::vector< RankingInformation::Link > &rankingLinks, const RankingInformation::RankedSitesType &canonicalSites)
Make site-index based links shape-vertex self-referential.
Stereopermutations::Stereopermutation::Occupation occupation
Abstract representation of bonding case.
Definition: AbstractPermutations.h:125
static Stereopermutations::Stereopermutation::Occupation makeOccupation(const RankingInformation::RankedSitesType &canonicalSites, const Stereopermutations::Stereopermutation::Occupation &canonicalOccupation, const Temple::StrongIndexPermutation< Shapes::Vertex, SiteIndex > &sitesAtShapeVertices)
Generates the reduced character representation of sites at their current shape positions.
Stereopermutations::Stereopermutation::OrderedLinks selfReferentialLinks
Self-referential representation of links.
Definition: AbstractPermutations.h:128
Stereopermutations::Uniques permutations
Vector of rotationally unique stereopermutations with associated weights.
Definition: AbstractPermutations.h:131
static Stereopermutations::Stereopermutation::Occupation transferToOccupation(const RankingInformation::RankedSitesType &canonicalSites)
Condense site ranking information into abstract rank indices for symbolic computation.
Abstract(const RankingInformation &ranking, Shapes::Shape shape)
Generates the set of abstract stereopermutations and intermediate data.
static RankingInformation::RankedSitesType canonicalize(RankingInformation::RankedSitesType rankedSites)
Stably re-sort ranked site indices in decreasing set size.
Abstract()=default
Empty initializer, all data members are nulled.
RankingInformation::RankedSitesType canonicalSites
Stably resorted (by set size) site ranking.
Definition: AbstractPermutations.h:122