mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-08 05:03:59 -05:00
26 lines
657 B
C++
26 lines
657 B
C++
/*
|
|
* DishonestMajorityMachine.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROCESSOR_HONESTMAJORITYMACHINE_H_
|
|
#define PROCESSOR_HONESTMAJORITYMACHINE_H_
|
|
|
|
#include "OnlineMachine.h"
|
|
|
|
class HonestMajorityMachine : public OnlineMachine
|
|
{
|
|
public:
|
|
HonestMajorityMachine(int argc, const char** argv, ez::ezOptionParser& opt,
|
|
OnlineOptions& online_opts, int n_players = 3);
|
|
|
|
template<class V>
|
|
HonestMajorityMachine(int argc, const char** argv, ez::ezOptionParser& opt,
|
|
OnlineOptions& online_opts, V, int nplayers) :
|
|
HonestMajorityMachine(argc, argv, opt, online_opts, nplayers)
|
|
{
|
|
}
|
|
};
|
|
|
|
#endif /* PROCESSOR_HONESTMAJORITYMACHINE_H_ */
|