From 5b6c358009ce01139eedaead8bd88a84ef45658e Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Fri, 16 Oct 2020 12:47:23 +0000 Subject: [PATCH] Documentation for 06b6714b0e3acc934518f257be3adc6e5694f4f8 --- annotated.html | 109 ++-- classes.html | 23 +- d1/d9a/hopcroft__karp_8cpp.html | 291 +++++++++ d1/d9a/hopcroft__karp_8cpp.js | 6 + ...8ec9ad42717780d6caaff9d3d6977f9_cgraph.map | 9 + ...8ec9ad42717780d6caaff9d3d6977f9_cgraph.md5 | 1 + ...8ec9ad42717780d6caaff9d3d6977f9_cgraph.svg | 119 ++++ ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 10 + ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 1 + ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 234 +++++++ ...b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg | 146 +++++ d5/d88/md__d_i_r_e_c_t_o_r_y.html | 1 + d5/ddb/bogo__sort_8cpp.html | 2 +- d8/d69/classgraph_1_1_h_k_graph.html | 482 +++++++++++++++ d8/d69/classgraph_1_1_h_k_graph.js | 17 + ...b49011c09cf90a116ab53bef61cd95a_cgraph.map | 4 + ...b49011c09cf90a116ab53bef61cd95a_cgraph.md5 | 1 + ...b49011c09cf90a116ab53bef61cd95a_cgraph.svg | 37 ++ ...491add14d9fc04f679114ca6d6f0f93_cgraph.map | 4 + ...491add14d9fc04f679114ca6d6f0f93_cgraph.md5 | 1 + ...491add14d9fc04f679114ca6d6f0f93_cgraph.svg | 37 ++ ...dbda80d02bdc26c3e8ff7330c9be75d_cgraph.map | 6 + ...dbda80d02bdc26c3e8ff7330c9be75d_cgraph.md5 | 1 + ...dbda80d02bdc26c3e8ff7330c9be75d_cgraph.svg | 74 +++ ...794950cb3407b6b47d3dc986cf714c0_cgraph.map | 4 + ...794950cb3407b6b47d3dc986cf714c0_cgraph.md5 | 1 + ...794950cb3407b6b47d3dc986cf714c0_cgraph.svg | 37 ++ d8/d95/vector__ops_8hpp_source.html | 14 + d9/d43/hopcroft__karp_8cpp__incl.map | 10 + d9/d43/hopcroft__karp_8cpp__incl.md5 | 1 + d9/d43/hopcroft__karp_8cpp__incl.svg | 127 ++++ dc/dea/classgraph_1_1_h_k_graph-members.html | 123 ++++ .../classgraph_1_1_h_k_graph__coll__graph.map | 6 + .../classgraph_1_1_h_k_graph__coll__graph.md5 | 1 + .../classgraph_1_1_h_k_graph__coll__graph.svg | 73 +++ df/dce/namespacegraph.html | 3 + df/dce/namespacegraph.js | 1 + dir_12552d7fa429bf94a2e32e5cf39f7e69.html | 3 + dir_12552d7fa429bf94a2e32e5cf39f7e69.js | 1 + files.html | 5 +- functions_a.html | 4 +- functions_b.html | 3 + functions_d.html | 6 + functions_func.html | 569 ------------------ functions_func.js | 26 + functions_func_a.html | 135 +++++ functions_func_b.html | 112 ++++ functions_func_c.html | 134 +++++ functions_func_d.html | 160 +++++ functions_func_e.html | 132 ++++ functions_func_f.html | 122 ++++ functions_func_g.html | 147 +++++ functions_func_h.html | 124 ++++ functions_func_i.html | 144 +++++ functions_func_k.html | 109 ++++ functions_func_l.html | 133 ++++ functions_func_m.html | 122 ++++ functions_func_n.html | 122 ++++ functions_func_o.html | 149 +++++ functions_func_p.html | 130 ++++ functions_func_q.html | 113 ++++ functions_func_r.html | 124 ++++ functions_func_s.html | 151 +++++ functions_func_t.html | 121 ++++ functions_func_u.html | 111 ++++ functions_func_v.html | 113 ++++ functions_func_~.html | 118 ++++ functions_h.html | 6 + functions_m.html | 3 + functions_n.html | 5 +- functions_p.html | 6 + functions_vars.html | 22 +- globals_func_m.html | 43 +- globals_func_t.html | 31 +- globals_m.html | 61 +- globals_t.html | 23 +- hierarchy.html | 79 +-- hierarchy.js | 5 +- index.html | 8 +- inherit_graph_19.map | 2 +- inherit_graph_19.md5 | 2 +- inherit_graph_19.svg | 15 +- inherit_graph_20.map | 2 +- inherit_graph_20.md5 | 2 +- inherit_graph_20.svg | 15 +- inherit_graph_21.map | 2 +- inherit_graph_21.md5 | 2 +- inherit_graph_21.svg | 12 +- inherit_graph_22.map | 2 +- inherit_graph_22.md5 | 2 +- inherit_graph_22.svg | 12 +- inherit_graph_23.map | 2 +- inherit_graph_23.md5 | 2 +- inherit_graph_23.svg | 12 +- inherit_graph_24.map | 2 +- inherit_graph_24.md5 | 2 +- inherit_graph_24.svg | 12 +- inherit_graph_25.map | 2 +- inherit_graph_25.md5 | 2 +- inherit_graph_25.svg | 12 +- inherit_graph_26.map | 2 +- inherit_graph_26.md5 | 2 +- inherit_graph_26.svg | 12 +- inherit_graph_27.map | 2 +- inherit_graph_27.md5 | 2 +- inherit_graph_27.svg | 12 +- inherit_graph_28.map | 2 +- inherit_graph_28.md5 | 2 +- inherit_graph_28.svg | 15 +- inherit_graph_29.map | 2 +- inherit_graph_29.md5 | 2 +- inherit_graph_29.svg | 12 +- inherit_graph_30.map | 2 +- inherit_graph_30.md5 | 2 +- inherit_graph_30.svg | 15 +- inherit_graph_31.map | 2 +- inherit_graph_31.md5 | 2 +- inherit_graph_31.svg | 12 +- inherit_graph_32.map | 2 +- inherit_graph_32.md5 | 2 +- inherit_graph_32.svg | 12 +- inherit_graph_33.map | 2 +- inherit_graph_33.md5 | 2 +- inherit_graph_33.svg | 12 +- inherit_graph_34.map | 2 +- inherit_graph_34.md5 | 2 +- inherit_graph_34.svg | 12 +- inherit_graph_35.map | 2 +- inherit_graph_35.md5 | 2 +- inherit_graph_35.svg | 10 +- inherit_graph_36.map | 2 +- inherit_graph_36.md5 | 2 +- inherit_graph_36.svg | 15 +- inherit_graph_37.map | 2 +- inherit_graph_37.md5 | 2 +- inherit_graph_37.svg | 15 +- inherit_graph_38.map | 2 +- inherit_graph_38.md5 | 2 +- inherit_graph_38.svg | 15 +- inherit_graph_39.map | 2 +- inherit_graph_39.md5 | 2 +- inherit_graph_39.svg | 15 +- inherit_graph_40.map | 2 +- inherit_graph_40.md5 | 2 +- inherit_graph_40.svg | 12 +- inherit_graph_41.map | 2 +- inherit_graph_41.md5 | 2 +- inherit_graph_41.svg | 12 +- inherit_graph_42.map | 2 +- inherit_graph_42.md5 | 2 +- inherit_graph_42.svg | 12 +- inherit_graph_43.map | 4 +- inherit_graph_43.md5 | 2 +- inherit_graph_43.svg | 52 +- inherit_graph_44.map | 4 +- inherit_graph_44.md5 | 2 +- inherit_graph_44.svg | 54 +- inherit_graph_45.map | 2 +- inherit_graph_45.md5 | 2 +- inherit_graph_45.svg | 12 +- inherit_graph_46.map | 2 +- inherit_graph_46.md5 | 2 +- inherit_graph_46.svg | 12 +- inherit_graph_47.map | 2 +- inherit_graph_47.md5 | 2 +- inherit_graph_47.svg | 12 +- inherit_graph_48.map | 2 +- inherit_graph_48.md5 | 2 +- inherit_graph_48.svg | 12 +- inherit_graph_49.map | 2 +- inherit_graph_49.md5 | 2 +- inherit_graph_49.svg | 4 +- inherit_graph_50.map | 2 +- inherit_graph_50.md5 | 2 +- inherit_graph_50.svg | 12 +- inherit_graph_51.map | 2 +- inherit_graph_51.md5 | 2 +- inherit_graph_51.svg | 12 +- inherit_graph_52.map | 2 +- inherit_graph_52.md5 | 2 +- inherit_graph_52.svg | 12 +- inherit_graph_53.map | 3 + inherit_graph_53.md5 | 1 + inherit_graph_53.svg | 22 + inherits.html | 68 ++- menudata.js | 45 +- navtreedata.js | 22 +- navtreeindex0.js | 20 +- navtreeindex1.js | 10 +- navtreeindex2.js | 14 +- navtreeindex3.js | 54 +- navtreeindex4.js | 38 +- navtreeindex5.js | 46 +- navtreeindex6.js | 51 +- search/all_1.js | 4 +- search/all_10.js | 220 +++---- search/all_11.js | 42 +- search/all_12.js | 208 +++---- search/all_13.js | 486 +++++++-------- search/all_14.js | 220 +++---- search/all_15.js | 128 ++-- search/all_16.js | 92 +-- search/all_17.js | 158 ++--- search/all_18.js | 12 +- search/all_19.js | 8 +- search/all_1a.js | 6 +- search/all_1b.js | 186 +++--- search/all_2.js | 81 +-- search/all_3.js | 218 +++---- search/all_4.js | 226 +++---- search/all_5.js | 136 ++--- search/all_6.js | 246 ++++---- search/all_7.js | 148 ++--- search/all_8.js | 85 +-- search/all_9.js | 378 ++++++------ search/all_a.js | 16 +- search/all_b.js | 34 +- search/all_c.js | 158 ++--- search/all_d.js | 234 +++---- search/all_e.js | 140 ++--- search/all_f.js | 138 ++--- search/classes_0.js | 38 +- 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 | 17 +- search/classes_8.js | 196 +++--- search/classes_9.js | 2 +- search/classes_a.js | 4 +- search/classes_b.js | 36 +- search/classes_c.js | 74 +-- 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 | 8 +- search/files_1.js | 26 +- search/files_10.js | 14 +- search/files_11.js | 4 +- search/files_12.js | 32 +- search/files_13.js | 10 +- search/files_14.js | 6 +- search/files_15.js | 2 +- search/files_2.js | 18 +- search/files_3.js | 18 +- search/files_4.js | 6 +- search/files_5.js | 18 +- search/files_6.js | 14 +- search/files_7.js | 15 +- search/files_8.js | 8 +- search/files_9.js | 6 +- search/files_a.js | 10 +- search/files_b.js | 24 +- search/files_c.js | 14 +- search/files_d.js | 12 +- search/files_e.js | 8 +- search/files_f.js | 22 +- search/functions_0.js | 6 +- search/functions_1.js | 166 ++--- search/functions_10.js | 160 ++--- search/functions_11.js | 18 +- search/functions_12.js | 154 ++--- search/functions_13.js | 376 ++++++------ search/functions_14.js | 164 ++--- search/functions_15.js | 84 +-- search/functions_16.js | 46 +- search/functions_17.js | 146 ++--- search/functions_18.js | 6 +- search/functions_19.js | 2 +- search/functions_1a.js | 4 +- search/functions_1b.js | 186 +++--- search/functions_2.js | 117 ++-- search/functions_3.js | 154 ++--- search/functions_4.js | 185 +++--- search/functions_5.js | 112 ++-- search/functions_6.js | 208 +++---- search/functions_7.js | 126 ++-- search/functions_8.js | 42 +- search/functions_9.js | 190 +++--- search/functions_a.js | 6 +- search/functions_b.js | 18 +- search/functions_c.js | 100 +-- search/functions_d.js | 168 +++--- 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 | 28 +- search/namespaces_11.js | 2 +- search/namespaces_12.js | 2 +- search/namespaces_13.js | 2 +- search/namespaces_2.js | 6 +- 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 | 2 +- search/namespaces_9.js | 6 +- search/namespaces_a.js | 6 +- search/namespaces_b.js | 6 +- search/namespaces_c.js | 2 +- search/namespaces_d.js | 2 +- search/namespaces_e.js | 4 +- search/namespaces_f.js | 2 +- search/pages_0.js | 4 +- search/pages_1.js | 2 +- search/pages_2.js | 2 +- search/pages_3.js | 4 +- search/related_0.js | 10 +- search/typedefs_0.js | 2 +- search/typedefs_1.js | 2 +- search/typedefs_2.js | 2 +- search/typedefs_3.js | 2 +- search/variables_0.js | 4 +- search/variables_1.js | 8 +- 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 | 3 +- 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 | 11 +- search/variables_b.js | 8 +- search/variables_c.js | 14 +- search/variables_d.js | 4 +- search/variables_e.js | 2 +- search/variables_f.js | 18 +- 357 files changed, 9994 insertions(+), 5682 deletions(-) create mode 100644 d1/d9a/hopcroft__karp_8cpp.html create mode 100644 d1/d9a/hopcroft__karp_8cpp.js create mode 100644 d1/d9a/hopcroft__karp_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.map create mode 100644 d1/d9a/hopcroft__karp_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.md5 create mode 100644 d1/d9a/hopcroft__karp_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.svg create mode 100644 d1/d9a/hopcroft__karp_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map create mode 100644 d1/d9a/hopcroft__karp_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 create mode 100644 d1/d9a/hopcroft__karp_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg create mode 100644 d1/d9a/hopcroft__karp_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg create mode 100644 d8/d69/classgraph_1_1_h_k_graph.html create mode 100644 d8/d69/classgraph_1_1_h_k_graph.js create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a3b49011c09cf90a116ab53bef61cd95a_cgraph.map create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a3b49011c09cf90a116ab53bef61cd95a_cgraph.md5 create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a3b49011c09cf90a116ab53bef61cd95a_cgraph.svg create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a7491add14d9fc04f679114ca6d6f0f93_cgraph.map create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a7491add14d9fc04f679114ca6d6f0f93_cgraph.md5 create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a7491add14d9fc04f679114ca6d6f0f93_cgraph.svg create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a9dbda80d02bdc26c3e8ff7330c9be75d_cgraph.map create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a9dbda80d02bdc26c3e8ff7330c9be75d_cgraph.md5 create mode 100644 d8/d69/classgraph_1_1_h_k_graph_a9dbda80d02bdc26c3e8ff7330c9be75d_cgraph.svg create mode 100644 d8/d69/classgraph_1_1_h_k_graph_ae794950cb3407b6b47d3dc986cf714c0_cgraph.map create mode 100644 d8/d69/classgraph_1_1_h_k_graph_ae794950cb3407b6b47d3dc986cf714c0_cgraph.md5 create mode 100644 d8/d69/classgraph_1_1_h_k_graph_ae794950cb3407b6b47d3dc986cf714c0_cgraph.svg create mode 100644 d9/d43/hopcroft__karp_8cpp__incl.map create mode 100644 d9/d43/hopcroft__karp_8cpp__incl.md5 create mode 100644 d9/d43/hopcroft__karp_8cpp__incl.svg create mode 100644 dc/dea/classgraph_1_1_h_k_graph-members.html create mode 100644 df/d82/classgraph_1_1_h_k_graph__coll__graph.map create mode 100644 df/d82/classgraph_1_1_h_k_graph__coll__graph.md5 create mode 100644 df/d82/classgraph_1_1_h_k_graph__coll__graph.svg create mode 100644 functions_func.js create mode 100644 functions_func_a.html create mode 100644 functions_func_b.html create mode 100644 functions_func_c.html create mode 100644 functions_func_d.html create mode 100644 functions_func_e.html create mode 100644 functions_func_f.html create mode 100644 functions_func_g.html create mode 100644 functions_func_h.html create mode 100644 functions_func_i.html create mode 100644 functions_func_k.html create mode 100644 functions_func_l.html create mode 100644 functions_func_m.html create mode 100644 functions_func_n.html create mode 100644 functions_func_o.html create mode 100644 functions_func_p.html create mode 100644 functions_func_q.html create mode 100644 functions_func_r.html create mode 100644 functions_func_s.html create mode 100644 functions_func_t.html create mode 100644 functions_func_u.html create mode 100644 functions_func_v.html create mode 100644 functions_func_~.html create mode 100644 inherit_graph_53.map create mode 100644 inherit_graph_53.md5 create mode 100644 inherit_graph_53.svg diff --git a/annotated.html b/annotated.html index 8820b426e..6e5f576e9 100644 --- a/annotated.html +++ b/annotated.html @@ -115,60 +115,61 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
|
-Entry (double_hashing) | +Entry (quadratic_probing) |
|
Node | SkipList (data_structures) | ||
| Entry (linear_probing) | +|||||||
| Entry (double_hashing) |
|
Solution | |||||
| adaline (machine_learning) | -Entry (quadratic_probing) | +Entry (linear_probing) | large_number | -Stack (others::postfix_expression) | +stack | ||
|
@@ -120,7 +120,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
link (data_structures::linked_list) | Point (geometry::jarvis) | -stack | +Stack (others::postfix_expression) | |||
| linkedlist | Point | @@ -187,24 +187,25 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })||||||
| DenseLayer (machine_learning::neural_network::layers) | -HLD (range_queries::heavy_light_decomposition) | +HKGraph (graph) | NeuralNetwork (machine_learning::neural_network) | ||||
| double_linked_list | -
|
+HLD (range_queries::heavy_light_decomposition) | Node (data_structures) | SegmentIntersection | |||
|
+
|
node | SG (range_queries::heavy_light_decomposition) | ||||
| Item | -|||||||
| Edge | -Item | +||||||
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
Implementation of Hopcroft–Karp algorithm. +More...
+#include <iostream>#include <cstdlib>#include <queue>#include <list>#include <climits>#include <memory>#include <cassert>+Classes | |
| class | graph::HKGraph |
| Represents Bipartite graph for Hopcroft Karp implementation. More... | |
+Namespaces | |
| graph | |
| Graph algorithms. | |
+Functions | |
| void | tests () |
| int | main () |
| Main function. More... | |
Implementation of Hopcroft–Karp algorithm.
+The Hopcroft–Karp algorithm is an algorithm that takes as input a bipartite graph and produces as output a maximum cardinality matching, it runs in O(E√V) time in worst case.
+A bipartite graph (or bigraph) is a graph whose vertices can be divided into two disjoint and independent sets U and V such that every edge connects a vertex in U to one in V. Vertex sets U and V are usually called the parts of the graph. Equivalently, a bipartite graph is a graph that does not contain any odd-length cycles.
+Given a matching M, edges that are part of matching are called Matching edges and edges that are not part of M (or connect free nodes) are called Not-Matching edges.
+Given a bipartite graphs G = ( V = ( X , Y ) , E ) whose partition has the parts X and Y, with E denoting the edges of the graph, the goal is to find a matching with as many edges as possible. Equivalently, a matching that covers as many vertices as possible.
+Given a matching M, an augmenting path is an alternating path that starts from and ends on free vertices. All single edge paths that start and end with free vertices are augmenting paths.
+A matching M is not maximum if there exists an augmenting path. It is also true other way, i.e, a matching is maximum if no augmenting path exists.
+1) Initialize the Maximal Matching M as empty. 2) While there exists an Augmenting Path P Remove matching edges of P from M and add not-matching edges of P to M (This increases size of M by 1 as P starts and ends with a free vertex i.e. a node that is not part of matching.) 3) Return M.
+ +| int main | +( | +void | +) | ++ |
Main function.
+| void tests | +( | +) | ++ |
Self-test implementation
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.
-Shuffle the array untill array is sorted.
diff --git a/d8/d69/classgraph_1_1_h_k_graph.html b/d8/d69/classgraph_1_1_h_k_graph.html new file mode 100644 index 000000000..1b4e3cad1 --- /dev/null +++ b/d8/d69/classgraph_1_1_h_k_graph.html @@ -0,0 +1,482 @@ + + + + + + + +|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
Represents Bipartite graph for Hopcroft Karp implementation. + More...
++Public Member Functions | |
| + | HKGraph () |
| Default Constructor for initialization. | |
| HKGraph (int m, int n) | |
| Constructor for initialization. More... | |
| void | addEdge (int u, int v) |
| function to add edge from u to v More... | |
| bool | bfs () |
| This function checks for the possibility of augmented path availability. More... | |
| bool | dfs (int u) |
| This functions checks whether an augmenting path is available exists beginning with free vertex u. More... | |
| int | hopcroftKarpAlgorithm () |
| This function counts the number of augmenting paths between left and right sides of the Bipartite graph. More... | |
+Private Attributes | |
| +int | m {} |
| m is the number of vertices on left side of Bipartite Graph | |
| +int | n {} |
| n is the number of vertices on right side of Bipartite Graph | |
| +const int | NIL {0} |
| +const int | INF {INT_MAX} |
| +std::vector< std::list< int > > | adj |
| adj[u] stores adjacents of left side and 0 is used for dummy vertex | |
| +std::vector< int > | pair_u |
| value of vertex 'u' ranges from 1 to m | |
| +std::vector< int > | pair_v |
| value of vertex 'v' ranges from 1 to n | |
| +std::vector< int > | dist |
| dist represents the distance between vertex 'u' and vertex 'v' | |
Represents Bipartite graph for Hopcroft Karp implementation.
+| graph::HKGraph::HKGraph | +( | +int | +m, | +
| + | + | int | +n | +
| + | ) | ++ |
| void graph::HKGraph::addEdge | +( | +int | +u, | +
| + | + | int | +v | +
| + | ) | ++ |
| bool graph::HKGraph::bfs | +( | +) | ++ |
This function checks for the possibility of augmented path availability.
+true if there is an augmenting path available false if there is no augmenting path available | bool graph::HKGraph::dfs | +( | +int | +u | ) | ++ |
This functions checks whether an augmenting path is available exists beginning with free vertex u.
+| u | represents position of vertex |
true if there is an augmenting path beginning with free vertex u false if there is no augmenting path beginning with free vertex u | int graph::HKGraph::hopcroftKarpAlgorithm | +( | +) | ++ |
This function counts the number of augmenting paths between left and right sides of the Bipartite graph.
+|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
This is the complete list of members for graph::HKGraph, including all inherited members.
+| addEdge(int u, int v) | graph::HKGraph | |
| adj | graph::HKGraph | private |
| bfs() | graph::HKGraph | |
| dfs(int u) | graph::HKGraph | |
| dist | graph::HKGraph | private |
| HKGraph() | graph::HKGraph | |
| HKGraph(int m, int n) | graph::HKGraph | |
| hopcroftKarpAlgorithm() | graph::HKGraph | |
| INF (defined in graph::HKGraph) | graph::HKGraph | private |
| m | graph::HKGraph | private |
| n | graph::HKGraph | private |
| NIL (defined in graph::HKGraph) | graph::HKGraph | private |
| pair_u | graph::HKGraph | private |
| pair_v | graph::HKGraph | private |
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
|
+ Algorithms_in_C++
+ 1.0.0
+
+ Set of algorithms implemented in C++.
+ |
+
a-z a-z The repository is a collection of open-source implementation of a variety of algorithms implemented in C++ and licensed under MIT License. The algorithms span a variety of topics from computer science, mathematics and statistics, data science, machine learning, engineering, etc.. The implementations and the associated documentation are meant to provide a learning resource for educators and students. Hence, one may find more than one implementation for the same objective but using a different algorithm strategies and optimizations.
-Online Documentation is generated from the repository source codes directly. The documentation contains all resources including source code snippets, details on execution of the programs, diagrammatic representation of program flow, and links to external resources where necessary. The documentation also introduces interactive source code with links to documentation for C++ STL library functions used. Click on Files menu to see the list of all the files documented with the code.
Documentation of Algorithms in C++ by The Algorithms Contributors is licensed under CC BY-SA 4.0
As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our Contribution Guidelines.