Dist m4ri 0.16.1
Computing distance of a classical or quantum CSS code
Loading...
Searching...
No Matches
cw_hit_stats_t Struct Reference

Hit statistics for the min_hits stopping criterion, see codeword_hit_stats(). More...

#include <util_io.h>

Public Attributes

long long int min_cws
long long int min_hits
long long int set_cws
long long int set_hits
int w_lo
int w_hi
double avg

Detailed Description

Hit statistics for the min_hits stopping criterion, see codeword_hit_stats().

Definition at line 396 of file util_io.h.

Member Data Documentation

◆ avg

double cw_hit_stats_t::avg

<n>: the smaller of the average hits per codeword of weight min_w and of the representative set (0 if no codewords)

Definition at line 403 of file util_io.h.

Referenced by check_min_hits_convergence(), codeword_hit_stats(), and print_codeword_stats().

◆ min_cws

long long int cw_hit_stats_t::min_cws

number of codewords of the minimum weight min_w

Definition at line 397 of file util_io.h.

Referenced by codeword_hit_stats().

◆ min_hits

long long int cw_hit_stats_t::min_hits

their total number of hits

Definition at line 398 of file util_io.h.

Referenced by codeword_hit_stats().

◆ set_cws

long long int cw_hit_stats_t::set_cws

number of codewords in the representative set (weights w_lo..w_hi)

Definition at line 399 of file util_io.h.

Referenced by check_min_hits_convergence(), codeword_hit_check(), codeword_hit_stats(), and print_codeword_stats().

◆ set_hits

long long int cw_hit_stats_t::set_hits

their total number of hits

Definition at line 400 of file util_io.h.

Referenced by codeword_hit_stats().

◆ w_hi

int cw_hit_stats_t::w_hi

largest weight in the representative set

Definition at line 402 of file util_io.h.

Referenced by codeword_hit_check(), codeword_hit_stats(), and print_codeword_stats().

◆ w_lo

int cw_hit_stats_t::w_lo

smallest weight in the representative set (min_w)

Definition at line 401 of file util_io.h.

Referenced by codeword_hit_check(), codeword_hit_stats(), and print_codeword_stats().


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