19 #ifndef __EUCLIDEAN_DIST_H_
20 #define __EUCLIDEAN_DIST_H_
22 #include "../../../abycore/circuit/booleancircuits.h"
23 #include "../../../abycore/circuit/arithmeticcircuits.h"
24 #include "../../../abycore/circuit/circuit.h"
25 #include "../../../abycore/aby/abyparty.h"
42 uint32_t nvals, uint32_t bitlen, uint32_t nthreads,
e_mt_gen_alg mt_alg,
57 static uint32_t m_nBitLength;
Definition: booleancircuits.h:27
share * BuildEuclidDistanceCircuit(share *s_x1, share *s_x2, share *s_y1, share *s_y2, BooleanCircuit *bc)
This function is used to build and find the Euclidean Distance.
Definition: euclidean_dist.cpp:128
int32_t test_euclid_dist_circuit(e_role role, char *address, seclvl seclvl, uint32_t nvals, uint32_t bitlen, uint32_t nthreads, e_mt_gen_alg mt_alg, e_sharing sharing)
This function is used for running a testing environment for finding the Euclidean Distance...
Definition: euclidean_dist.cpp:21
e_mt_gen_alg
Enumeration which defines the method that is used for arithmetic multiplication triple generation...
Definition: constants.h:55
Definition: circuit.h:258
e_role
Defines the role of the party or the source / target for certain operations (e.g., input/output)
Definition: constants.h:139
Definition: typedefs.h:79
e_sharing
Enumeration which defines the different sharing which are there in the framework. ...
Definition: constants.h:124