MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
encrypto::motion::AlgorithmDescription Struct Reference

#include <algorithm_description.h>

Collaboration diagram for encrypto::motion::AlgorithmDescription:
Collaboration graph
[legend]

Public Member Functions

 AlgorithmDescription ()=default
 

Static Public Member Functions

static AlgorithmDescription FromBristol (const std::string &path)
 
static AlgorithmDescription FromBristol (std::string &&path)
 
static AlgorithmDescription FromBristol (std::ifstream &stream)
 
static AlgorithmDescription FromBristolFashion (const std::string &path)
 
static AlgorithmDescription FromBristolFashion (std::string &&path)
 
static AlgorithmDescription FromBristolFashion (std::ifstream &stream)
 
static AlgorithmDescription FromAby (const std::string &path)
 
static AlgorithmDescription FromAby (std::string &&path)
 
static AlgorithmDescription FromAby (std::ifstream &stream)
 

Public Attributes

std::size_t number_of_output_wires {0}
 
std::size_t number_of_input_wires_parent_a {0}
 
std::size_t number_of_wires {0}
 
std::size_t number_of_gates {0}
 
std::optional< std::size_t > number_of_input_wires_parent_b {std::nullopt}
 
std::vector< PrimitiveOperationgates
 

Constructor & Destructor Documentation

◆ AlgorithmDescription()

encrypto::motion::AlgorithmDescription::AlgorithmDescription ( )
default

Member Function Documentation

◆ FromAby() [1/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromAby ( const std::string &  path)
static
Here is the call graph for this function:

◆ FromAby() [2/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromAby ( std::ifstream &  stream)
static
Here is the call graph for this function:

◆ FromAby() [3/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromAby ( std::string &&  path)
static
Here is the call graph for this function:

◆ FromBristol() [1/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromBristol ( const std::string &  path)
static
Here is the caller graph for this function:

◆ FromBristol() [2/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromBristol ( std::ifstream &  stream)
static
Here is the call graph for this function:

◆ FromBristol() [3/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromBristol ( std::string &&  path)
static
Here is the call graph for this function:

◆ FromBristolFashion() [1/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromBristolFashion ( const std::string &  path)
static
Here is the caller graph for this function:

◆ FromBristolFashion() [2/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromBristolFashion ( std::ifstream &  stream)
static

◆ FromBristolFashion() [3/3]

AlgorithmDescription encrypto::motion::AlgorithmDescription::FromBristolFashion ( std::string &&  path)
static
Here is the call graph for this function:

Member Data Documentation

◆ gates

std::vector<PrimitiveOperation> encrypto::motion::AlgorithmDescription::gates

◆ number_of_gates

std::size_t encrypto::motion::AlgorithmDescription::number_of_gates {0}

◆ number_of_input_wires_parent_a

std::size_t encrypto::motion::AlgorithmDescription::number_of_input_wires_parent_a {0}

◆ number_of_input_wires_parent_b

std::optional<std::size_t> encrypto::motion::AlgorithmDescription::number_of_input_wires_parent_b {std::nullopt}

◆ number_of_output_wires

std::size_t encrypto::motion::AlgorithmDescription::number_of_output_wires {0}

◆ number_of_wires

std::size_t encrypto::motion::AlgorithmDescription::number_of_wires {0}

The documentation for this struct was generated from the following files: