libtma 0.3.13-dev.9013
QE C++ library
Loading...
Searching...
No Matches
qe::TensorNetworks Struct Reference

Result of apply_tensor_unit(). More...

#include <accumulation.hpp>

Public Attributes

arma::rowvec connection_counts
 Unit-level flat vector (p²).
 
arma::mat row_connection_counts
 
std::vector< std::vector< int > > row_window_members
 
std::vector< std::vector< double > > row_window_wins
 
arma::rowvec miss_counts
 
arma::mat row_miss_counts
 

Detailed Description

Result of apply_tensor_unit().

Bundles the unit-level aggregated connection vector together with the per-response-row connection matrices used by the tma tensor accumulation.

Member Data Documentation

◆ connection_counts

arma::rowvec qe::TensorNetworks::connection_counts

Unit-level flat vector (p²).

◆ miss_counts

arma::rowvec qe::TensorNetworks::miss_counts

Unit-level missed co-occurrences (p², directed): Σ over response rows of miss_matrix(). Populated only when return_misses = true; empty otherwise.

◆ row_connection_counts

arma::mat qe::TensorNetworks::row_connection_counts

Per-response-row connection matrix (n_unit_rows × p²).

◆ row_miss_counts

arma::mat qe::TensorNetworks::row_miss_counts

Per-response-row missed co-occurrences (n_unit_rows × p², directed). Populated only when return_misses = true; empty otherwise.

◆ row_window_members

std::vector<std::vector<int> > qe::TensorNetworks::row_window_members

Per-response-row in-window ground rows (0-based context indices), visited order (ri-1 .. 0). Populated only when apply_tensor_unit() is called with return_members = true; empty otherwise. Feeds the webtool Data View window-span hover (tma design dataview-flexible-window.md).

◆ row_window_wins

std::vector<std::vector<double> > qe::TensorNetworks::row_window_wins

Per-response-row resolved window size for each member above (parallel to row_window_members). Populated only when return_members = true.


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