8 #ifndef INCLUDE_MOLASSEMBLER_STEREOPERMUTATIONS_ABSTRACT_PERMUTATIONS_H
9 #define INCLUDE_MOLASSEMBLER_STEREOPERMUTATIONS_ABSTRACT_PERMUTATIONS_H
15 namespace Molassembler {
18 namespace Stereopermutators {
80 const std::vector<RankingInformation::Link>& rankingLinks,
92 const std::vector<char>& canonicalStereopermutationCharacters,
static Stereopermutations::Stereopermutation::OrderedLinks selfReferentialTransform(const std::vector< RankingInformation::Link > &rankingLinks, const RankingInformation::RankedSitesType &canonicalSites)
Make site-index based links self-referential within canonical sites.
static RankingInformation::RankedSitesType canonicalize(RankingInformation::RankedSitesType rankedSites)
Stably re-sort ranked site indices in decreasing set size.
Manipulations of stereopermutations with shapes.
Definition: StrongIndexMap.h:19
ShapeResult shape(const PositionCollection &normalizedPositions, Shape shape)
Forwarding function to calculate the continuous shape measure.
Stereopermutations::Stereopermutation::OrderedLinks selfReferentialLinks
Self-referential representation of links.
Definition: AbstractPermutations.h:127
static std::vector< char > makeStereopermutationCharacters(const RankingInformation::RankedSitesType &canonicalSites, const std::vector< char > &canonicalStereopermutationCharacters, const Temple::StrongIndexFlatMap< Shapes::Vertex, SiteIndex > &sitesAtShapeVertices)
Generates the reduced character representation of sites at their current shape positions.
Definition: Manipulation.h:70
RankingInformation::RankedSitesType canonicalSites
Stably resorted (by set size) site ranking.
Definition: AbstractPermutations.h:121
Stereopermutations::Uniques permutations
Vector of rotationally unique stereopermutations with associated weights.
Definition: AbstractPermutations.h:130
std::vector< char > symbolicCharacters
Character representation of bonding case.
Definition: AbstractPermutations.h:124
Class to compute the set of abstract permutations from ranking and shape.
Definition: AbstractPermutations.h:24
Shape
Enumeration of all contained symmetry names.
Definition: Shapes.h:28
Calculate shape position maps.
std::vector< Link > OrderedLinks
Unordered type, but kept ordered by member functions.
Definition: Stereopermutation.h:43
Abstract()=default
Empty initializer, all data members are nulled.
static std::vector< char > transferToSymbolicCharacters(const RankingInformation::RankedSitesType &canonicalSites)
Condense site ranking information into canonical characters for symbolic computation.