|
CDT++ 1.0.0-rc3
Causal Dynamical Triangulations in C++
|
Structured Pachner-move failures and transition outcomes. More...
Go to the source code of this file.
Classes | |
| class | cdt::ergodic_moves::MetropolisTransition |
| Result of one fully sampled Metropolis-Hastings transition. More... | |
| struct | cdt::ergodic_moves::MoveError |
| Typed error returned by move preparation or private execution. More... | |
Namespaces | |
| namespace | cdt |
| clang-15 does not support std::format | |
Typedefs | |
| template<typename ManifoldType> | |
| using | cdt::ergodic_moves::MoveResult = std::expected<ManifoldType, MoveError> |
| Value returned by a fallible Pachner-move transformation. | |
Enumerations | |
| enum class | cdt::ergodic_moves::MoveFailure : std::uint8_t { NO_CANDIDATE , INVALID_TOPOLOGY , CAUSAL_INVALIDITY , STALE_CANDIDATE , EXECUTION_FAILURE , INVARIANT_VIOLATION , UNKNOWN_MOVE } |
| Actionable reasons a raw move request cannot produce a new state. More... | |
| enum class | cdt::ergodic_moves::MoveOutcome : std::uint8_t { INAPPLICABLE = 0 , METROPOLIS_ACCEPTED = 1 , METROPOLIS_REJECTED = 2 , EXECUTION_FAILED = 3 , SUCCEEDED = 4 } |
| Typed state used to route proposal and execution accounting. More... | |
Functions | |
| constexpr auto | cdt::ergodic_moves::format_as (MoveError const error) noexcept -> std::string_view |
| Enable direct formatting through fmt/spdlog. | |
| constexpr auto | cdt::ergodic_moves::outcome_from (MoveError const error) noexcept -> MoveOutcome |
| Classify a structured move error for counter accounting. | |
Structured Pachner-move failures and transition outcomes.
Definition in file Move_outcome.hpp.
| using cdt::ergodic_moves::MoveResult = std::expected<ManifoldType, MoveError> |
Value returned by a fallible Pachner-move transformation.
Definition at line 80 of file Move_outcome.hpp.
|
strong |
Actionable reasons a raw move request cannot produce a new state.
Definition at line 22 of file Move_outcome.hpp.
|
strong |
Typed state used to route proposal and execution accounting.
Definition at line 83 of file Move_outcome.hpp.
|
nodiscardconstexprnoexcept |
Enable direct formatting through fmt/spdlog.
| error | Structured move failure. |
Definition at line 157 of file Move_outcome.hpp.
|
nodiscardconstexprnoexcept |
Classify a structured move error for counter accounting.
| error | Structured move failure. |
Definition at line 137 of file Move_outcome.hpp.
References CAUSAL_INVALIDITY, EXECUTION_FAILURE, INVALID_TOPOLOGY, INVARIANT_VIOLATION, NO_CANDIDATE, STALE_CANDIDATE, and UNKNOWN_MOVE.