-
@@ -607,12 +607,12 @@ Here is the call graph for this function:
-
diff --git a/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.map b/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.map
index f0beeb8cc..e25234bef 100644
--- a/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.map
+++ b/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.map
@@ -1,12 +1,12 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
diff --git a/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.md5 b/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.md5
index 31a3c2ed1..5a26d5aaf 100644
--- a/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.md5
+++ b/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.md5
@@ -1 +1 @@
-0f4e81a07ef69a23df3613fe5f5a677f
\ No newline at end of file
+6573e351d172d8b938d1a6d0851eb3ae
\ No newline at end of file
diff --git a/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.svg b/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.svg
index 8c1256262..e9f6f0731 100644
--- a/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.svg
+++ b/d1/daa/random__pivot__quick__sort_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph.svg
@@ -4,7 +4,7 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+main
+
+
+
+Node1
+
+
+main
+
+
+
+
+
+Node2
+
+
+std::endl
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
+Node3
+
+
+test
+
+
+
+
+
+Node1->Node3
+
+
+
+
+
+Node4
+
+
+TestCases::runTests
+
+
+
+
+
+Node3->Node4
+
+
+
+
+
+Node4->Node2
+
+
+
+
+
+Node5
+
+
+TestCases::log
+
+
+
+
+
+Node4->Node5
+
+
+
+
+
+Node6
+
+
+TestCases::testCase_1
+
+
+
+
+
+Node4->Node6
+
+
+
+
+
+Node7
+
+
+TestCases::testCase_2
+
+
+
+
+
+Node4->Node7
+
+
+
+
+
+Node8
+
+
+TestCases::testCase_3
+
+
+
+
+
+Node4->Node8
+
+
+
+
+
+Node5->Node2
+
+
+
+
+
+Node6->Node5
+
+
+
+
+
+Node7->Node5
+
+
+
+
+
+Node8->Node5
+
+
+
+
+
+Node9
+
+
+std::vector::push_back
+
+
+
+
+
+Node8->Node9
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph_org.svg b/d5/d45/sublist__search_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph_org.svg
new file mode 100644
index 000000000..9c2dceddf
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_a0ddf1224851353fc92bfbff6f499fa97_cgraph_org.svg
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+main
+
+
+
+Node1
+
+
+main
+
+
+
+
+
+Node2
+
+
+std::endl
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
+Node3
+
+
+test
+
+
+
+
+
+Node1->Node3
+
+
+
+
+
+Node4
+
+
+TestCases::runTests
+
+
+
+
+
+Node3->Node4
+
+
+
+
+
+Node4->Node2
+
+
+
+
+
+Node5
+
+
+TestCases::log
+
+
+
+
+
+Node4->Node5
+
+
+
+
+
+Node6
+
+
+TestCases::testCase_1
+
+
+
+
+
+Node4->Node6
+
+
+
+
+
+Node7
+
+
+TestCases::testCase_2
+
+
+
+
+
+Node4->Node7
+
+
+
+
+
+Node8
+
+
+TestCases::testCase_3
+
+
+
+
+
+Node4->Node8
+
+
+
+
+
+Node5->Node2
+
+
+
+
+
+Node6->Node5
+
+
+
+
+
+Node7->Node5
+
+
+
+
+
+Node8->Node5
+
+
+
+
+
+Node9
+
+
+std::vector::push_back
+
+
+
+
+
+Node8->Node9
+
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.map b/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.map
new file mode 100644
index 000000000..1aade95e6
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.map
@@ -0,0 +1,3 @@
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.md5 b/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.md5
new file mode 100644
index 000000000..5309a3b9f
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.md5
@@ -0,0 +1 @@
+7577453afaeec0dd5d0df2b15014b511
\ No newline at end of file
diff --git a/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.svg b/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.svg
new file mode 100644
index 000000000..a6280394b
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_a4faee403e2758aaab682ed6622ae218c_cgraph.svg
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+search::sublist_search::sublistSearch
+
+
+
+Node1
+
+
+search::sublist_search
+::sublistSearch
+
+
+
+
+
+Node1->Node1
+
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.map b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.map
new file mode 100644
index 000000000..0e9a9e5a9
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.map
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5 b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5
new file mode 100644
index 000000000..2908ecc6e
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5
@@ -0,0 +1 @@
+59cc849d5912d57ceb7252b3490d7478
\ No newline at end of file
diff --git a/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg
new file mode 100644
index 000000000..956f9ce55
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg
@@ -0,0 +1,239 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+test
+
+
+
+Node1
+
+
+test
+
+
+
+
+
+Node2
+
+
+TestCases::runTests
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
+Node3
+
+
+std::endl
+
+
+
+
+
+Node2->Node3
+
+
+
+
+
+Node4
+
+
+TestCases::log
+
+
+
+
+
+Node2->Node4
+
+
+
+
+
+Node5
+
+
+TestCases::testCase_1
+
+
+
+
+
+Node2->Node5
+
+
+
+
+
+Node6
+
+
+TestCases::testCase_2
+
+
+
+
+
+Node2->Node6
+
+
+
+
+
+Node7
+
+
+TestCases::testCase_3
+
+
+
+
+
+Node2->Node7
+
+
+
+
+
+Node4->Node3
+
+
+
+
+
+Node5->Node4
+
+
+
+
+
+Node6->Node4
+
+
+
+
+
+Node7->Node4
+
+
+
+
+
+Node8
+
+
+std::vector::push_back
+
+
+
+
+
+Node7->Node8
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph_org.svg b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph_org.svg
new file mode 100644
index 000000000..00d7c9065
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph_org.svg
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+test
+
+
+
+Node1
+
+
+test
+
+
+
+
+
+Node2
+
+
+TestCases::runTests
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
+Node3
+
+
+std::endl
+
+
+
+
+
+Node2->Node3
+
+
+
+
+
+Node4
+
+
+TestCases::log
+
+
+
+
+
+Node2->Node4
+
+
+
+
+
+Node5
+
+
+TestCases::testCase_1
+
+
+
+
+
+Node2->Node5
+
+
+
+
+
+Node6
+
+
+TestCases::testCase_2
+
+
+
+
+
+Node2->Node6
+
+
+
+
+
+Node7
+
+
+TestCases::testCase_3
+
+
+
+
+
+Node2->Node7
+
+
+
+
+
+Node4->Node3
+
+
+
+
+
+Node5->Node4
+
+
+
+
+
+Node6->Node4
+
+
+
+
+
+Node7->Node4
+
+
+
+
+
+Node8
+
+
+std::vector::push_back
+
+
+
+
+
+Node7->Node8
+
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.map b/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.map
new file mode 100644
index 000000000..48a7de37d
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.map
@@ -0,0 +1,3 @@
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.md5 b/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.md5
new file mode 100644
index 000000000..a4695c413
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.md5
@@ -0,0 +1 @@
+8e9042ad8338865868a933aec2ee7aa8
\ No newline at end of file
diff --git a/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.svg b/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.svg
new file mode 100644
index 000000000..b477c0882
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_ab4054b9ab80a5e609b6fcdf70f2e03b9_cgraph.svg
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+search::sublist_search::makeLinkedList
+
+
+
+Node1
+
+
+search::sublist_search
+::makeLinkedList
+
+
+
+
+
+Node1->Node1
+
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.map b/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.map
new file mode 100644
index 000000000..c9aa5a2aa
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.md5 b/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.md5
new file mode 100644
index 000000000..302c08fe1
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.md5
@@ -0,0 +1 @@
+bec862af2f877079f239e276fbcda98a
\ No newline at end of file
diff --git a/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.svg b/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.svg
new file mode 100644
index 000000000..ebfef0276
--- /dev/null
+++ b/d5/d45/sublist__search_8cpp_ad1028bc215281d62e344af99da57fab2_cgraph.svg
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+search::sublist_search::printLinkedList
+
+
+
+Node1
+
+
+search::sublist_search
+::printLinkedList
+
+
+
+
+
+Node1->Node1
+
+
+
+
+
+Node2
+
+
+std::endl
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
diff --git a/d5/d58/class_test_cases.html b/d5/d58/class_test_cases.html
index 0aca12d85..1895303d5 100644
--- a/d5/d58/class_test_cases.html
+++ b/d5/d58/class_test_cases.html
@@ -99,7 +99,7 @@ $(document).ready(function(){initNavTree('d5/d58/class_test_cases.html','../../'
-
a class containing the necessary test cases
+
class encapsulating the necessary test cases
More...
Executes test cases. More...
void testCase_1 ()
+ A test case contains edge case, Only contains one element. More...
+
+void testCase_2 ()
+ A test case which contains main list of 100 elements and sublist of 20. More...
+
+void testCase_3 ()
+ A test case which contains main list of 50 elements and sublist of 20. More...
+
+void runTests ()
+ Executes test cases. More...
+
+void testCase_1 ()
A test case with single input. More...
void testCase_2 ()
@@ -121,14 +133,68 @@ Public Member Functions
Private Member Functions
template<typename T >
void log (T msg)
+ A function to print given message on console. More...
+
+template<typename T >
+void log (T msg)
A function to print64_t given message on console. More...
-
a class containing the necessary test cases
+
class encapsulating the necessary test cases
+
a class containing the necessary test cases
-
◆ log()
+
◆ log() [1/2]
+
+
+
+
+template<typename T >
+
+
+
+
+
+ void TestCases::log
+ (
+ T
+ msg )
+
+
+
+
+
+inline private
+
+
+
+
+
A function to print given message on console.
+
Template Parameters
+
+ T Type of the given message.
+
+
+
+
Returns void
+
+
+
+
+
+
+
◆ log() [2/2]
@@ -165,8 +231,6 @@ template<typename T >
-
-
@@ -177,7 +241,55 @@ Here is the call graph for this function:
Implementation of Bogosort algorithm
In computer science, bogosort (also known as permutation sort, stupid sort, slowsort, shotgun sort, random sort, monkey sort, bobosort or shuffle sort) is a highly inefficient sorting algorithm based on the generate and test paradigm. Two versions of this algorithm exist: a deterministic version that enumerates all permutations until it hits a sorted one, and a randomized version that randomly permutes its input.Randomized version is implemented here.
-
+
Algorithm
Shuffle the array untill array is sorted.
Author Deep Raval
diff --git a/d7/d92/sublist__search_8cpp__incl.map b/d7/d92/sublist__search_8cpp__incl.map
new file mode 100644
index 000000000..8874bdda7
--- /dev/null
+++ b/d7/d92/sublist__search_8cpp__incl.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/d7/d92/sublist__search_8cpp__incl.md5 b/d7/d92/sublist__search_8cpp__incl.md5
new file mode 100644
index 000000000..433e59740
--- /dev/null
+++ b/d7/d92/sublist__search_8cpp__incl.md5
@@ -0,0 +1 @@
+ee06e2be7a52a6e28f2bfae9950da05a
\ No newline at end of file
diff --git a/d7/d92/sublist__search_8cpp__incl.svg b/d7/d92/sublist__search_8cpp__incl.svg
new file mode 100644
index 000000000..609a8dfb5
--- /dev/null
+++ b/d7/d92/sublist__search_8cpp__incl.svg
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+search/sublist_search.cpp
+
+
+
+Node1
+
+
+search/sublist_search.cpp
+
+
+
+
+
+Node2
+
+
+cassert
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
+Node3
+
+
+iostream
+
+
+
+
+
+Node1->Node3
+
+
+
+
+
+Node4
+
+
+vector
+
+
+
+
+
+Node1->Node4
+
+
+
+
+
diff --git a/d9/d2c/class_test_cases-members.html b/d9/d2c/class_test_cases-members.html
index 421252703..1b186f433 100644
--- a/d9/d2c/class_test_cases-members.html
+++ b/d9/d2c/class_test_cases-members.html
@@ -98,10 +98,15 @@ $(document).ready(function(){initNavTree('d5/d58/class_test_cases.html','../../'
This is the complete list of members for TestCases , including all inherited members.
diff --git a/d9/dca/namespacesearch.html b/d9/dca/namespacesearch.html
index f709c2def..d545ca0c6 100644
--- a/d9/dca/namespacesearch.html
+++ b/d9/dca/namespacesearch.html
@@ -101,7 +101,9 @@ $(document).ready(function(){initNavTree('d9/dca/namespacesearch.html','../../')
Search algorithms.
for std::vector
for assert for io operations, and std::pair
-
Algorithms for searching
+
Algorithms for searching
+
for assert for IO operations
+
Searching algorithms
diff --git a/d9/dca/namespacesearch.js b/d9/dca/namespacesearch.js
new file mode 100644
index 000000000..42df36a48
--- /dev/null
+++ b/d9/dca/namespacesearch.js
@@ -0,0 +1,15 @@
+var namespacesearch =
+[
+ [ "median_search", null, [
+ [ "median_of_medians", "d9/d69/median__search_8cpp.html#a868847218f694e78bf433a0ff7648bae", null ]
+ ] ],
+ [ "saddleback", null, [
+ [ "saddleback", "d3/d22/saddleback__search_8cpp.html#a0a2f1f1a4c93bb57e8c16b8d08f26916", null ]
+ ] ],
+ [ "sublist_search", null, [
+ [ "Node", "da/d61/structsearch_1_1sublist__search_1_1_node.html", "da/d61/structsearch_1_1sublist__search_1_1_node" ],
+ [ "makeLinkedList", "d5/d45/sublist__search_8cpp.html#ab4054b9ab80a5e609b6fcdf70f2e03b9", null ],
+ [ "printLinkedList", "d5/d45/sublist__search_8cpp.html#ad1028bc215281d62e344af99da57fab2", null ],
+ [ "sublistSearch", "d5/d45/sublist__search_8cpp.html#a4faee403e2758aaab682ed6622ae218c", null ]
+ ] ]
+];
\ No newline at end of file
diff --git a/d9/def/namespacesublist__search.html b/d9/def/namespacesublist__search.html
new file mode 100644
index 000000000..e1480d7f4
--- /dev/null
+++ b/d9/def/namespacesublist__search.html
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Functions for the Sublist Search implementation.
+More...
+
+
Functions for the Sublist Search implementation.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
A Node structure representing a single link Node in a linked list.
+ More...
+
+
+
+
+
+uint32_t data = 0
+ the key/value of the node
+
+
+Node * next {}
+ pointer to the next node
+
+
+
+
A Node structure representing a single link Node in a linked list.
+
The documentation for this struct was generated from the following file:
+
+
+
+