libena 0.4.18-dev.9021
QE C++ library
Loading...
Searching...
No Matches
qe::ConnectionKey Struct Reference

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).
 

Detailed Description

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.

Member Data Documentation

◆ from

arma::uvec qe::ConnectionKey::from

First code of each column (0-based).

◆ to

arma::uvec qe::ConnectionKey::to

Second code of each column (0-based).


The documentation for this struct was generated from the following file: