Struct Context::CanonicalizationConfig¶
Defined in File context.hpp
Nested Relationships¶
This struct is a nested type of Class Context.
Struct Documentation¶
-
struct CanonicalizationConfig¶
the settings that control canonicalization (which also reads the index space registry and the SP basis, settings not specific to it); these, the registry and the SP basis define version(), so a setting that canonicalization comes to read belongs here, and in the key of the version table (CanonicalizationKey in context.cpp) that mirrors this; comparers are held by shared_ptr so that equality can be decided by identity
Public Functions
-
bool operator==(const CanonicalizationConfig&) const = default¶
canonicalizers and comparers compare by identity, labels and options by value
Public Members
-
container::map<std::wstring, std::shared_ptr<TensorCanonicalizer>> tensor_canonicalizers¶
-
std::shared_ptr<const tensor_index_comparer_t> index_comparer¶
-
std::shared_ptr<const tensor_index_pair_comparer_t> index_pair_comparer¶
-
std::optional<CanonicalizeOptions> options¶
-
bool operator==(const CanonicalizationConfig&) const = default¶