|
CDT++
Causal Dynamical Triangulations in C++
|
The data and methods to track ergodic moves. More...
#include <Move_tracker.hpp>
Collaboration diagram for move_tracker::MoveTracker< ManifoldType >:Public Member Functions | |
| auto | eight_two_moves () -> auto & |
| Write access to (8,2) moves. | |
| auto | eight_two_moves () const |
| Read access to (8,2) moves. | |
| auto | four_four_moves () -> auto & |
| Write access to (4,4) moves. | |
| auto | four_four_moves () const |
| Read access to (4,4) moves. | |
| auto | four_six_moves () -> auto & |
| Write access to (4,6) moves. | |
| auto | four_six_moves () const |
| Read access to (4,6) moves. | |
| auto | four_two_moves () -> auto & |
| Write access to (4,2) moves. | |
| auto | four_two_moves () const |
| Read access to (4,2) moves. | |
| auto | moves_view () const |
| Get a view of the moves. | |
| auto | operator+= (MoveTracker const &rhs) |
| The += operator for MoveTracker. | |
| auto | operator[] (gsl::index index) -> auto & |
| The [] operator for MoveTracker. | |
| auto | operator[] (move_type const move) const -> auto & |
| The [] operator for MoveTracker. | |
| void | reset () |
| Reset all moves counts to zero. | |
| auto | six_four_moves () -> auto & |
| Write access to (6,4) moves. | |
| auto | six_four_moves () const |
| Read access to (6,4) moves. | |
| auto | six_two_moves () -> auto & |
| Write access to (6,2) moves. | |
| auto | six_two_moves () const |
| Read access to (6,2) moves. | |
| auto | size () const noexcept |
| Container size. | |
| auto | three_three_moves () -> auto & |
| Write access to (3,3) moves. | |
| auto | three_three_moves () const |
| Read access to (3,3) moves. | |
| auto | three_two_moves () -> auto & |
| Write access to (3,2) moves. | |
| auto | three_two_moves () const |
| Read access to (3,2) moves. | |
| auto | total () const noexcept |
| Total moves. | |
| auto | two_eight_moves () -> auto & |
| Write access to (2,8) moves. | |
| auto | two_eight_moves () const |
| Read access to (2,8) moves. | |
| auto | two_four_moves () -> auto & |
| Write access to (2,4) moves. | |
| auto | two_four_moves () const |
| Read access to (2,4) moves. | |
| auto | two_six_moves () -> auto & |
| Write access to (2,6) moves. | |
| auto | two_six_moves () const |
| Read access to (2,6) moves. | |
| auto | two_three_moves () -> auto & |
| Write access to (2,3) moves. | |
| auto | two_three_moves () const |
| Read access to (2,3) moves. | |
Private Types | |
| using | Container = std::array< Int_precision, moves_per_dimension(ManifoldType::dimension)> |
Private Attributes | |
| Container | moves = {0} |
The data and methods to track ergodic moves.
| ManifoldType | The type of manifold on which moves are made |
Definition at line 89 of file Move_tracker.hpp.
|
private |
Definition at line 91 of file Move_tracker.hpp.
|
inline |
Write access to (8,2) moves.
Definition at line 252 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (8,2) moves.
Definition at line 255 of file Move_tracker.hpp.
|
inline |
Write access to (4,4) moves.
Definition at line 206 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), MoveStrategy< Strategies::METROPOLIS, ManifoldType >::print_results(), MoveStrategy< Strategies::MOVE_ALWAYS, ManifoldType >::print_results(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (4,4) moves.
Definition at line 212 of file Move_tracker.hpp.
|
inline |
Write access to (4,6) moves.
Definition at line 234 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (4,6) moves.
Definition at line 237 of file Move_tracker.hpp.
|
inline |
Write access to (4,2) moves.
Definition at line 222 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (4,2) moves.
Definition at line 225 of file Move_tracker.hpp.
|
inline |
Get a view of the moves.
Definition at line 101 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors().
|
inline |
The += operator for MoveTracker.
| rhs | The MoveTracker to be added |
Definition at line 128 of file Move_tracker.hpp.
|
inline |
The [] operator for MoveTracker.
| index | The index of the element to be accessed |
Definition at line 108 of file Move_tracker.hpp.
|
inline |
The [] operator for MoveTracker.
| move | The move type to be accessed |
Definition at line 118 of file Move_tracker.hpp.
References move_tracker::as_integer().
|
inline |
Reset all moves counts to zero.
Definition at line 258 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::reset_counters().
|
inline |
Write access to (6,4) moves.
Definition at line 240 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (6,4) moves.
Definition at line 243 of file Move_tracker.hpp.
|
inline |
Write access to (6,2) moves.
Definition at line 194 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), MoveStrategy< Strategies::METROPOLIS, ManifoldType >::print_results(), MoveStrategy< Strategies::MOVE_ALWAYS, ManifoldType >::print_results(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (6,2) moves.
Definition at line 200 of file Move_tracker.hpp.
|
inlinenoexcept |
Container size.
Definition at line 150 of file Move_tracker.hpp.
|
inline |
Write access to (3,3) moves.
Definition at line 228 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (3,3) moves.
Definition at line 231 of file Move_tracker.hpp.
|
inline |
Write access to (3,2) moves.
Definition at line 170 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), MoveStrategy< Strategies::METROPOLIS, ManifoldType >::print_results(), MoveStrategy< Strategies::MOVE_ALWAYS, ManifoldType >::print_results(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (3,2) moves.
Definition at line 176 of file Move_tracker.hpp.
|
inlinenoexcept |
Total moves.
Definition at line 141 of file Move_tracker.hpp.
Referenced by MoveStrategy< Strategies::METROPOLIS, ManifoldType >::CalculateA1(), and MoveStrategy< Strategies::METROPOLIS, ManifoldType >::print_results().
|
inline |
Write access to (2,8) moves.
Definition at line 246 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (2,8) moves.
Definition at line 249 of file Move_tracker.hpp.
|
inline |
Write access to (2,4) moves.
Definition at line 216 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (2,4) moves.
Definition at line 219 of file Move_tracker.hpp.
|
inline |
Write access to (2,6) moves.
Definition at line 182 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), MoveStrategy< Strategies::METROPOLIS, ManifoldType >::print_results(), MoveStrategy< Strategies::MOVE_ALWAYS, ManifoldType >::print_results(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (2,6) moves.
Definition at line 188 of file Move_tracker.hpp.
|
inline |
Write access to (2,3) moves.
Definition at line 158 of file Move_tracker.hpp.
Referenced by MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_attempts(), MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_errors(), MoveStrategy< Strategies::METROPOLIS, ManifoldType >::print_results(), MoveStrategy< Strategies::MOVE_ALWAYS, ManifoldType >::print_results(), and MoveCommand< ManifoldType, ExpectedType, FunctionType >::print_successful().
|
inline |
Read access to (2,3) moves.
Definition at line 164 of file Move_tracker.hpp.
|
private |
Definition at line 94 of file Move_tracker.hpp.