6 #ifndef PRIVPOINTLOC_TREE_H 7 #define PRIVPOINTLOC_TREE_H 14 #include "Encryptor.h" 15 #include "PrivPointUtil.h" 229 std::vector<Node *> pList;
230 std::vector<Node *> qList;
231 std::vector<Node *> sList;
232 std::vector<Node *> tList;
233 std::vector<std::vector<std::string>> adjMatrix;
234 std::vector<std::string> allPaths;
int getTreeSize()
Definition: Tree.cpp:26
void setupLists(Node *)
Definition: Tree.cpp:468
void addLeafNodes(Node *)
Definition: Tree.cpp:267
Definition: Encryptor.h:12
void getPathResult(Encryptor &, PrivPointUtil *, helib::Ctxt, helib::Ctxt &, int, int, std::string)
Definition: Tree.cpp:959
void insert(Segment *)
Definition: Tree.cpp:39
std::vector< std::string > getAllPaths()
Definition: Tree.cpp:34
void initAdjacencyMatrix()
Definition: Tree.cpp:520
void printLists()
Definition: Tree.cpp:441
void findPrivatePoint(Encryptor &, PrivPointUtil *, helib::Ctxt, helib::Ctxt &, helib::Ctxt, Node *, int, int)
Definition: Tree.cpp:680
void writeAdjacencyMatrix(Node *)
Definition: Tree.cpp:591
Node * getRoot()
Definition: Tree.cpp:22
void deleteLeafNodes(Node *)
Definition: Tree.cpp:300
void cleanTree(Node *)
Definition: Tree.cpp:400
int getTotalTrapezoids()
Definition: Tree.cpp:30
void writeAdjacencyMatrixToFile(std::string)
Definition: Tree.cpp:635
void findPoint(int, int, Node *)
Definition: Tree.cpp:652
void writeSumsAdjacencyMatrix()
Definition: Tree.cpp:614
helib::Ctxt evaluateAllNodes(Encryptor &, PrivPointUtil *, helib::Ctxt, int, int)
Definition: Tree.cpp:1004
void printPathLabels()
Definition: Tree.cpp:409
void evaluateOnePath(Encryptor &, PrivPointUtil *, helib::Ctxt, helib::Ctxt &, int, int, std::string)
Definition: Tree.cpp:824
void printTree(Node *, int=0)
Definition: Tree.cpp:368
void printAdjacencyMatrix()
Definition: Tree.cpp:626
void readSegmentsFile(std::string)
Definition: Tree.cpp:333
Definition: PrivPointUtil.h:11
void setupPathLabels(Node *, std::string)
Definition: Tree.cpp:423