An abstract RDM, all RDMs inherit from here. More...
#include <rdm.h>
Public Member Functions | |
virtual void | construct ()=0 |
Every RDM needs to specify how it's constructed. More... | |
auto const & | getInverseMap () const |
Get access to the reversed ordering. More... | |
auto const & | getMap () const |
Get access to the ordering. More... | |
RDM (State &psi_) | |
Constructor. More... | |
Public Attributes | |
Index const | branching_size |
Index const | physical_size |
Index const | total_size |
Total size of the system, stored locally. More... | |
bool | verbose_output = true |
Print the progress or not. More... | |
Protected Member Functions | |
void | init_map_rec (State::cPtrc ptr, Tree::Position &pos_, Index &counter) |
Initialises the mappings recursively. More... | |
Protected Attributes | |
std::map< Vec< Index >, Index > | inverse_map |
Inverse mapping. More... | |
std::map< Index, Vec< Index > > | map |
Mapping. More... | |
State::Ptr | node |
Position as Ptr. More... | |
Tree::Position | pos |
Position as vector. More... | |
State & | psi |
The state. More... | |