GNUnet 0.22.2
SetState Struct Reference

Extra state required for efficient set intersection. More...

Collaboration diagram for SetState:
[legend]

Data Fields

uint32_t current_set_element_count
 Number of currently valid elements in the set which have not been removed. More...
 
struct StrataEstimatorse
 The strata estimator is only generated once for each set. More...
 

Detailed Description

Extra state required for efficient set intersection.

Extra state required for efficient set union.

Merely tracks the total number of elements.

Definition at line 191 of file gnunet-service-set_intersection.c.

Field Documentation

◆ current_set_element_count

uint32_t SetState::current_set_element_count

Number of currently valid elements in the set which have not been removed.

Definition at line 197 of file gnunet-service-set_intersection.c.

Referenced by intersection_add(), intersection_remove(), and intersection_set_create().

◆ se

struct StrataEstimator* SetState::se

The strata estimator is only generated once for each set.

The IBF keys are derived from the element hashes with salt=0.

Definition at line 275 of file gnunet-service-set_union.c.

Referenced by union_add(), union_copy_state(), union_remove(), union_set_create(), and union_set_destroy().


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