Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
CycleGroupBase< Builder >::InstructionWeights Class Reference

Optional subclass that governs limits on the use of certain instructions, since some of them can be too slow. More...

#include <cycle_group.fuzzer.hpp>

Static Public Attributes

static constexpr size_t SET = 0
 
static constexpr size_t RANDOMSEED = 0
 
static constexpr size_t CONSTANT = 1
 
static constexpr size_t WITNESS = 1
 
static constexpr size_t CONSTANT_WITNESS = 1
 
static constexpr size_t ADD = 1
 
static constexpr size_t SUBTRACT = 1
 
static constexpr size_t DBL = 1
 
static constexpr size_t NEG = 1
 
static constexpr size_t COND_ASSIGN = 1
 
static constexpr size_t MULTIPLY = 2
 
static constexpr size_t ASSERT_EQUAL = 2
 
static constexpr size_t BATCH_MUL = 4
 
static constexpr size_t _LIMIT = 64
 

Detailed Description

template<typename Builder>
class CycleGroupBase< Builder >::InstructionWeights

Optional subclass that governs limits on the use of certain instructions, since some of them can be too slow.

Definition at line 668 of file cycle_group.fuzzer.hpp.

Member Data Documentation

◆ _LIMIT

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::_LIMIT = 64
staticconstexpr

Definition at line 690 of file cycle_group.fuzzer.hpp.

◆ ADD

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::ADD = 1
staticconstexpr

Definition at line 676 of file cycle_group.fuzzer.hpp.

◆ ASSERT_EQUAL

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::ASSERT_EQUAL = 2
staticconstexpr

Definition at line 685 of file cycle_group.fuzzer.hpp.

◆ BATCH_MUL

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::BATCH_MUL = 4
staticconstexpr

Definition at line 688 of file cycle_group.fuzzer.hpp.

◆ COND_ASSIGN

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::COND_ASSIGN = 1
staticconstexpr

Definition at line 680 of file cycle_group.fuzzer.hpp.

◆ CONSTANT

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::CONSTANT = 1
staticconstexpr

Definition at line 673 of file cycle_group.fuzzer.hpp.

◆ CONSTANT_WITNESS

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::CONSTANT_WITNESS = 1
staticconstexpr

Definition at line 675 of file cycle_group.fuzzer.hpp.

◆ DBL

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::DBL = 1
staticconstexpr

Definition at line 678 of file cycle_group.fuzzer.hpp.

◆ MULTIPLY

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::MULTIPLY = 2
staticconstexpr

Definition at line 683 of file cycle_group.fuzzer.hpp.

◆ NEG

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::NEG = 1
staticconstexpr

Definition at line 679 of file cycle_group.fuzzer.hpp.

◆ RANDOMSEED

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::RANDOMSEED = 0
staticconstexpr

Definition at line 671 of file cycle_group.fuzzer.hpp.

◆ SET

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::SET = 0
staticconstexpr

Definition at line 670 of file cycle_group.fuzzer.hpp.

◆ SUBTRACT

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::SUBTRACT = 1
staticconstexpr

Definition at line 677 of file cycle_group.fuzzer.hpp.

◆ WITNESS

template<typename Builder >
constexpr size_t CycleGroupBase< Builder >::InstructionWeights::WITNESS = 1
staticconstexpr

Definition at line 674 of file cycle_group.fuzzer.hpp.


The documentation for this class was generated from the following file: