19 #ifndef __HYBRIDPARAMS_H__
20 #define __HYBRIDPARAMS_H__
22 #include "recursiveparams.h"
30 PercyMode it_mode, nqueries_t depth = 0, nservers_t
tau = 0,
31 dbsize_t it_num_blocks = 0, dbsize_t ag_N = 50,
32 dbsize_t c_word_size = 20);
36 dbsize_t it_word_size, ZZ it_modulus, nqueries_t depth = 0,
37 nservers_t
tau = 0, dbsize_t it_num_blocks = 0,
38 dbsize_t ag_N = 50, dbsize_t c_word_size = 20);
43 return iterations[0]->server_block_size();
nservers_t tau() const
Get the level of tau-independence.
Definition: percyparams.h:117
Definition: recursiveparams.h:24
dbsize_t num_blocks() const
Get the number of blocks in the database.
Definition: percyparams.h:102
Definition: hybridparams.h:26
virtual dbsize_t server_block_size() const
Get the size of each block in the database that the datastore will actually use.
Definition: hybridparams.h:42
PercyMode
A PIR protocol.
Definition: percyparams.h:40
dbsize_t block_size() const
Get the size of each block in the database in bytes.
Definition: percyparams.h:104
virtual void print_mode_specific(std::ostream &os) const
Print mode-specific parameters.