|
Entity Generator 1.1.0
Composable, deterministic entity generation for C++23
|
A value–weight pair for weighted selection. More...
#include <entitygen.hpp>
Public Attributes | |
| T | value |
| The selectable value. | |
| double | weight |
| Relative selection weight (must be >= 0). | |
A value–weight pair for weighted selection.
Definition at line 369 of file entitygen.hpp.
| T dasmig::weighted_choice_component< T, Formatter >::option::value |
The selectable value.
Definition at line 371 of file entitygen.hpp.
| double dasmig::weighted_choice_component< T, Formatter >::option::weight |
Relative selection weight (must be >= 0).
Definition at line 372 of file entitygen.hpp.