|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <algorithm>#include <random>#include <vector>#include "barretenberg/avm_fuzzer/mutations/configuration.hpp"Go to the source code of this file.
Classes | |
| struct | RandomInsertion |
| Insert a random element at a random index. More... | |
| struct | RandomDeletion |
| Delete a random element at a random index. More... | |
| struct | RandomSwap |
| Swap two random elements at random indices. More... | |
| struct | RandomElementMutation |
| Mutate a random element at a random index. More... | |
Functions | |
| template<typename T , typename MutateFn , typename GenerateFn > | |
| void | mutate_vec (std::vector< T > &vec, std::mt19937_64 &rng, MutateFn &&mutate_element_function, GenerateFn &&generate_random_element_function, const VecMutationConfig &config) |
| void mutate_vec | ( | std::vector< T > & | vec, |
| std::mt19937_64 & | rng, | ||
| MutateFn && | mutate_element_function, | ||
| GenerateFn && | generate_random_element_function, | ||
| const VecMutationConfig & | config | ||
| ) |
Definition at line 71 of file vector.hpp.