|
libena 0.4.18-dev.9021
QE C++ library
|
Which two codes each connection column connects: the column map the layout-agnostic (_by_key) node weighting works from.
More...
#include <positions.hpp>
Public Attributes | |
| arma::uvec | from |
| First code of each column (0-based). | |
| arma::uvec | to |
| Second code of each column (0-based). | |
Which two codes each connection column connects: the column map the layout-agnostic (_by_key) node weighting works from.
Column k connects codes from[k] and to[k] (0-based). A self-connection has from[k] == to[k]. Direction is not used by the node weights (every connection counts toward both of its codes), so any column layout – undirected, undirected with the diagonal, ordered – is described by its key alone.
| arma::uvec qe::ConnectionKey::from |
First code of each column (0-based).
| arma::uvec qe::ConnectionKey::to |
Second code of each column (0-based).