prompt description

This commit is contained in:
2025-09-01 14:31:42 +09:00
parent f85b2eb4ce
commit 399e7eeaee

View File

@@ -0,0 +1,10 @@
in wfc.hpp there are 2 random selector structs. I want you to create another one that can be used to give weights to values.
use 16-bit for the individual weights for each value. The weights should work at compile time.
The WeightedSelector is a RandomSelector that uses another random selector as a backend.
example of how the weights should work:
Builder::
::DefineIDs<...>
::DefinedConstrainer<...>
::SetRandomSelector<...>
::Weights<DEFAULT_WEIGHT, Weight<VarT, WEIGHT>, Weight<VarT, WEIGHT>, ...>
::Build