From d31d6ec33eda15ba550065cfb040ff5e1d781a97 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 28 Oct 2020 17:27:18 +0000 Subject: [PATCH] Documentation for e44943aadbbd727d93b23a8a578ac72d00d92527 --- d0/d52/namespacewiggle__sort.html | 112 ++++ d1/dbe/lu__decomposition_8h_source.html | 2 +- d1/dcc/wiggle__sort_8cpp.html | 215 ++++++++ d1/dcc/wiggle__sort_8cpp.js | 7 + ...2955ecf8669ff6c5b9b1e66bd7db41d_cgraph.map | 3 + ...2955ecf8669ff6c5b9b1e66bd7db41d_cgraph.md5 | 1 + ...2955ecf8669ff6c5b9b1e66bd7db41d_cgraph.svg | 29 + d3/d28/wiggle__sort_8cpp__incl.map | 8 + d3/d28/wiggle__sort_8cpp__incl.md5 | 1 + d3/d28/wiggle__sort_8cpp__incl.svg | 97 ++++ d3/d40/graph__coloring_8cpp.html | 19 +- d3/d40/graph__coloring_8cpp.js | 2 +- d4/d86/large__number_8h_source.html | 2 +- d5/d4c/group__sorting.html | 136 ++++- d5/d4c/group__sorting.js | 6 +- ...8dca7b867074164d5f45b0f3851269d_cgraph.map | 7 + ...8dca7b867074164d5f45b0f3851269d_cgraph.md5 | 1 + ...8dca7b867074164d5f45b0f3851269d_cgraph.svg | 82 +++ d5/d88/md__d_i_r_e_c_t_o_r_y.html | 1 + d5/d91/namespacesorting.html | 3 +- d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html | 6 +- d7/dba/cll_8h_source.html | 2 +- d7/de0/stack_8h_source.html | 2 +- d8/d38/queue_8h_source.html | 2 +- d8/d95/vector__ops_8hpp_source.html | 2 +- dc/d5a/rat__maze_8cpp.html | 2 + ...us_2sorting_2wiggle_sort_8cpp-example.html | 257 +++++++++ dir_bb1b521853a9c46347182a9d10420771.html | 3 + dir_bb1b521853a9c46347182a9d10420771.js | 3 +- examples.html | 110 ++++ examples.js | 4 + files.html | 1 + globals_d.html | 3 + globals_func_d.html | 3 + globals_func_i.html | 6 +- globals_func_m.html | 2 +- globals_func_s.html | 6 +- globals_func_t.html | 47 +- globals_i.html | 6 +- globals_m.html | 2 +- globals_s.html | 6 +- globals_t.html | 45 +- menudata.js | 3 +- namespacemembers.html | 6 +- namespacemembers_func.html | 6 +- namespaces.html | 5 +- namespaces_dup.js | 1 + navtreedata.js | 17 +- navtreeindex0.js | 18 +- navtreeindex1.js | 26 +- navtreeindex2.js | 8 +- navtreeindex3.js | 10 +- navtreeindex4.js | 4 +- navtreeindex5.js | 6 +- navtreeindex6.js | 12 +- search/all_10.js | 138 ++--- search/all_11.js | 234 ++++----- search/all_12.js | 42 +- search/all_13.js | 212 ++++---- search/all_14.js | 494 +++++++++--------- search/all_15.js | 220 ++++---- search/all_16.js | 128 ++--- search/all_17.js | 92 ++-- search/all_18.js | 167 +++--- search/all_19.js | 12 +- search/all_1a.js | 8 +- search/all_1b.js | 6 +- search/all_1c.js | 186 +++---- search/all_5.js | 123 ++--- search/all_6.js | 138 ++--- search/all_7.js | 246 ++++----- search/all_8.js | 152 +++--- search/all_9.js | 88 ++-- search/all_a.js | 378 +++++++------- search/all_b.js | 16 +- search/all_c.js | 36 +- search/all_d.js | 162 +++--- search/all_e.js | 250 ++++----- search/all_f.js | 144 ++--- search/classes_0.js | 40 +- search/classes_1.js | 78 +-- search/classes_10.js | 6 +- search/classes_11.js | 80 +-- search/classes_12.js | 96 ++-- search/classes_13.js | 46 +- search/classes_14.js | 64 +-- search/classes_15.js | 38 +- search/classes_16.js | 62 +-- search/classes_17.js | 4 +- search/classes_18.js | 2 +- search/classes_2.js | 70 +-- search/classes_3.js | 32 +- search/classes_4.js | 34 +- search/classes_5.js | 34 +- search/classes_6.js | 12 +- search/classes_7.js | 18 +- search/classes_8.js | 196 +++---- search/classes_9.js | 2 +- search/classes_a.js | 4 +- search/classes_b.js | 36 +- search/classes_c.js | 76 +-- search/classes_d.js | 36 +- search/classes_e.js | 24 +- search/classes_f.js | 34 +- search/defines_0.js | 4 +- search/defines_1.js | 4 +- search/defines_2.js | 4 +- search/defines_3.js | 2 +- search/defines_4.js | 4 +- search/defines_5.js | 4 +- search/defines_6.js | 4 +- search/files_0.js | 2 +- search/files_1.js | 8 +- search/files_10.js | 26 +- search/files_11.js | 14 +- search/files_12.js | 6 +- search/files_13.js | 36 +- search/files_14.js | 10 +- search/files_15.js | 6 +- search/files_16.js | 3 +- search/files_17.js | 2 +- search/files_2.js | 26 +- search/files_3.js | 20 +- search/files_4.js | 18 +- search/files_5.js | 6 +- search/files_6.js | 18 +- search/files_7.js | 14 +- search/files_8.js | 16 +- search/files_9.js | 8 +- search/files_a.js | 6 +- search/files_b.js | 10 +- search/files_c.js | 26 +- search/files_d.js | 18 +- search/files_e.js | 14 +- search/files_f.js | 8 +- search/functions_0.js | 6 +- search/functions_1.js | 162 +++--- search/functions_10.js | 164 +++--- search/functions_11.js | 18 +- search/functions_12.js | 154 +++--- search/functions_13.js | 378 +++++++------- search/functions_14.js | 164 +++--- search/functions_15.js | 84 +-- search/functions_16.js | 46 +- search/functions_17.js | 149 +++--- search/functions_18.js | 6 +- search/functions_19.js | 2 +- search/functions_1a.js | 4 +- search/functions_1b.js | 186 +++---- search/functions_2.js | 122 ++--- search/functions_3.js | 162 +++--- search/functions_4.js | 187 +++---- search/functions_5.js | 114 ++-- search/functions_6.js | 208 ++++---- search/functions_7.js | 128 ++--- search/functions_8.js | 44 +- search/functions_9.js | 190 +++---- search/functions_a.js | 6 +- search/functions_b.js | 18 +- search/functions_c.js | 102 ++-- search/functions_d.js | 174 +++--- search/functions_e.js | 102 ++-- search/functions_f.js | 116 ++-- search/groups_0.js | 2 +- search/groups_1.js | 4 +- search/groups_2.js | 2 +- search/namespaces_0.js | 2 +- search/namespaces_1.js | 2 +- search/namespaces_10.js | 30 +- search/namespaces_11.js | 2 +- search/namespaces_12.js | 2 +- search/namespaces_13.js | 3 +- search/namespaces_14.js | 2 +- search/namespaces_2.js | 8 +- search/namespaces_3.js | 6 +- search/namespaces_4.js | 4 +- search/namespaces_5.js | 4 +- search/namespaces_6.js | 2 +- search/namespaces_7.js | 2 +- search/namespaces_8.js | 4 +- search/namespaces_9.js | 6 +- search/namespaces_a.js | 10 +- search/namespaces_b.js | 8 +- search/namespaces_c.js | 2 +- search/namespaces_d.js | 6 +- search/namespaces_e.js | 4 +- search/namespaces_f.js | 4 +- search/pages_0.js | 4 +- search/pages_1.js | 2 +- search/pages_2.js | 2 +- search/pages_3.js | 2 +- search/pages_4.js | 4 +- search/related_0.js | 10 +- search/typedefs_0.js | 2 +- search/typedefs_1.js | 2 +- search/typedefs_2.js | 2 +- search/variables_0.js | 4 +- search/variables_1.js | 10 +- search/variables_10.js | 20 +- search/variables_11.js | 2 +- search/variables_12.js | 4 +- search/variables_13.js | 2 +- search/variables_14.js | 2 +- search/variables_15.js | 2 +- search/variables_2.js | 2 +- search/variables_3.js | 4 +- search/variables_4.js | 4 +- search/variables_5.js | 8 +- search/variables_6.js | 16 +- search/variables_7.js | 4 +- search/variables_8.js | 2 +- search/variables_9.js | 6 +- search/variables_a.js | 12 +- search/variables_b.js | 8 +- search/variables_c.js | 16 +- search/variables_d.js | 4 +- search/variables_e.js | 2 +- search/variables_f.js | 18 +- 218 files changed, 5568 insertions(+), 4450 deletions(-) create mode 100644 d0/d52/namespacewiggle__sort.html create mode 100644 d1/dcc/wiggle__sort_8cpp.html create mode 100644 d1/dcc/wiggle__sort_8cpp.js create mode 100644 d1/dcc/wiggle__sort_8cpp_a52955ecf8669ff6c5b9b1e66bd7db41d_cgraph.map create mode 100644 d1/dcc/wiggle__sort_8cpp_a52955ecf8669ff6c5b9b1e66bd7db41d_cgraph.md5 create mode 100644 d1/dcc/wiggle__sort_8cpp_a52955ecf8669ff6c5b9b1e66bd7db41d_cgraph.svg create mode 100644 d3/d28/wiggle__sort_8cpp__incl.map create mode 100644 d3/d28/wiggle__sort_8cpp__incl.md5 create mode 100644 d3/d28/wiggle__sort_8cpp__incl.svg create mode 100644 d5/d4c/group__sorting_gaa8dca7b867074164d5f45b0f3851269d_cgraph.map create mode 100644 d5/d4c/group__sorting_gaa8dca7b867074164d5f45b0f3851269d_cgraph.md5 create mode 100644 d5/d4c/group__sorting_gaa8dca7b867074164d5f45b0f3851269d_cgraph.svg create mode 100644 dd/db0/_2_users_2runner_2work_2_c-_plus-_plus_2_c-_plus-_plus_2sorting_2wiggle_sort_8cpp-example.html create mode 100644 examples.html create mode 100644 examples.js diff --git a/d0/d52/namespacewiggle__sort.html b/d0/d52/namespacewiggle__sort.html new file mode 100644 index 000000000..48556d725 --- /dev/null +++ b/d0/d52/namespacewiggle__sort.html @@ -0,0 +1,112 @@ + + +
+ + + + +|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
Functions for Wiggle Sort algorithm. +More...
+Functions for Wiggle Sort algorithm.
+|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
Wiggle Sort Algorithm Implementation +More...
+#include <iostream>#include <algorithm>#include <vector>#include <cassert>#include <ctime>+Namespaces | |
| sorting | |
| Sorting algorithms. | |
| wiggle_sort | |
| Functions for Wiggle Sort algorithm. | |
+Functions | |
| template<typename T > | |
| std::vector< T > | sorting::wiggle_sort::wiggleSort (const std::vector< T > &arr) |
| Function used for sorting the elements in wave form. More... | |
| template<typename T > | |
| static void | displayElements (const std::vector< T > &arr) |
| Utility function used for printing the elements. Prints elements of the array after they're sorted using wiggle sort algorithm. More... | |
| static void | test () |
| int | main () |
Wiggle Sort Algorithm Implementation
+ +Wiggle Sort sorts the array into a wave like array. An array ‘arr[0..n-1]’ is sorted in wave form, if arr[0] >= arr[1] <= arr[2] >= arr[3] <= arr[4] >= …..
+| std::vector<T> sorting::wiggle_sort::wiggleSort | +( | +const std::vector< T > & | +arr | ) | ++ |
Function used for sorting the elements in wave form.
+Checking whether the even indexed elements are greater than their adjacent odd elements. Traversing all even indexed elements of the input arr. If current element is smaller than the previous odd element, swap them. If current element is smaller than the next odd element, swap them.
+| arr | input array (unsorted elements) |
prints the assigned colors using Graph Coloring algorithm
@@ -137,8 +137,8 @@ FunctionsMain function
+Main function
+Driver Code
+
+
|
+ +static | +
Test function
Sorting algorithms.
+for io operations
Sorting Algorithms.
for std::vector
for std::is_sorted, std::swap for assert for io operations
diff --git a/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html b/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html index b40238695..1a167058a 100644 --- a/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html +++ b/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html @@ -142,7 +142,7 @@ Documentationtest() functions that will invoke the algorithm implementation on random test data with expected output. Use assert() function to confirm that the tests will pass. Requires including the cassert header.|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+