![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "/Werk/devel/lumi/tests/vault/gear/test-chain-load.hpp"
Policy/Binding for generation of random parameters by »drawing« based on the node-hash.
Notably this policy template maps the ways to spell out »Ctrl rules« to configure the probability profile of the topology parameters seeding, expansion, reduction and pruning. The RandomDraw component used to implement those rules provides a builder-DSL and accepts λ-bindings in various forms to influence mapping of Node hash into result parameters.
Definition at line 899 of file test-chain-load.hpp.
Classes | |
| struct | Adaptor |
| Adaptor to handle further mapping functions. More... | |
| struct | Adaptor< RES(double)> |
| rules may also build solely on the (guessed) height. More... | |
| struct | Adaptor< RES(size_t)> |
| allow simple rules directly manipulating the hash value More... | |
| struct | Adaptor< RES(size_t, double)> |
| allow rules additionally involving the height of the graph, which also represents time. More... | |
Static Protected Member Functions | |
| static size_t | defaultSrc (Node *node) |
| by default use Node-hash directly as source of randomness | |
| static size_t | level (Node *node) |
| static double | guessHeight (size_t level) |
| struct vault::gear::test::TestChainLoad::NodeControlBinding::Adaptor |
Collaboration diagram for TestChainLoad< maxFan >::NodeControlBinding::Adaptor< SIG >:
|
inlinestaticprotected |
by default use Node-hash directly as source of randomness
Definition at line 905 of file test-chain-load.hpp.
References TestChainLoad< maxFan >::Node::hash.
|
inlinestaticprotected |
Definition at line 911 of file test-chain-load.hpp.
References TestChainLoad< maxFan >::Node::level.
|
inlinestaticprotected |
Definition at line 917 of file test-chain-load.hpp.
Inheritance diagram for TestChainLoad< maxFan >::NodeControlBinding:
Collaboration diagram for TestChainLoad< maxFan >::NodeControlBinding: