C(++)ECCO
C++ Error Control COding: a header-only library for ECC simulations and experiments, modeling complete coding systems across arbitrary finite fields and complex inter-field relationships - Christian Senger <senger@inue.uni-stuttgart.de>
Loading...
Searching...
No Matches
CECCO::details::CheckEdge< T > Struct Template Reference

Edge from a check node to a variable node in a Tanner graph. More...

#include <graphs.hpp>

Public Member Functions

 CheckEdge (uint32_t var_id, T value)
 Construct an edge to variable node var_id with label value.

Public Attributes

uint32_t var_id
 Incident variable-node id.
T value
 Parity-check coefficient (label).

Detailed Description

template<FieldType T>
struct CECCO::details::CheckEdge< T >

Edge from a check node to a variable node in a Tanner graph.

Template Parameters
TField type used for edge labels

Definition at line 104 of file graphs.hpp.

Constructor & Destructor Documentation

◆ CheckEdge()

template<FieldType T>
CECCO::details::CheckEdge< T >::CheckEdge ( uint32_t var_id,
T value )
inline

Construct an edge to variable node var_id with label value.

Parameters
var_idIncident variable-node id
valueParity-check coefficient carried by the edge

Definition at line 111 of file graphs.hpp.

Member Data Documentation

◆ value

template<FieldType T>
T CECCO::details::CheckEdge< T >::value

Parity-check coefficient (label).

Definition at line 116 of file graphs.hpp.

◆ var_id

template<FieldType T>
uint32_t CECCO::details::CheckEdge< T >::var_id

Incident variable-node id.

Definition at line 114 of file graphs.hpp.


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