| Clearmatics Libsnark
    0.1
    C++ library for zkSNARK proofs | 
#include <algorithm>#include <libff/common/default_types/ec_pp.hpp>#include <libff/common/profiling.hpp>#include <libsnark/gadgetlib1/gadgets/routing/as_waksman_routing_gadget.hpp>#include <libsnark/gadgetlib1/gadgets/routing/benes_routing_gadget.hpp>
Go to the source code of this file.
| Functions | |
| template<typename FieldT > | |
| void | get_as_waksman_size (const size_t n, const size_t l, size_t &num_constraints, size_t &num_variables) | 
| template<typename FieldT > | |
| void | get_benes_size (const size_t n, const size_t l, size_t &num_constraints, size_t &num_variables) | 
| template<typename FieldT > | |
| void | profile_routing_gadgets (const size_t l) | 
| template<typename FieldT > | |
| void | profile_num_switches (const size_t l) | 
| int | main () | 
Functions to profile the gadgetlib1 implementations of Benes and AS-Waksman routing networks.
Definition in file profile_routing_gadgets.cpp.
| void get_as_waksman_size | ( | const size_t | n, | 
| const size_t | l, | ||
| size_t & | num_constraints, | ||
| size_t & | num_variables | ||
| ) | 
Definition at line 22 of file profile_routing_gadgets.cpp.

| void get_benes_size | ( | const size_t | n, | 
| const size_t | l, | ||
| size_t & | num_constraints, | ||
| size_t & | num_variables | ||
| ) | 
Definition at line 45 of file profile_routing_gadgets.cpp.

| int main | ( | ) | 
Definition at line 127 of file profile_routing_gadgets.cpp.
| void profile_num_switches | ( | const size_t | l | ) | 
Definition at line 98 of file profile_routing_gadgets.cpp.
| void profile_routing_gadgets | ( | const size_t | l | ) | 
Definition at line 71 of file profile_routing_gadgets.cpp.
 1.8.17
 1.8.17