Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
permutation_builder.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/tracegen/lib/interaction_builder.hpp
"
4
#include "
barretenberg/vm2/tracegen/trace_container.hpp
"
5
6
namespace
bb::avm2::tracegen
{
7
8
// This class is only needed to set the correct size of the inverse column.
9
// TODO: In the future we'll repurpose this class to keep track of the active rows,
10
// and let the provers use it to more efficiently compute the inverses.
11
template
<
typename
PermutationSettings>
class
PermutationBuilder
:
public
InteractionBuilderInterface
{
12
public
:
13
void
process
(
TraceContainer
&
trace
)
override
{ SetDummyInverses<PermutationSettings>(
trace
); }
14
};
15
16
}
// namespace bb::avm2::tracegen
bb::avm2::tracegen::InteractionBuilderInterface
Definition
interaction_builder.hpp:9
bb::avm2::tracegen::PermutationBuilder
Definition
permutation_builder.hpp:11
bb::avm2::tracegen::PermutationBuilder::process
void process(TraceContainer &trace) override
Definition
permutation_builder.hpp:13
bb::avm2::tracegen::TraceContainer
Definition
trace_container.hpp:22
trace
TestTraceContainer trace
Definition
data_copy.test.cpp:59
interaction_builder.hpp
bb::avm2::tracegen
Definition
full_row.hpp:10
trace_container.hpp
src
barretenberg
vm2
tracegen
lib
permutation_builder.hpp
Generated by
1.9.8