A node that slightly resequences the input at random
| 44 | |
| 45 | /// A node that slightly resequences the input at random |
| 46 | struct JitterNodeOptions : public ExecNodeOptions { |
| 47 | random::SeedType seed; |
| 48 | /// The max amount to add to a node's "cost". |
| 49 | int max_jitter_modifier; |
| 50 | |
| 51 | explicit JitterNodeOptions(random::SeedType seed, int max_jitter_modifier = 5) |
| 52 | : seed(seed), max_jitter_modifier(max_jitter_modifier) {} |
| 53 | static constexpr std::string_view kName = "jitter"; |
| 54 | }; |
| 55 | |
| 56 | class GateImpl; |
| 57 |
no outgoing calls