ScapeGoatTree
Loading...
Searching...
No Matches
iTree.hpp
Go to the documentation of this file.
1//
2// Created by DELL on 24/12/2025.
3//
4
5#ifndef TREE_ITREE_HPP
6#define TREE_ITREE_HPP
7#include "scapegoat_tree.hpp"
8using namespace std;
9typedef int ElemenType;
10
14
15class ITree {
20
25
30
35
40
45
50
55
60
65
73
74
75public:
79 static void TreeUI();
80
81};
82
83
84#endif //TREE_ITREE_HPP
Definition iTree.hpp:15
static void handleOperatorEmpty(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleBatches(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B, opcodes op)
static void handleSucessor(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void TreeUI()
static void handleOperations(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B, opcodes op)
static void handleOperatorCompare(const ScapeGoatTree< ElemenType > &A, const ScapeGoatTree< ElemenType > &B)
static void hanleMinMax(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B, opcodes op)
static void handleCoreOperators(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B, opcodes op)
static void handleDisplay(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B, opcodes op)
static void handleOperatorMerge(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleUndoRedo(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B, opcodes op)
static ScapeGoatTree< ElemenType > & selectTree(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleBalance(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleSuminRange(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleSplit(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleValuesinRange(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleKthSmallestElement(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
static void handleClear(ScapeGoatTree< ElemenType > &A, ScapeGoatTree< ElemenType > &B)
Definition scapegoat_tree.hpp:53
opcodes
Definition iTree.hpp:11
@ BATCH_DELETE
@ DISPLAY_LEVELS
@ DISPLAY_PREORDER
@ BATCH_INSERT
@ DISPLAY_POSTORDER
@ VALUESINRANGE
@ DISPLAY_INORDER
int ElemenType
Definition iTree.hpp:9
Scapegoat Tree implementation.