diff --git a/annotated.html b/annotated.html index 13ab695a2..fb6a4f642 100644 --- a/annotated.html +++ b/annotated.html @@ -96,45 +96,47 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Nmachine_learningMachine learning algorithms
 Cadaline
 NstatisticsStatistical algorithms
 Cstats_computer1
 Cstats_computer2
 CBtree
 Ccll
 Ccompare
 CComplex
 CCycleCheck
 Cdouble_linked_list
 CEdge
 CEntry
 CFenwickTree
 Cgraph
 CGraph
 CItem
 Clarge_number
 Clca
 Clinkedlist
 Clist
 CMinHeap
 CMinHeapNode
 Cmst
 Cnode
 CNode
 CPoint
 Cquery
 CQueue
 Cqueue
 CQueue_Array
 CSegmentIntersection
 CSolution
 Cstack
 Cstack_linkedList
 Ctower
 Ctrie
 CTrie
 CTrieNode
 NciphersAlgorithms for encryption and decryption
 CHillCipherImplementation of Hill Cipher algorithm
 Nmachine_learningMachine learning algorithms
 Cadaline
 NstatisticsStatistical algorithms
 Cstats_computer1
 Cstats_computer2
 CBtree
 Ccll
 Ccompare
 CComplex
 CCycleCheck
 Cdouble_linked_list
 CEdge
 CEntry
 CFenwickTree
 CGraph
 Cgraph
 CItem
 Clarge_number
 Clca
 Clinkedlist
 Clist
 CMinHeap
 CMinHeapNode
 Cmst
 Cnode
 CNode
 CPoint
 Cquery
 Cqueue
 CQueue
 CQueue_Array
 CSegmentIntersection
 CSolution
 Cstack
 Cstack_linkedList
 Ctower
 CTrie
 CTrieNode
 Ctrie
diff --git a/annotated_dup.js b/annotated_dup.js index 673d8f48d..fb1615535 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -1,5 +1,6 @@ var annotated_dup = [ + [ "ciphers", "d6/d4e/namespaceciphers.html", "d6/d4e/namespaceciphers" ], [ "machine_learning", "d8/d77/namespacemachine__learning.html", "d8/d77/namespacemachine__learning" ], [ "statistics", "d2/dcf/namespacestatistics.html", "d2/dcf/namespacestatistics" ], [ "Btree", "d9/d90/struct_btree.html", "d9/d90/struct_btree" ], @@ -11,8 +12,8 @@ var annotated_dup = [ "Edge", "d7/d77/class_edge.html", "d7/d77/class_edge" ], [ "Entry", "dd/d3b/struct_entry.html", "dd/d3b/struct_entry" ], [ "FenwickTree", "dd/d91/class_fenwick_tree.html", "dd/d91/class_fenwick_tree" ], - [ "graph", "dd/d9b/classgraph.html", "dd/d9b/classgraph" ], [ "Graph", "da/d9a/class_graph.html", "da/d9a/class_graph" ], + [ "graph", "dd/d9b/classgraph.html", "dd/d9b/classgraph" ], [ "Item", "db/d66/struct_item.html", "db/d66/struct_item" ], [ "large_number", "db/d82/classlarge__number.html", "db/d82/classlarge__number" ], [ "lca", "dd/df4/structlca.html", "dd/df4/structlca" ], @@ -25,14 +26,14 @@ var annotated_dup = [ "Node", "db/d8b/struct_node.html", "db/d8b/struct_node" ], [ "Point", "d8/dc8/struct_point.html", "d8/dc8/struct_point" ], [ "query", "dd/d1b/structquery.html", "dd/d1b/structquery" ], - [ "Queue", "dc/db5/struct_queue.html", "dc/db5/struct_queue" ], [ "queue", "db/da9/classqueue.html", "db/da9/classqueue" ], + [ "Queue", "dc/db5/struct_queue.html", "dc/db5/struct_queue" ], [ "Queue_Array", "d0/dd2/class_queue___array.html", "d0/dd2/class_queue___array" ], [ "SegmentIntersection", "d4/db4/struct_segment_intersection.html", "d4/db4/struct_segment_intersection" ], [ "Solution", "dd/d4f/class_solution.html", "dd/d4f/class_solution" ], [ "stack", "d1/dc2/classstack.html", "d1/dc2/classstack" ], [ "stack_linkedList", "d2/dc4/classstack__linked_list.html", "d2/dc4/classstack__linked_list" ], [ "tower", "d2/d2c/structtower.html", "d2/d2c/structtower" ], - [ "trie", "d4/dd9/structtrie.html", "d4/dd9/structtrie" ], - [ "Trie", "dd/d2f/class_trie.html", "dd/d2f/class_trie" ] + [ "Trie", "dd/d2f/class_trie.html", "dd/d2f/class_trie" ], + [ "trie", "d4/dd9/structtrie.html", "d4/dd9/structtrie" ] ]; \ No newline at end of file diff --git a/classes.html b/classes.html index 0cb20f439..e70b62cf2 100644 --- a/classes.html +++ b/classes.html @@ -94,93 +94,97 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
Class Index
-
a | b | c | d | e | f | g | i | l | m | n | p | q | s | t
+
a | b | c | d | e | f | g | h | i | l | m | n | p | q | s | t
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + - - - + + + - + + +
  a  
  e  
  l  
-
Node   stack   
  p  
-
stack_linkedList   
adaline (machine_learning)   Edge   large_number   stats_computer1 (statistics)   
  b  
-
Entry   lca   Point   stats_computer2 (statistics)   
  f  
-
linkedlist   
  q  
-
  t  
-
Btree   list   
  c  
-
FenwickTree   
  m  
-
query   tower   
  g  
-
Queue   trie   
cll   MinHeap   queue   Trie   
compare   graph   MinHeapNode   Queue_Array   Trie::TrieNode   
Complex   Graph   mst   
  s  
-
CycleCheck   
  i  
  n  
Solution   
stack   
adaline (machine_learning)   Edge   Item   node   stack_linkedList   
  b  
+
Entry   
  l  
+
Node   stats_computer1 (statistics)   
  f  
+
  p  
+
stats_computer2 (statistics)   
Btree   large_number   
  t  
+
  c  
+
FenwickTree   lca   Point   
  g  
+
linkedlist   
  q  
+
tower   
cll   list   Trie   
compare   Graph   
  m  
+
query   trie   
Complex   graph   queue   Trie::TrieNode   
CycleCheck   
  h  
+
MinHeap   Queue   
  d  
SegmentIntersection   MinHeapNode   Queue_Array   
Item   node   Solution   
HillCipher (ciphers)   mst   
  s  
+
double_linked_list   
SegmentIntersection   
-
a | b | c | d | e | f | g | i | l | m | n | p | q | s | t
+
a | b | c | d | e | f | g | h | i | l | m | n | p | q | s | t
diff --git a/d0/d01/smallest__circle_8cpp.html b/d0/d01/smallest__circle_8cpp.html index 667afc445..9f9471aea 100644 --- a/d0/d01/smallest__circle_8cpp.html +++ b/d0/d01/smallest__circle_8cpp.html @@ -463,7 +463,7 @@ Here is the call graph for this function:

Test case: result should be:
Circle with
radius 1.821078397711709
- centre at (2.142857142857143, 1.7857142857142856)

Todo:
This test fails
+ centre at (2.142857142857143, 1.7857142857142856)

Todo:
This test fails
188  {
189  std::vector<Point> Pv;
190  Pv.push_back(Point(0.5, 1));
diff --git a/d0/dd5/classciphers_1_1_hill_cipher-members.html b/d0/dd5/classciphers_1_1_hill_cipher-members.html new file mode 100644 index 000000000..0e2922cb5 --- /dev/null +++ b/d0/dd5/classciphers_1_1_hill_cipher-members.html @@ -0,0 +1,125 @@ + + + + + + + +Algorithms_in_C++: Member List + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
Algorithms_in_C++ +  1.0.0 +
+
Set of algorithms implemented in C++.
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ciphers::HillCipher Member List
+
+
+ +

This is the complete list of members for ciphers::HillCipher, including all inherited members.

+ + + + + + + + + + + + + + + +
codec(const std::string &text, const matrix< int > &key)ciphers::HillCipherinlineprivatestatic
decrypt_text(const std::string &text, const matrix< int > &decrypt_key)ciphers::HillCipherinlinestatic
encrypt_text(const std::string &text, const matrix< int > &encrypt_key)ciphers::HillCipherinlinestatic
gcd(T a, T b)ciphers::HillCipherinlineprivatestatic
generate_decryption_key(matrix< int > const &encrypt_key)ciphers::HillCipherinlinestatic
generate_encryption_key(size_t size, int limit1=0, int limit2=10)ciphers::HillCipherinlinestatic
generate_keys(size_t size, int limit1=0, int limit2=10)ciphers::HillCipherinlinestatic
get_char_idx(const char ch)ciphers::HillCipherinlineprivatestatic
get_idx_char(const uint8_t idx)ciphers::HillCipherinlineprivatestatic
get_inverse(matrix< T > const &A)ciphers::HillCipherinlineprivatestatic
mat_mul(const std::valarray< uint8_t > &vector, const matrix< int > &key)ciphers::HillCipherinlineprivatestatic
modulo(int a, int b) (defined in ciphers::HillCipher)ciphers::HillCipherinlineprivatestatic
rand_range(T1 a, T1 b)ciphers::HillCipherinlineprivatestatic
rand_range(matrix< T2 > *M, T1 a, T1 b)ciphers::HillCipherinlineprivatestatic
+
+ + + + diff --git a/d1/dbe/lu__decomposition_8h.html b/d1/dbe/lu__decomposition_8h.html index 846804e1d..9c3557342 100644 --- a/d1/dbe/lu__decomposition_8h.html +++ b/d1/dbe/lu__decomposition_8h.html @@ -112,7 +112,7 @@ Include dependency graph for lu_decomposition.h:
This graph shows which files directly or indirectly include this file:
-
+
diff --git a/d1/df3/hash__search_8cpp.html b/d1/df3/hash__search_8cpp.html index df11fcde6..a9cfcf170 100644 --- a/d1/df3/hash__search_8cpp.html +++ b/d1/df3/hash__search_8cpp.html @@ -164,7 +164,7 @@ int 
Copyright
2020 Arctic2333

In this algorithm, we use the method of division and reservation remainder to construct the hash function, and use the method of chain address to solve the conflict, that is, we link a chain list after the data, and store all the records whose keywords are synonyms in the same linear chain list.

Warning
This program is only for educational purposes. It has serious flaws in implementation with regards to memory management resulting in large amounts of memory leaks.
-
Todo:
fix the program for memory leaks and better structure in C++ and not C fashion
+
Todo:
fix the program for memory leaks and better structure in C++ and not C fashion

Typedef Documentation

◆ node

@@ -204,7 +204,7 @@ int 
Warning
dynamic memory allocated to n never gets freed.
-
Todo:
fix memory leak
+
Todo:
fix memory leak
55  { // Construct hash table
56  link p, n;
57  int index;
diff --git a/d3/d1a/hill__cipher_8cpp__incl.map b/d3/d1a/hill__cipher_8cpp__incl.map new file mode 100644 index 000000000..f6ec95df1 --- /dev/null +++ b/d3/d1a/hill__cipher_8cpp__incl.map @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/d3/d1a/hill__cipher_8cpp__incl.md5 b/d3/d1a/hill__cipher_8cpp__incl.md5 new file mode 100644 index 000000000..a26710b8e --- /dev/null +++ b/d3/d1a/hill__cipher_8cpp__incl.md5 @@ -0,0 +1 @@ +5da01c9ba436ba7107a4db9eae614d8e \ No newline at end of file diff --git a/d3/d1a/hill__cipher_8cpp__incl.svg b/d3/d1a/hill__cipher_8cpp__incl.svg new file mode 100644 index 000000000..e76dbc231 --- /dev/null +++ b/d3/d1a/hill__cipher_8cpp__incl.svg @@ -0,0 +1,282 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ciphers/hill_cipher.cpp + + + +Node1 + + +ciphers/hill_cipher.cpp + + + + + +Node2 + + +cassert + + + + + +Node1->Node2 + + + + + +Node3 + + +cmath + + + + + +Node1->Node3 + + + + + +Node4 + + +cstring + + + + + +Node1->Node4 + + + + + +Node5 + + +ctime + + + + + +Node1->Node5 + + + + + +Node6 + + +fstream + + + + + +Node1->Node6 + + + + + +Node7 + + +iomanip + + + + + +Node1->Node7 + + + + + +Node8 + + +iostream + + + + + +Node1->Node8 + + + + + +Node9 + + +string + + + + + +Node1->Node9 + + + + + +Node10 + + +../numerical_methods +/lu_decomposition.h + + + + + +Node1->Node10 + + + + + +Node10->Node8 + + + + + +Node11 + + +valarray + + + + + +Node10->Node11 + + + + + +Node12 + + +vector + + + + + +Node10->Node12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/d3/d1a/hill__cipher_8cpp__incl_org.svg b/d3/d1a/hill__cipher_8cpp__incl_org.svg new file mode 100644 index 000000000..b9e502f18 --- /dev/null +++ b/d3/d1a/hill__cipher_8cpp__incl_org.svg @@ -0,0 +1,194 @@ + + + + + + +ciphers/hill_cipher.cpp + + + +Node1 + + +ciphers/hill_cipher.cpp + + + + + +Node2 + + +cassert + + + + + +Node1->Node2 + + + + + +Node3 + + +cmath + + + + + +Node1->Node3 + + + + + +Node4 + + +cstring + + + + + +Node1->Node4 + + + + + +Node5 + + +ctime + + + + + +Node1->Node5 + + + + + +Node6 + + +fstream + + + + + +Node1->Node6 + + + + + +Node7 + + +iomanip + + + + + +Node1->Node7 + + + + + +Node8 + + +iostream + + + + + +Node1->Node8 + + + + + +Node9 + + +string + + + + + +Node1->Node9 + + + + + +Node10 + + +../numerical_methods +/lu_decomposition.h + + + + + +Node1->Node10 + + + + + +Node10->Node8 + + + + + +Node11 + + +valarray + + + + + +Node10->Node11 + + + + + +Node12 + + +vector + + + + + +Node10->Node12 + + + + + diff --git a/d3/d26/binary__search__tree_8cpp.html b/d3/d26/binary__search__tree_8cpp.html index e100bdb8c..681a6c58e 100644 --- a/d3/d26/binary__search__tree_8cpp.html +++ b/d3/d26/binary__search__tree_8cpp.html @@ -157,7 +157,7 @@ Variables

Detailed Description

A simple tree implementation using structured nodes.

-
Todo:
update code to use C++ STL library features and OO structure
+
Todo:
update code to use C++ STL library features and OO structure
Warning
This program is a poor implementation - C style - and does not utilize any of the C++ STL features.
diff --git a/d4/d86/large__number_8h_source.html b/d4/d86/large__number_8h_source.html index 2183b2d6b..f0078cc61 100644 --- a/d4/d86/large__number_8h_source.html +++ b/d4/d86/large__number_8h_source.html @@ -508,6 +508,7 @@ $(document).ready(function(){initNavTree('d4/d86/large__number_8h_source.html','
createNode
node * createNode(int data)
Definition: avltree.cpp:21
CycleCheck
Definition: cycle_check_directed_graph.cpp:153
CycleCheck::isCyclicDFSHelper
static bool isCyclicDFSHelper(AdjList const &adjList, std::vector< nodeStates > *state, unsigned int node)
Definition: cycle_check_directed_graph.cpp:165
+
main
int main()
Definition: hill_cipher.cpp:532
large_number::operator*=
large_number & operator*=(const T n)
Definition: large_number.h:238
large_number::large_number
large_number()
Definition: large_number.h:27
init
void init()
Definition: sieve_of_eratosthenes.cpp:52
@@ -609,7 +610,6 @@ $(document).ready(function(){initNavTree('d4/d86/large__number_8h_source.html','
std::set::insert
T insert(T... args)
show
void show(const struct tower *const F, const struct tower *const T, const struct tower *const U)
Definition: tower_of_hanoi.cpp:19
compare
Definition: huffman.cpp:28
-
main
int main()
Definition: avltree.cpp:134
std::ios_base::sync_with_stdio
T sync_with_stdio(T... args)
stack
Definition: stack.h:26
get_clock_diff
double get_clock_diff(clock_t start_t, clock_t end_t)
Definition: kohonen_som_topology.cpp:561
diff --git a/d5/d88/md__d_i_r_e_c_t_o_r_y.html b/d5/d88/md__d_i_r_e_c_t_o_r_y.html index 9974fecae..ba72d406d 100644 --- a/d5/d88/md__d_i_r_e_c_t_o_r_y.html +++ b/d5/d88/md__d_i_r_e_c_t_o_r_y.html @@ -107,6 +107,11 @@ Backtracking
  • Sudoku Solve
  • +Ciphers

    + +

    Data Structures

    -

    +

    Dynamic Programming

    -

    +

    Geometry

    -

    +

    Graph

    -

    +

    Greedy Algorithms

    -

    +

    Hashing

    -

    +

    Machine Learning

    -

    +

    Math

    -

    +

    Numerical Methods

    -

    +

    Operations On Datastructures

    -

    +

    Others

    -

    +

    Probability

    -

    +

    Range Queries

    -

    +

    Search

    -

    +

    Sorting

    -

    +

    Strings