SetState Struct Reference

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

Collaboration diagram for SetState:

## Data Fields | |

uint32_t | current_set_element_count |

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

struct StrataEstimator * | se |

The strata estimator is only generated once for each set. More... | |

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.

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

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:

- src/set/gnunet-service-set_intersection.c
- src/set/gnunet-service-set_union.c