gtopt::ApertureEntry struct

A deduplicated aperture reference with a repetition count.

When the per-phase apertures contains duplicates (e.g. [1,2,3,3,3]), each unique aperture is solved only once but its weight is scaled by count (the number of occurrences).

Public variables

std::reference_wrapper<const Aperture> aperture
int count