|
int | getCacheSystemCount () const |
| Get the number of systems in the associated cache.
|
|
int | getSynthesisSystemCount () const |
| Get the number of systems in the associated synthesis.
|
|
int | getCacheLabelCount () const |
| Get the number of labels in the associated cache.
|
|
int | getCacheTopologyCount () const |
| Get the number of unique topologies in the associated cache.
|
|
int | getSynthesisTopologyCount () const |
| Get the number of (unique) topologies in the associated synthesis. This will check the coordinate synthesis pointer, then the topology synthesis pointer, and return the number of unique topologies based on the first valid pointer it encounters.
|
|
std::vector< int > | getSourceGroup (int query_index) const |
| Get a list of all system indices in the synthesis derived from a particular -sys keyword entry (a single system within the cache).
|
|
std::vector< int > | getLabelGroup (const std::string &query_label) const |
| Get a list of all system indices in the synthesis derived from systems in the cache matching a particular label.
|
|
int | getSystemCacheIndex (int synthesis_index) const |
| Get the system cache index of a system from the synthesis.
|
|
int | getTopologyCacheIndex (int synthesis_index) const |
| Get the index of a topology in the cache guiding a system in the synthesis. This might not be the same as the unique topology index for the system referenced in the synthesis itself, if the synthesis uses a subset of the cache's topologies.
|
|
int | getLabelCacheIndex (int synthesis_index) const |
| Get the system label index of a system from the synthesis.
|
|
int | getPartitionCount (SystemGrouping organization) const |
| Get the number of partitions that the synthesis should be divided into under any of the methods for grouping systems.
|
|
const SystemCache * | getCachePointer () const |
| Get a const pointer to the system cache referenced by this map.
|
|
const AtomGraphSynthesis * | getTopologySynthesisPointer () const |
| Get a const pointer to the coordinate synthesis referenced by this map.
|
|
const PhaseSpaceSynthesis * | getCoordinateSynthesisPointer () const |
| Get a const pointer to the coordinate synthesis referenced by this map.
|
|
const SynthesisCacheMap * | getSelfPointer () const |
| Get a const pointer to the object itself (useful when the object has been passed by const reference).
|
|
const SynthesisMapReader | data (HybridTargetLevel tier=HybridTargetLevel::HOST) const |
| Get an abstract of this map.
|
|
|
| SynthesisCacheMap () |
| The constructor can work with a coordinate or topology synthesis, but in either case requires a pairwise map between the synthesis and the cache. If a synthesis is provided, it will be used to check the correspondence.
|
|
| SynthesisCacheMap (const std::vector< int > &cache_origins_in, const SystemCache *sc_in, const AtomGraphSynthesis *poly_ag_in=nullptr, const PhaseSpaceSynthesis *poly_ps_in=nullptr) |
|
| SynthesisCacheMap (const std::vector< int > &cache_origins_in, const SystemCache &sc_in, const AtomGraphSynthesis &poly_ag_in, const PhaseSpaceSynthesis &poly_ps_in) |
|
| SynthesisCacheMap (const std::vector< int > &cache_origins_in, const SystemCache &sc_in, const AtomGraphSynthesis &poly_ag_in) |
|
| SynthesisCacheMap (const std::vector< int > &cache_origins_in, const SystemCache &sc_in, const PhaseSpaceSynthesis &poly_ps_in) |
|
|
| SynthesisCacheMap (const SynthesisCacheMap &original) |
| The copy and move constructors, as well as assignment operators, must be explicitly defined to handle repair of POINTER-kind Hybrid objects.
|
|
| SynthesisCacheMap (SynthesisCacheMap &&original) |
|
SynthesisCacheMap & | operator= (const SynthesisCacheMap &original) |
|
SynthesisCacheMap & | operator= (SynthesisCacheMap &&original) |
|
|
std::vector< int > | getTopologyGroup (const AtomGraph *query_ag) const |
| Get a list of all system indices in the synthesis derived from systems in the cache matching a particular topology.
|
|
std::vector< int > | getTopologyGroup (const AtomGraph &query_ag) const |
|
|
int | getTotalProjection (int query_index, SystemGrouping organization) const |
| Get the number of systems in the synthesis associated with a particular system, label, or topology in the cache. If the index is invalid, this function will return zero.
|
|
int | getTotalProjection (const AtomGraph *query_ag) const |
|
int | getTotalProjection (const AtomGraph &query_ag) const |
|
int | getTotalProjection (const std::string &query_label) const |
|
|
void | setCache (const std::vector< int > &cache_origins_in, const SystemCache *sc_in) |
| Set the systems cache along with a list of correspondences.
|
|
void | setCache (const std::vector< int > &cache_origins_in, const SystemCache &sc_in) |
|
|
void | setSynthesis (const AtomGraphSynthesis *poly_ag_in) |
| Set the PhaseSpaceSynthesis or AtomGraphSynthesis pointers. This will be useful if the map is used to retrieve lists of conformations or coordinate sets from the synthesis.
|
|
void | setSynthesis (const AtomGraphSynthesis &poly_ag_in) |
|
void | setSynthesis (const PhaseSpaceSynthesis *poly_ps_in) |
|
void | setSynthesis (const PhaseSpaceSynthesis &poly_ps_in) |
|
Encode a map between the systems of a snythesis and those of a SystemCache. The synthesis is expected to replicate the systems present in the cache, perhaps in a different order, perhaps to varying degrees for each system.