Documentation for 446e0a5ce8
122
annotated.html
@@ -157,66 +157,68 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
|
||||
<tr id="row_9_0_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_9_0_" class="arrow" onclick="toggleFolder('9_0_')">►</span><span class="icona"><span class="icon">N</span></span><b>iterative_tree_traversals</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_9_0_0_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html" target="_self">Node</a></td><td class="desc">Defines the structure of a node of the tree </td></tr>
|
||||
<tr id="row_9_0_1_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree.html" target="_self">BinaryTree</a></td><td class="desc">Defines the functions associated with the binary tree </td></tr>
|
||||
<tr id="row_9_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_9_1_" class="arrow" onclick="toggleFolder('9_1_')">►</span><span class="icona"><span class="icon">N</span></span><b>postfix_expression</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_9_1_0_" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" target="_self">Stack</a></td><td class="desc">Creates an array to be used as stack for storing values </td></tr>
|
||||
<tr id="row_10_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_10_" class="arrow" onclick="toggleFolder('10_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d4/dd2/namespacequadratic__probing.html" target="_self">quadratic_probing</a></td><td class="desc">An implementation of hash table using <a href="https://en.wikipedia.org/wiki/Quadratic_probing">quadratic probing</a> algorithm </td></tr>
|
||||
<tr id="row_10_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/dd1/structquadratic__probing_1_1_entry.html" target="_self">Entry</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_11_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_11_" class="arrow" onclick="toggleFolder('11_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="dd/d69/namespacerange__queries.html" target="_self">range_queries</a></td><td class="desc">Algorithms and Data Structures that support range queries and updates </td></tr>
|
||||
<tr id="row_11_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_0_" class="arrow" onclick="toggleFolder('11_0_')">►</span><span class="icona"><span class="icon">N</span></span><b>heavy_light_decomposition</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_11_0_0_" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" target="_self">Tree</a></td><td class="desc">A Basic <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, which supports binary lifting </td></tr>
|
||||
<tr id="row_11_0_1_" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html" target="_self">SG</a></td><td class="desc">Segment <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, to store heavy chains </td></tr>
|
||||
<tr id="row_11_0_2_" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html" target="_self">HLD</a></td><td class="desc">The Heavy-Light Decomposition class </td></tr>
|
||||
<tr id="row_11_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_1_" class="arrow" onclick="toggleFolder('11_1_')">►</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d28/classrange__queries_1_1per_seg_tree.html" target="_self">perSegTree</a></td><td class="desc">Range query here is range sum, but the code can be modified to make different queries like range max or min </td></tr>
|
||||
<tr id="row_11_1_0_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_12_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_12_" class="arrow" onclick="toggleFolder('12_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d9/dca/namespacesearch.html" target="_self">search</a></td><td class="desc">For <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a> </td></tr>
|
||||
<tr id="row_12_0_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_12_0_" class="arrow" onclick="toggleFolder('12_0_')">►</span><span class="icona"><span class="icon">N</span></span><b>sublist_search</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_12_0_0_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" target="_self">Node</a></td><td class="desc">A <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> structure representing a single link <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> in a linked list </td></tr>
|
||||
<tr id="row_13_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_13_" class="arrow" onclick="toggleFolder('13_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d2/dcf/namespacestatistics.html" target="_self">statistics</a></td><td class="desc">Statistical algorithms </td></tr>
|
||||
<tr id="row_13_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d7c/classstatistics_1_1stats__computer1.html" target="_self">stats_computer1</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_13_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dab/classstatistics_1_1stats__computer2.html" target="_self">stats_computer2</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_14_" class="arrow" onclick="toggleFolder('14_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d8/dcc/namespacestd.html" target="_self">std</a></td><td class="desc">STL namespace </td></tr>
|
||||
<tr id="row_14_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html" target="_self">is_integral< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dfc/structstd_1_1is__arithmetic_3_01uint128__t_01_4.html" target="_self">is_arithmetic< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d25/structstd_1_1is__unsigned_3_01uint128__t_01_4.html" target="_self">is_unsigned< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_3_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d47/structstd_1_1is__integral_3_01uint256__t_01_4.html" target="_self">is_integral< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/d6d/structstd_1_1is__arithmetic_3_01uint256__t_01_4.html" target="_self">is_arithmetic< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_5_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/d99/structstd_1_1is__unsigned_3_01uint256__t_01_4.html" target="_self">is_unsigned< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_15_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_15_" class="arrow" onclick="toggleFolder('15_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dde/classbinary__search__tree.html" target="_self">binary_search_tree</a></td><td class="desc">The Binary Search Tree class </td></tr>
|
||||
<tr id="row_15_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/db6/structbinary__search__tree_1_1bst__node.html" target="_self">bst_node</a></td><td class="desc">A struct to represent a node in the Binary Search Tree </td></tr>
|
||||
<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d90/struct_btree.html" target="_self">Btree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_17_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d15/classcll.html" target="_self">cll</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/db3/structcompare.html" target="_self">compare</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_19_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d5a/class_complex.html" target="_self">Complex</a></td><td class="desc">Class <a class="el" href="da/d5a/class_complex.html" title="Class Complex to represent complex numbers as a field.">Complex</a> to represent complex numbers as a field </td></tr>
|
||||
<tr id="row_20_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/dbb/class_cycle_check.html" target="_self">CycleCheck</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_21_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dee/classdouble__linked__list.html" target="_self">double_linked_list</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d77/class_edge.html" target="_self">Edge</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_23_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d91/class_fenwick_tree.html" target="_self">FenwickTree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d9a/class_graph.html" target="_self">Graph</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_25_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d1c/classhash__chain.html" target="_self">hash_chain</a></td><td class="desc">Chain class with a given modulus </td></tr>
|
||||
<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d66/struct_item.html" target="_self">Item</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_27_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d82/classlarge__number.html" target="_self">large_number</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/dff/structlinkedlist.html" target="_self">linkedlist</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_29_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d10/structlist.html" target="_self">list</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d05/class_min_heap.html" target="_self">MinHeap</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_31_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d29/struct_min_heap_node.html" target="_self">MinHeapNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_32_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d77/structmst.html" target="_self">mst</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_33_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d8b/struct_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_34_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/da1/structnode.html" target="_self">node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_35_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dc8/struct_point.html" target="_self">Point</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_36_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d1b/structquery.html" target="_self">query</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_37_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/da9/classqueue.html" target="_self">queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_38_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/db5/struct_queue.html" target="_self">Queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_39_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d72/class_r_btree.html" target="_self">RBtree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_40_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/db4/struct_segment_intersection.html" target="_self">SegmentIntersection</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_41_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d4f/class_solution.html" target="_self">Solution</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_42_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/dc2/classstack.html" target="_self">stack</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_43_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dc4/classstack__linked_list.html" target="_self">stack_linkedList</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_44_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d58/class_test_cases.html" target="_self">TestCases</a></td><td class="desc">Class encapsulating the necessary test cases </td></tr>
|
||||
<tr id="row_45_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d2c/structtower.html" target="_self">tower</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_46_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_46_" class="arrow" onclick="toggleFolder('46_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d2f/class_trie.html" target="_self">Trie</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_46_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/d48/struct_trie_1_1_trie_node.html" target="_self">TrieNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_47_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d9a/classuint128__t.html" target="_self">uint128_t</a></td><td class="desc">Class for 128-bit unsigned integer </td></tr>
|
||||
<tr id="row_48_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d83/classuint256__t.html" target="_self">uint256_t</a></td><td class="desc">Class for 256-bit unsigned integer </td></tr>
|
||||
<tr id="row_9_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_9_1_" class="arrow" onclick="toggleFolder('9_1_')">►</span><span class="icona"><span class="icon">N</span></span><b>lru_cache</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_9_1_0_" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html" target="_self">LRUCache</a></td><td class="desc">LRU cache class </td></tr>
|
||||
<tr id="row_9_2_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_9_2_" class="arrow" onclick="toggleFolder('9_2_')">►</span><span class="icona"><span class="icon">N</span></span><b>postfix_expression</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_9_2_0_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" target="_self">Stack</a></td><td class="desc">Creates an array to be used as stack for storing values </td></tr>
|
||||
<tr id="row_10_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_10_" class="arrow" onclick="toggleFolder('10_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d4/dd2/namespacequadratic__probing.html" target="_self">quadratic_probing</a></td><td class="desc">An implementation of hash table using <a href="https://en.wikipedia.org/wiki/Quadratic_probing">quadratic probing</a> algorithm </td></tr>
|
||||
<tr id="row_10_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/dd1/structquadratic__probing_1_1_entry.html" target="_self">Entry</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_11_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_11_" class="arrow" onclick="toggleFolder('11_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="dd/d69/namespacerange__queries.html" target="_self">range_queries</a></td><td class="desc">Algorithms and Data Structures that support range queries and updates </td></tr>
|
||||
<tr id="row_11_0_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_0_" class="arrow" onclick="toggleFolder('11_0_')">►</span><span class="icona"><span class="icon">N</span></span><b>heavy_light_decomposition</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_11_0_0_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" target="_self">Tree</a></td><td class="desc">A Basic <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, which supports binary lifting </td></tr>
|
||||
<tr id="row_11_0_1_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html" target="_self">SG</a></td><td class="desc">Segment <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, to store heavy chains </td></tr>
|
||||
<tr id="row_11_0_2_" class="even" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html" target="_self">HLD</a></td><td class="desc">The Heavy-Light Decomposition class </td></tr>
|
||||
<tr id="row_11_1_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_1_" class="arrow" onclick="toggleFolder('11_1_')">►</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d28/classrange__queries_1_1per_seg_tree.html" target="_self">perSegTree</a></td><td class="desc">Range query here is range sum, but the code can be modified to make different queries like range max or min </td></tr>
|
||||
<tr id="row_11_1_0_" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_12_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_12_" class="arrow" onclick="toggleFolder('12_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d9/dca/namespacesearch.html" target="_self">search</a></td><td class="desc">For <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a> </td></tr>
|
||||
<tr id="row_12_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_12_0_" class="arrow" onclick="toggleFolder('12_0_')">►</span><span class="icona"><span class="icon">N</span></span><b>sublist_search</b></td><td class="desc"></td></tr>
|
||||
<tr id="row_12_0_0_" style="display:none;"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" target="_self">Node</a></td><td class="desc">A <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> structure representing a single link <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> in a linked list </td></tr>
|
||||
<tr id="row_13_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_13_" class="arrow" onclick="toggleFolder('13_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d2/dcf/namespacestatistics.html" target="_self">statistics</a></td><td class="desc">Statistical algorithms </td></tr>
|
||||
<tr id="row_13_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d7c/classstatistics_1_1stats__computer1.html" target="_self">stats_computer1</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_13_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dab/classstatistics_1_1stats__computer2.html" target="_self">stats_computer2</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_14_" class="arrow" onclick="toggleFolder('14_')">▼</span><span class="icona"><span class="icon">N</span></span><a class="el" href="d8/dcc/namespacestd.html" target="_self">std</a></td><td class="desc">STL namespace </td></tr>
|
||||
<tr id="row_14_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html" target="_self">is_integral< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dfc/structstd_1_1is__arithmetic_3_01uint128__t_01_4.html" target="_self">is_arithmetic< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_2_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d25/structstd_1_1is__unsigned_3_01uint128__t_01_4.html" target="_self">is_unsigned< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d47/structstd_1_1is__integral_3_01uint256__t_01_4.html" target="_self">is_integral< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_4_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/d6d/structstd_1_1is__arithmetic_3_01uint256__t_01_4.html" target="_self">is_arithmetic< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/d99/structstd_1_1is__unsigned_3_01uint256__t_01_4.html" target="_self">is_unsigned< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_15_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_15_" class="arrow" onclick="toggleFolder('15_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dde/classbinary__search__tree.html" target="_self">binary_search_tree</a></td><td class="desc">The Binary Search Tree class </td></tr>
|
||||
<tr id="row_15_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/db6/structbinary__search__tree_1_1bst__node.html" target="_self">bst_node</a></td><td class="desc">A struct to represent a node in the Binary Search Tree </td></tr>
|
||||
<tr id="row_16_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d90/struct_btree.html" target="_self">Btree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_17_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d15/classcll.html" target="_self">cll</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_18_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/db3/structcompare.html" target="_self">compare</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_19_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d5a/class_complex.html" target="_self">Complex</a></td><td class="desc">Class <a class="el" href="da/d5a/class_complex.html" title="Class Complex to represent complex numbers as a field.">Complex</a> to represent complex numbers as a field </td></tr>
|
||||
<tr id="row_20_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/dbb/class_cycle_check.html" target="_self">CycleCheck</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_21_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/dee/classdouble__linked__list.html" target="_self">double_linked_list</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_22_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d77/class_edge.html" target="_self">Edge</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_23_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d91/class_fenwick_tree.html" target="_self">FenwickTree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_24_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d9a/class_graph.html" target="_self">Graph</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_25_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d1c/classhash__chain.html" target="_self">hash_chain</a></td><td class="desc">Chain class with a given modulus </td></tr>
|
||||
<tr id="row_26_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d66/struct_item.html" target="_self">Item</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_27_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d82/classlarge__number.html" target="_self">large_number</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_28_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/dff/structlinkedlist.html" target="_self">linkedlist</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_29_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d10/structlist.html" target="_self">list</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_30_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d05/class_min_heap.html" target="_self">MinHeap</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_31_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d29/struct_min_heap_node.html" target="_self">MinHeapNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_32_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d77/structmst.html" target="_self">mst</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_33_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/da1/structnode.html" target="_self">node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_34_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d8b/struct_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_35_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dc8/struct_point.html" target="_self">Point</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_36_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d1b/structquery.html" target="_self">query</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_37_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/da9/classqueue.html" target="_self">queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_38_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/db5/struct_queue.html" target="_self">Queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_39_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d72/class_r_btree.html" target="_self">RBtree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_40_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/db4/struct_segment_intersection.html" target="_self">SegmentIntersection</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_41_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d4f/class_solution.html" target="_self">Solution</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_42_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/dc2/classstack.html" target="_self">stack</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_43_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dc4/classstack__linked_list.html" target="_self">stack_linkedList</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_44_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d58/class_test_cases.html" target="_self">TestCases</a></td><td class="desc">Class encapsulating the necessary test cases </td></tr>
|
||||
<tr id="row_45_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d2c/structtower.html" target="_self">tower</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_46_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_46_" class="arrow" onclick="toggleFolder('46_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d2f/class_trie.html" target="_self">Trie</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_46_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/d48/struct_trie_1_1_trie_node.html" target="_self">TrieNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_47_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d9a/classuint128__t.html" target="_self">uint128_t</a></td><td class="desc">Class for 128-bit unsigned integer </td></tr>
|
||||
<tr id="row_48_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d83/classuint256__t.html" target="_self">uint256_t</a></td><td class="desc">Class for 256-bit unsigned integer </td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -83,6 +83,9 @@ var annotated_dup =
|
||||
[ "Node", "d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html", "d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node" ],
|
||||
[ "BinaryTree", "d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree.html", "d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree" ]
|
||||
] ],
|
||||
[ "lru_cache", null, [
|
||||
[ "LRUCache", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache" ]
|
||||
] ],
|
||||
[ "postfix_expression", null, [
|
||||
[ "Stack", "d5/d8a/classothers_1_1postfix__expression_1_1_stack.html", "d5/d8a/classothers_1_1postfix__expression_1_1_stack" ]
|
||||
] ]
|
||||
@@ -133,8 +136,8 @@ var annotated_dup =
|
||||
[ "MinHeap", "d2/d05/class_min_heap.html", "d2/d05/class_min_heap" ],
|
||||
[ "MinHeapNode", "d5/d29/struct_min_heap_node.html", "d5/d29/struct_min_heap_node" ],
|
||||
[ "mst", "d1/d77/structmst.html", "d1/d77/structmst" ],
|
||||
[ "Node", "db/d8b/struct_node.html", "db/d8b/struct_node" ],
|
||||
[ "node", "d5/da1/structnode.html", "d5/da1/structnode" ],
|
||||
[ "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", "db/da9/classqueue.html", "db/da9/classqueue" ],
|
||||
|
||||
@@ -125,13 +125,13 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
|
||||
<dd><a class="el" href="da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html">AyStarSearch::Info</a> (machine_learning::aystar_search)</dd><dd><a class="el" href="d2/dfc/structstd_1_1is__arithmetic_3_01uint128__t_01_4.html">is_arithmetic< uint128_t ></a> (<a class="el" href="d8/dcc/namespacestd.html">std</a>)</dd><dd><a class="el" href="dc/d6d/structstd_1_1is__arithmetic_3_01uint256__t_01_4.html">is_arithmetic< uint256_t ></a> (<a class="el" href="d8/dcc/namespacestd.html">std</a>)</dd><dd><a class="el" href="d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html">is_integral< uint128_t ></a> (<a class="el" href="d8/dcc/namespacestd.html">std</a>)</dd><dd><a class="el" href="d7/d47/structstd_1_1is__integral_3_01uint256__t_01_4.html">is_integral< uint256_t ></a> (<a class="el" href="d8/dcc/namespacestd.html">std</a>)</dd><dd><a class="el" href="d5/d25/structstd_1_1is__unsigned_3_01uint128__t_01_4.html">is_unsigned< uint128_t ></a> (<a class="el" href="d8/dcc/namespacestd.html">std</a>)</dd><dd><a class="el" href="df/d99/structstd_1_1is__unsigned_3_01uint256__t_01_4.html">is_unsigned< uint256_t ></a> (<a class="el" href="d8/dcc/namespacestd.html">std</a>)</dd><dd><a class="el" href="db/d66/struct_item.html">Item</a></dd></dl>
|
||||
<dl class="classindex odd">
|
||||
<dt class="alphachar"><a name="letter_L">L</a></dt>
|
||||
<dd><a class="el" href="db/d82/classlarge__number.html">large_number</a></dd><dd><a class="el" href="de/d9d/classdata__structures_1_1linked__list_1_1link.html">link</a> (data_structures::linked_list)</dd><dd><a class="el" href="d0/dff/structlinkedlist.html">linkedlist</a></dd><dd><a class="el" href="d1/def/classdata__structures_1_1linked__list_1_1list.html">list</a> (data_structures::linked_list)</dd><dd><a class="el" href="d5/dab/structdata__structures_1_1list__array_1_1list.html">list</a> (data_structures::list_array)</dd><dd><a class="el" href="d8/d10/structlist.html">list</a></dd><dd><a class="el" href="d9/d23/classgraph_1_1_lowest_common_ancestor.html">LowestCommonAncestor</a> (<a class="el" href="df/dce/namespacegraph.html">graph</a>)</dd></dl>
|
||||
<dd><a class="el" href="db/d82/classlarge__number.html">large_number</a></dd><dd><a class="el" href="de/d9d/classdata__structures_1_1linked__list_1_1link.html">link</a> (data_structures::linked_list)</dd><dd><a class="el" href="d0/dff/structlinkedlist.html">linkedlist</a></dd><dd><a class="el" href="d1/def/classdata__structures_1_1linked__list_1_1list.html">list</a> (data_structures::linked_list)</dd><dd><a class="el" href="d5/dab/structdata__structures_1_1list__array_1_1list.html">list</a> (data_structures::list_array)</dd><dd><a class="el" href="d8/d10/structlist.html">list</a></dd><dd><a class="el" href="d9/d23/classgraph_1_1_lowest_common_ancestor.html">LowestCommonAncestor</a> (<a class="el" href="df/dce/namespacegraph.html">graph</a>)</dd><dd><a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">LRUCache</a> (others::lru_cache)</dd></dl>
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a name="letter_M">M</a></dt>
|
||||
<dd><a class="el" href="d2/d05/class_min_heap.html">MinHeap</a></dd><dd><a class="el" href="d5/d29/struct_min_heap_node.html">MinHeapNode</a></dd><dd><a class="el" href="d1/d77/structmst.html">mst</a></dd></dl>
|
||||
<dl class="classindex odd">
|
||||
<dt class="alphachar"><a name="letter_N">N</a></dt>
|
||||
<dd><a class="el" href="d6/dc1/classmath_1_1ncr__modulo__p_1_1_n_c_r_modulo_p.html">NCRModuloP</a> (math::ncr_modulo_p)</dd><dd><a class="el" href="d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html">NeuralNetwork</a> (machine_learning::neural_network)</dd><dd><a class="el" href="d9/d49/structdata__structures_1_1_node.html">Node</a> (<a class="el" href="d5/d3c/namespacedata__structures.html">data_structures</a>)</dd><dd><a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html">Node</a> (data_structures::tree_234)</dd><dd><a class="el" href="d5/d12/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node.html">Trie::Node</a> (data_structures::trie_using_hashmap)</dd><dd><a class="el" href="db/d8b/struct_node.html">Node</a></dd><dd><a class="el" href="d5/da1/structnode.html">node</a></dd><dd><a class="el" href="d5/db5/classoperations__on__datastructures_1_1inorder__traversal__of__bst_1_1_node.html">Node</a> (operations_on_datastructures::inorder_traversal_of_bst)</dd><dd><a class="el" href="d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html">Node</a> (others::iterative_tree_traversals)</dd><dd><a class="el" href="d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html">perSegTree::Node</a> (<a class="el" href="dd/d69/namespacerange__queries.html">range_queries</a>)</dd><dd><a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html">Node</a> (search::sublist_search)</dd></dl>
|
||||
<dd><a class="el" href="d6/dc1/classmath_1_1ncr__modulo__p_1_1_n_c_r_modulo_p.html">NCRModuloP</a> (math::ncr_modulo_p)</dd><dd><a class="el" href="d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html">NeuralNetwork</a> (machine_learning::neural_network)</dd><dd><a class="el" href="d9/d49/structdata__structures_1_1_node.html">Node</a> (<a class="el" href="d5/d3c/namespacedata__structures.html">data_structures</a>)</dd><dd><a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html">Node</a> (data_structures::tree_234)</dd><dd><a class="el" href="d5/d12/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node.html">Trie::Node</a> (data_structures::trie_using_hashmap)</dd><dd><a class="el" href="d5/da1/structnode.html">node</a></dd><dd><a class="el" href="db/d8b/struct_node.html">Node</a></dd><dd><a class="el" href="d5/db5/classoperations__on__datastructures_1_1inorder__traversal__of__bst_1_1_node.html">Node</a> (operations_on_datastructures::inorder_traversal_of_bst)</dd><dd><a class="el" href="d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html">Node</a> (others::iterative_tree_traversals)</dd><dd><a class="el" href="d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html">perSegTree::Node</a> (<a class="el" href="dd/d69/namespacerange__queries.html">range_queries</a>)</dd><dd><a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html">Node</a> (search::sublist_search)</dd></dl>
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a name="letter_P">P</a></dt>
|
||||
<dd><a class="el" href="d8/d28/classrange__queries_1_1per_seg_tree.html">perSegTree</a> (<a class="el" href="dd/d69/namespacerange__queries.html">range_queries</a>)</dd><dd><a class="el" href="d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html">Point</a> (<a class="el" href="df/d6b/namespaceciphers_1_1elliptic__curve__key__exchange.html">ciphers::elliptic_curve_key_exchange</a>)</dd><dd><a class="el" href="d9/d5a/structgeometry_1_1jarvis_1_1_point.html">Point</a> (geometry::jarvis)</dd><dd><a class="el" href="d8/dc8/struct_point.html">Point</a></dd></dl>
|
||||
|
||||
@@ -100,7 +100,10 @@ $(document).ready(function(){initNavTree('d0/d6f/namespaceothers.html','../../')
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>for <code>vector</code> </p>
|
||||
<p>Other algorithms.</p>
|
||||
<p>for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a></p>
|
||||
<p>for <code>reverse</code> for <code>assert</code> for I/O operations for <code>stack</code></p>
|
||||
<p>Other algorithms</p>
|
||||
<p>for assert for IO Operations for <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list.html">std::list</a></p>
|
||||
<p>Other algorithms </p>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
||||
@@ -4,6 +4,9 @@ var namespaceothers =
|
||||
[ "Node", "d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html", "d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node" ],
|
||||
[ "BinaryTree", "d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree.html", "d9/d12/classothers_1_1iterative__tree__traversals_1_1_binary_tree" ]
|
||||
] ],
|
||||
[ "lru_cache", null, [
|
||||
[ "LRUCache", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache" ]
|
||||
] ],
|
||||
[ "postfix_expression", null, [
|
||||
[ "Stack", "d5/d8a/classothers_1_1postfix__expression_1_1_stack.html", "d5/d8a/classothers_1_1postfix__expression_1_1_stack" ],
|
||||
[ "evaluate", "d7/d75/postfix__evaluation_8cpp.html#a59fd597e0ea394abe027ced4d2ea3338", null ],
|
||||
|
||||
7
d1/d6d/lru__cache_8cpp__incl.map
Normal file
@@ -0,0 +1,7 @@
|
||||
<map id="others/lru_cache.cpp" name="others/lru_cache.cpp">
|
||||
<area shape="rect" id="node1" title="An implementation of LRU Cache. Lru is a part of cache algorithms (also frequently called cache repla..." alt="" coords="99,5,244,32"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,80,71,107"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="95,80,168,107"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="192,80,231,107"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="255,80,371,107"/>
|
||||
</map>
|
||||
1
d1/d6d/lru__cache_8cpp__incl.md5
Normal file
@@ -0,0 +1 @@
|
||||
251d6659132fa490f61e361a8d722c07
|
||||
82
d1/d6d/lru__cache_8cpp__incl.svg
Normal file
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: others/lru_cache.cpp Pages: 1 -->
|
||||
<svg width="282pt" height="84pt"
|
||||
viewBox="0.00 0.00 282.00 84.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 80)">
|
||||
<title>others/lru_cache.cpp</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-80 278,-80 278,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="An implementation of LRU Cache. Lru is a part of cache algorithms (also frequently called cache repla...">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="70,-56.5 70,-75.5 179,-75.5 179,-56.5 70,-56.5"/>
|
||||
<text text-anchor="middle" x="124.5" y="-63.5" font-family="Helvetica,sans-Serif" font-size="10.00">others/lru_cache.cpp</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="0,-0.5 0,-19.5 49,-19.5 49,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="24.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M108.43,-56.32C92.54,-47.74 67.99,-34.49 49.54,-24.52"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="50.99,-21.33 40.53,-19.65 47.66,-27.49 50.99,-21.33"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="67,-0.5 67,-19.5 122,-19.5 122,-0.5 67,-0.5"/>
|
||||
<text text-anchor="middle" x="94.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M119.55,-56.08C115.4,-48.61 109.35,-37.72 104.23,-28.52"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="107.28,-26.79 99.36,-19.75 101.16,-30.19 107.28,-26.79"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="140,-0.5 140,-19.5 169,-19.5 169,-0.5 140,-0.5"/>
|
||||
<text text-anchor="middle" x="154.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">list</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M129.45,-56.08C133.6,-48.61 139.65,-37.72 144.77,-28.52"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="147.84,-30.19 149.64,-19.75 141.72,-26.79 147.84,-30.19"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:title=" ">
|
||||
<polygon fill="white" stroke="#bfbfbf" points="187,-0.5 187,-19.5 274,-19.5 274,-0.5 187,-0.5"/>
|
||||
<text text-anchor="middle" x="230.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_map</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M141.53,-56.32C158.53,-47.66 184.88,-34.24 204.49,-24.25"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="206.19,-27.31 213.51,-19.65 203.01,-21.08 206.19,-27.31"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@@ -152,7 +152,7 @@ Functions</h2></td></tr>
|
||||
<p>two elements a[i] and a[j] form an inversion if <code>a[i]</code> > <code>a[j]</code> and i < j</p>
|
||||
<p>Time Complexity --> <code>O(n.log n)</code></p>
|
||||
<p>Space Complexity --> <code>O(n)</code> ; additional array <code>temp[1..n]</code> </p>
|
||||
<h3><a class="anchor" id="autotoc_md92"></a>
|
||||
<h3><a class="anchor" id="autotoc_md95"></a>
|
||||
Algorithm</h3>
|
||||
<ol type="1">
|
||||
<li>The idea is similar to merge sort, divide the array into two equal or almost equal halves in each step until the base case is reached.</li>
|
||||
|
||||
490
d3/db3/lru__cache_8cpp.html
Normal file
@@ -0,0 +1,490 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: others/lru_cache.cpp File Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">Algorithms_in_C++
|
||||
 <span id="projectnumber">1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.1 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('d3/db3/lru__cache_8cpp.html','../../'); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> |
|
||||
<a href="#namespaces">Namespaces</a> |
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">lru_cache.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>An implementation of <a href="https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)">LRU Cache</a>. Lru is a part of cache algorithms (also frequently called cache replacement algorithms or cache replacement policies).
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include <cassert></code><br />
|
||||
<code>#include <iostream></code><br />
|
||||
<code>#include <list></code><br />
|
||||
<code>#include <unordered_map></code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for lru_cache.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d1/d6d/lru__cache_8cpp__incl.svg" width="376" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">LRU cache class. <a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
|
||||
Namespaces</h2></td></tr>
|
||||
<tr class="memitem:d0/d6f/namespaceothers"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d6f/namespaceothers.html">others</a></td></tr>
|
||||
<tr class="memdesc:d0/d6f/namespaceothers"><td class="mdescLeft"> </td><td class="mdescRight">for <code>vector</code> <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d8/dcd/namespacelru__cache"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/dcd/namespacelru__cache.html">lru_cache</a></td></tr>
|
||||
<tr class="memdesc:d8/dcd/namespacelru__cache"><td class="mdescLeft"> </td><td class="mdescRight">Implementation of the <a href="https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)">LRU caching algorithm</a> <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a24d21a345ed06f7fba6919718cf3e058"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
|
||||
<tr class="memitem:a24d21a345ed06f7fba6919718cf3e058"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d3/db3/lru__cache_8cpp.html#a24d21a345ed06f7fba6919718cf3e058">lru_tests::log</a> (T msg)</td></tr>
|
||||
<tr class="memdesc:a24d21a345ed06f7fba6919718cf3e058"><td class="mdescLeft"> </td><td class="mdescRight">A function to print given message on console. <a href="../../d3/db3/lru__cache_8cpp.html#a24d21a345ed06f7fba6919718cf3e058">More...</a><br /></td></tr>
|
||||
<tr class="separator:a24d21a345ed06f7fba6919718cf3e058"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6401e8f2d41d8cc9cd0e52ab381608d4"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4">lru_tests::test_1</a> ()</td></tr>
|
||||
<tr class="memdesc:a6401e8f2d41d8cc9cd0e52ab381608d4"><td class="mdescLeft"> </td><td class="mdescRight">A simple test case The assert statement will check expected hist and miss to resultant hits and miss. <a href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4">More...</a><br /></td></tr>
|
||||
<tr class="separator:a6401e8f2d41d8cc9cd0e52ab381608d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4b02e288a407876a8d6024f98a2a25ec"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec">lru_tests::test_2</a> ()</td></tr>
|
||||
<tr class="memdesc:a4b02e288a407876a8d6024f98a2a25ec"><td class="mdescLeft"> </td><td class="mdescRight">A test case contains hits more than cache size The assert statement will check expected hist and miss to resultant hits and miss. <a href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec">More...</a><br /></td></tr>
|
||||
<tr class="separator:a4b02e288a407876a8d6024f98a2a25ec"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a01ec21fc91ddafd964ae2035ba7892c0"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0">lru_tests::test_3</a> ()</td></tr>
|
||||
<tr class="memdesc:a01ec21fc91ddafd964ae2035ba7892c0"><td class="mdescLeft"> </td><td class="mdescRight">A simple test case The assert statement will check expected hist and miss to resultant hits and miss. <a href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0">More...</a><br /></td></tr>
|
||||
<tr class="separator:a01ec21fc91ddafd964ae2035ba7892c0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6a3be6d8871b1f5dc03688da8f3ee9e6"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/db3/lru__cache_8cpp.html#a6a3be6d8871b1f5dc03688da8f3ee9e6">lru_tests::run_tests</a> ()</td></tr>
|
||||
<tr class="memdesc:a6a3be6d8871b1f5dc03688da8f3ee9e6"><td class="mdescLeft"> </td><td class="mdescRight">A function to invoke all test cases. <a href="../../d3/db3/lru__cache_8cpp.html#a6a3be6d8871b1f5dc03688da8f3ee9e6">More...</a><br /></td></tr>
|
||||
<tr class="separator:a6a3be6d8871b1f5dc03688da8f3ee9e6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/db3/lru__cache_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="memdesc:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="mdescLeft"> </td><td class="mdescRight">Main function. <a href="../../d3/db3/lru__cache_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">More...</a><br /></td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>An implementation of <a href="https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)">LRU Cache</a>. Lru is a part of cache algorithms (also frequently called cache replacement algorithms or cache replacement policies). </p>
|
||||
<h3><a class="anchor" id="autotoc_md84"></a>
|
||||
Logic</h3>
|
||||
<ul>
|
||||
<li>Discards the least recently used items first.</li>
|
||||
<li>This algorithm requires keeping track of what was used when, which is expensive if one wants to make sure the algorithm always discards the least recently used item.</li>
|
||||
<li>General implementations of this technique require keeping "age bits" for cache-lines and track the "Least Recently Used" cache-line based on age-bits.</li>
|
||||
<li>In such an implementation, every time a cache-line is used, the age of all other cache-lines changes</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md85"></a>
|
||||
Algorithm explanation</h3>
|
||||
<p>For a cache of page frame x:</p><ul>
|
||||
<li>Check if the page is present in cache.</li>
|
||||
<li>If not present, then check is the cache is full or not:</li>
|
||||
<li>If the cache is full, REMOVE the last element from the cache.</li>
|
||||
<li>If the element is present in cache, then shift that element to first position in cache from its original position.<ul>
|
||||
<li>This way you can keep the least recently used elements in the last and most recently used in front of the cache.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<p>Every time a requested page is not found in cache, that is a miss or page fault, and if the page is present in cache, then its a hit.</p>
|
||||
<h2><a class="anchor" id="autotoc_md86"></a>
|
||||
Data Structure used</h2>
|
||||
<ul>
|
||||
<li>In the algorithm below we used two different data structure, one is linked list and other one is a hash map</li>
|
||||
<li>The linked list is used to contain the pages and the hash map contains the pages and their address.</li>
|
||||
<li>Every time a new page is requested, we first check in the hash map if the page is present or not.</li>
|
||||
<li>If not present, and the cache is full, we simply delete the last entry in the cache.</li>
|
||||
<li>If present, we shift that page from its current location to beginning of the cache and update the address in hash map for that page.</li>
|
||||
</ul>
|
||||
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/foo290">Nitin Sharma</a> </dd></dl>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a24d21a345ed06f7fba6919718cf3e058"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a24d21a345ed06f7fba6919718cf3e058">◆ </a></span>log()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<div class="memtemplate">
|
||||
template<typename T > </div>
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void lru_tests::log </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">T </td>
|
||||
<td class="paramname"><em>msg</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function to print given message on console. </p>
|
||||
<dl class="tparams"><dt>Template Parameters</dt><dd>
|
||||
<table class="tparams">
|
||||
<tr><td class="paramname">T</td><td>Type of the given message. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  {</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">// It's just to avoid writing cout and endl</span></div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"[TESTS] : ---> "</span> << msg << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/db3/lru__cache_8cpp_a24d21a345ed06f7fba6919718cf3e058_cgraph.svg" width="228" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">◆ </a></span>main()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int main </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Main function. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>0 on exit </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  {</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <a class="code" href="../../d3/db3/lru__cache_8cpp.html#a6a3be6d8871b1f5dc03688da8f3ee9e6">lru_tests::run_tests</a>();</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">// Usage</span></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a> cache(4);</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  cache.refer(2);</div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  cache.refer(3);</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  cache.refer(4);</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  cache.refer(5);</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  cache.refer(5);</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  </div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  cache.display();</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Hits: "</span> << cache.getHits()</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  << <span class="stringliteral">" Miss: "</span> << cache.getPageFault() << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> }</div>
|
||||
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></div><div class="ttdoc">LRU cache class.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:67</div></div>
|
||||
<div class="ttc" id="alru__cache_8cpp_html_a6a3be6d8871b1f5dc03688da8f3ee9e6"><div class="ttname"><a href="../../d3/db3/lru__cache_8cpp.html#a6a3be6d8871b1f5dc03688da8f3ee9e6">lru_tests::run_tests</a></div><div class="ttdeci">static void run_tests()</div><div class="ttdoc">A function to invoke all test cases.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:238</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/db3/lru__cache_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="502" height="534"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a6a3be6d8871b1f5dc03688da8f3ee9e6"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6a3be6d8871b1f5dc03688da8f3ee9e6">◆ </a></span>run_tests()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">static void lru_tests::run_tests </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function to invoke all test cases. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  {</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4">test_1</a>();</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec">test_2</a>();</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <a class="code" href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0">test_3</a>();</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">""</span>);</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"TESTS COMPLETED!"</span>);</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> }</div>
|
||||
<div class="ttc" id="alog_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/numeric/math/log.html">std::log</a></div><div class="ttdeci">T log(T... args)</div></div>
|
||||
<div class="ttc" id="alru__cache_8cpp_html_a01ec21fc91ddafd964ae2035ba7892c0"><div class="ttname"><a href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0">lru_tests::test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdoc">A simple test case The assert statement will check expected hist and miss to resultant hits and miss.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:213</div></div>
|
||||
<div class="ttc" id="alru__cache_8cpp_html_a4b02e288a407876a8d6024f98a2a25ec"><div class="ttname"><a href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec">lru_tests::test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdoc">A test case contains hits more than cache size The assert statement will check expected hist and miss...</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:186</div></div>
|
||||
<div class="ttc" id="alru__cache_8cpp_html_a6401e8f2d41d8cc9cd0e52ab381608d4"><div class="ttname"><a href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4">lru_tests::test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdoc">A simple test case The assert statement will check expected hist and miss to resultant hits and miss.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:159</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d3/db3/lru__cache_8cpp_a6a3be6d8871b1f5dc03688da8f3ee9e6_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a6401e8f2d41d8cc9cd0e52ab381608d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6401e8f2d41d8cc9cd0e52ab381608d4">◆ </a></span>test_1()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">static void lru_tests::test_1 </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A simple test case The assert statement will check expected hist and miss to resultant hits and miss. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  {</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  uint64_t expected_hits = 2;</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  uint64_t expected_pageFault = 4;</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Running Test-1..."</span>);</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  </div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a> cache(4);</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  cache.refer(2);</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  cache.refer(5);</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  cache.refer(4);</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  cache.refer(5);</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Checking assert statement..."</span>);</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  assert(cache.getHits() == expected_hits &&</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  cache.getPageFault() == expected_pageFault);</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Assert successful!"</span>);</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Test-1 complete!"</span>);</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> }</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/db3/lru__cache_8cpp_a6401e8f2d41d8cc9cd0e52ab381608d4_cgraph.svg" width="567" height="475"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4b02e288a407876a8d6024f98a2a25ec"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4b02e288a407876a8d6024f98a2a25ec">◆ </a></span>test_2()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">static void lru_tests::test_2 </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A test case contains hits more than cache size The assert statement will check expected hist and miss to resultant hits and miss. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  {</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  uint64_t expected_hits = 4;</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  uint64_t expected_pageFault = 2;</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Running Test-2..."</span>);</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a> cache(4);</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  cache.refer(5);</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Checking assert statement..."</span>);</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  assert(cache.getHits() == expected_hits &&</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  cache.getPageFault() == expected_pageFault);</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Assert successful!"</span>);</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Test-2 complete!"</span>);</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> }</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/db3/lru__cache_8cpp_a4b02e288a407876a8d6024f98a2a25ec_cgraph.svg" width="567" height="475"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a01ec21fc91ddafd964ae2035ba7892c0"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a01ec21fc91ddafd964ae2035ba7892c0">◆ </a></span>test_3()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">static void lru_tests::test_3 </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A simple test case The assert statement will check expected hist and miss to resultant hits and miss. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  {</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  uint64_t expected_hits = 1;</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  uint64_t expected_pageFault = 5;</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Running Test-3..."</span>);</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a> cache(4);</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  cache.refer(1);</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  cache.refer(2);</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  cache.refer(3);</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  cache.refer(4);</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  cache.refer(5);</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  cache.refer(5);</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Checking assert statement..."</span>);</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  assert(cache.getHits() == expected_hits &&</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  cache.getPageFault() == expected_pageFault);</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Assert successful!"</span>);</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/numeric/math/log.html">log</a>(<span class="stringliteral">"Test-3 complete!"</span>);</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> }</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d3/db3/lru__cache_8cpp_a01ec21fc91ddafd964ae2035ba7892c0_cgraph.svg" width="567" height="475"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../dir_9510827d0b234b3cc54b29892f217477.html">others</a></li><li class="navelem"><a class="el" href="../../d3/db3/lru__cache_8cpp.html">lru_cache.cpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
10
d3/db3/lru__cache_8cpp.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
var lru__cache_8cpp =
|
||||
[
|
||||
[ "LRUCache", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache" ],
|
||||
[ "log", "d3/db3/lru__cache_8cpp.html#a24d21a345ed06f7fba6919718cf3e058", null ],
|
||||
[ "main", "d3/db3/lru__cache_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4", null ],
|
||||
[ "run_tests", "d3/db3/lru__cache_8cpp.html#a6a3be6d8871b1f5dc03688da8f3ee9e6", null ],
|
||||
[ "test_1", "d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4", null ],
|
||||
[ "test_2", "d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec", null ],
|
||||
[ "test_3", "d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0", null ]
|
||||
];
|
||||
@@ -0,0 +1,15 @@
|
||||
<map id="lru_tests::test_3" name="lru_tests::test_3">
|
||||
<area shape="rect" id="node1" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="5,159,121,185"/>
|
||||
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="188,86,324,127"/>
|
||||
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,151,343,193"/>
|
||||
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,217,322,258"/>
|
||||
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="427,5,525,32"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="424,56,528,83"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/end.html#" title=" " alt="" coords="391,107,561,133"/>
|
||||
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/erase.html#" title=" " alt="" coords="405,158,547,199"/>
|
||||
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="424,224,528,251"/>
|
||||
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/find.html#" title=" " alt="" coords="405,275,547,317"/>
|
||||
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/pop_back.html#" title=" " alt="" coords="411,341,541,368"/>
|
||||
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/push_front.html#" title=" " alt="" coords="409,392,543,419"/>
|
||||
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="429,443,523,469"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
6f1627251c4a8062e2d8a345ba499026
|
||||
@@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: lru_tests::test_3 Pages: 1 -->
|
||||
<svg width="425pt" height="356pt"
|
||||
viewBox="0.00 0.00 425.00 356.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 352)">
|
||||
<title>lru_tests::test_3</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-352 421,-352 421,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-213.5 0,-232.5 87,-232.5 87,-213.5 0,-213.5"/>
|
||||
<text text-anchor="middle" x="43.5" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M21.31,-232.76C10.51,-241.57 17.91,-251 43.5,-251 60.3,-251 69.26,-246.94 70.38,-241.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="73.45,-239.97 65.69,-232.76 67.26,-243.24 73.45,-239.97"/>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
|
||||
<polygon fill="white" stroke="black" points="137,-257 137,-287 239,-287 239,-257 137,-257"/>
|
||||
<text text-anchor="start" x="145" y="-275" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-264" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M72.31,-232.56C89.72,-238.55 112.73,-246.46 133.57,-253.63"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="132.68,-257.02 143.27,-256.96 134.95,-250.4 132.68,-257.02"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
|
||||
<polygon fill="white" stroke="black" points="123,-208 123,-238 253,-238 253,-208 123,-208"/>
|
||||
<text text-anchor="start" x="131" y="-226" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-215" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M87.25,-223C95.33,-223 103.98,-223 112.7,-223"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="112.93,-226.5 122.93,-223 112.93,-219.5 112.93,-226.5"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
|
||||
<polygon fill="white" stroke="black" points="138.5,-159 138.5,-189 237.5,-189 237.5,-159 138.5,-159"/>
|
||||
<text text-anchor="start" x="146.5" y="-177" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-166" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M72.31,-213.44C89.72,-207.45 112.73,-199.54 133.57,-192.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="134.95,-195.6 143.27,-189.04 132.68,-188.98 134.95,-195.6"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="316,-328.5 316,-347.5 390,-347.5 390,-328.5 316,-328.5"/>
|
||||
<text text-anchor="middle" x="353" y="-335.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.5,-187.29C243.26,-190.41 248.63,-194.26 253,-199 290.75,-239.93 249.66,-279.6 289,-319 293.83,-323.83 299.84,-327.45 306.21,-330.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="305.13,-333.47 315.72,-333.48 307.44,-326.87 305.13,-333.47"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="314,-290.5 314,-309.5 392,-309.5 392,-290.5 314,-290.5"/>
|
||||
<text text-anchor="middle" x="353" y="-297.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.62,-188.14C243.23,-191.12 248.52,-194.71 253,-199 281.72,-226.56 259.21,-254.61 289,-281 293.49,-284.98 298.79,-288.13 304.38,-290.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="303.38,-293.97 313.97,-294.21 305.83,-287.42 303.38,-293.97"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="289,-252.5 289,-271.5 417,-271.5 417,-252.5 289,-252.5"/>
|
||||
<text text-anchor="middle" x="353" y="-259.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M235.93,-189.06C241.93,-191.91 247.79,-195.21 253,-199 273.44,-213.86 267.99,-228.96 289,-243 292.08,-245.06 295.39,-246.9 298.82,-248.54"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="297.54,-251.8 308.11,-252.46 300.26,-245.35 297.54,-251.8"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="300,-203 300,-233 406,-233 406,-203 300,-203"/>
|
||||
<text text-anchor="start" x="308" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="353" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node4->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-187.2C254.21,-191.6 272.6,-196.57 289.78,-201.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="289.16,-204.66 299.73,-203.89 290.98,-197.9 289.16,-204.66"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="314,-164.5 314,-183.5 392,-183.5 392,-164.5 314,-164.5"/>
|
||||
<text text-anchor="middle" x="353" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node4->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-174C258.68,-174 282.84,-174 303.57,-174"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="303.75,-177.5 313.75,-174 303.75,-170.5 303.75,-177.5"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="300,-115 300,-145 406,-145 406,-115 300,-115"/>
|
||||
<text text-anchor="start" x="308" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="353" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node4->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-160.8C254.21,-156.4 272.6,-151.43 289.78,-146.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="290.98,-150.1 299.73,-144.11 289.16,-143.34 290.98,-150.1"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="304.5,-76.5 304.5,-95.5 401.5,-95.5 401.5,-76.5 304.5,-76.5"/>
|
||||
<text text-anchor="middle" x="353" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node4->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M207.53,-158.96C226.88,-143.86 258.6,-120.77 289,-106 294.36,-103.4 300.13,-101.03 305.93,-98.91"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="307.33,-102.12 315.65,-95.57 305.06,-95.5 307.33,-102.12"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="303,-38.5 303,-57.5 403,-57.5 403,-38.5 303,-38.5"/>
|
||||
<text text-anchor="middle" x="353" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node4->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M199.12,-158.85C215.36,-135.68 249.48,-91.56 289,-67 292.4,-64.89 296.04,-63 299.8,-61.31"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="301.33,-64.47 309.32,-57.52 298.74,-57.97 301.33,-64.47"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="317.5,-0.5 317.5,-19.5 388.5,-19.5 388.5,-0.5 317.5,-0.5"/>
|
||||
<text text-anchor="middle" x="353" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node4->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M195.32,-158.75C208.35,-129.2 241.06,-63.95 289,-29 294.58,-24.93 301.04,-21.72 307.65,-19.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="308.98,-22.44 317.36,-15.97 306.77,-15.8 308.98,-22.44"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,4 @@
|
||||
<map id="lru_tests::log" name="lru_tests::log">
|
||||
<area shape="rect" id="node1" title="A function to print given message on console." alt="" coords="5,5,103,32"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="151,5,223,32"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
e149af01456297f376234d136b796dc9
|
||||
@@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: lru_tests::log Pages: 1 -->
|
||||
<svg width="171pt" height="28pt"
|
||||
viewBox="0.00 0.00 171.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>lru_tests::log</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 167,-24 167,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="A function to print given message on console.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 73,-19.5 73,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="36.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::log</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="109,-0.5 109,-19.5 163,-19.5 163,-0.5 109,-0.5"/>
|
||||
<text text-anchor="middle" x="136" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M73.25,-10C81.51,-10 90.3,-10 98.58,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="98.72,-13.5 108.72,-10 98.72,-6.5 98.72,-13.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,15 @@
|
||||
<map id="lru_tests::test_2" name="lru_tests::test_2">
|
||||
<area shape="rect" id="node1" title="A test case contains hits more than cache size The assert statement will check expected hist and miss..." alt="" coords="5,159,121,185"/>
|
||||
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="188,86,324,127"/>
|
||||
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,151,343,193"/>
|
||||
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,217,322,258"/>
|
||||
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="427,5,525,32"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="424,56,528,83"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/end.html#" title=" " alt="" coords="391,107,561,133"/>
|
||||
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/erase.html#" title=" " alt="" coords="405,158,547,199"/>
|
||||
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="424,224,528,251"/>
|
||||
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/find.html#" title=" " alt="" coords="405,275,547,317"/>
|
||||
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/pop_back.html#" title=" " alt="" coords="411,341,541,368"/>
|
||||
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/push_front.html#" title=" " alt="" coords="409,392,543,419"/>
|
||||
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="429,443,523,469"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
079c7cb9ee316a61f55a1d34d3d7a4a1
|
||||
@@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: lru_tests::test_2 Pages: 1 -->
|
||||
<svg width="425pt" height="356pt"
|
||||
viewBox="0.00 0.00 425.00 356.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 352)">
|
||||
<title>lru_tests::test_2</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-352 421,-352 421,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-213.5 0,-232.5 87,-232.5 87,-213.5 0,-213.5"/>
|
||||
<text text-anchor="middle" x="43.5" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M21.31,-232.76C10.51,-241.57 17.91,-251 43.5,-251 60.3,-251 69.26,-246.94 70.38,-241.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="73.45,-239.97 65.69,-232.76 67.26,-243.24 73.45,-239.97"/>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
|
||||
<polygon fill="white" stroke="black" points="137,-257 137,-287 239,-287 239,-257 137,-257"/>
|
||||
<text text-anchor="start" x="145" y="-275" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-264" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M72.31,-232.56C89.72,-238.55 112.73,-246.46 133.57,-253.63"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="132.68,-257.02 143.27,-256.96 134.95,-250.4 132.68,-257.02"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
|
||||
<polygon fill="white" stroke="black" points="123,-208 123,-238 253,-238 253,-208 123,-208"/>
|
||||
<text text-anchor="start" x="131" y="-226" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-215" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M87.25,-223C95.33,-223 103.98,-223 112.7,-223"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="112.93,-226.5 122.93,-223 112.93,-219.5 112.93,-226.5"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
|
||||
<polygon fill="white" stroke="black" points="138.5,-159 138.5,-189 237.5,-189 237.5,-159 138.5,-159"/>
|
||||
<text text-anchor="start" x="146.5" y="-177" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-166" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M72.31,-213.44C89.72,-207.45 112.73,-199.54 133.57,-192.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="134.95,-195.6 143.27,-189.04 132.68,-188.98 134.95,-195.6"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="316,-328.5 316,-347.5 390,-347.5 390,-328.5 316,-328.5"/>
|
||||
<text text-anchor="middle" x="353" y="-335.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.5,-187.29C243.26,-190.41 248.63,-194.26 253,-199 290.75,-239.93 249.66,-279.6 289,-319 293.83,-323.83 299.84,-327.45 306.21,-330.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="305.13,-333.47 315.72,-333.48 307.44,-326.87 305.13,-333.47"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="314,-290.5 314,-309.5 392,-309.5 392,-290.5 314,-290.5"/>
|
||||
<text text-anchor="middle" x="353" y="-297.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.62,-188.14C243.23,-191.12 248.52,-194.71 253,-199 281.72,-226.56 259.21,-254.61 289,-281 293.49,-284.98 298.79,-288.13 304.38,-290.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="303.38,-293.97 313.97,-294.21 305.83,-287.42 303.38,-293.97"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="289,-252.5 289,-271.5 417,-271.5 417,-252.5 289,-252.5"/>
|
||||
<text text-anchor="middle" x="353" y="-259.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M235.93,-189.06C241.93,-191.91 247.79,-195.21 253,-199 273.44,-213.86 267.99,-228.96 289,-243 292.08,-245.06 295.39,-246.9 298.82,-248.54"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="297.54,-251.8 308.11,-252.46 300.26,-245.35 297.54,-251.8"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="300,-203 300,-233 406,-233 406,-203 300,-203"/>
|
||||
<text text-anchor="start" x="308" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="353" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node4->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-187.2C254.21,-191.6 272.6,-196.57 289.78,-201.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="289.16,-204.66 299.73,-203.89 290.98,-197.9 289.16,-204.66"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="314,-164.5 314,-183.5 392,-183.5 392,-164.5 314,-164.5"/>
|
||||
<text text-anchor="middle" x="353" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node4->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-174C258.68,-174 282.84,-174 303.57,-174"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="303.75,-177.5 313.75,-174 303.75,-170.5 303.75,-177.5"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="300,-115 300,-145 406,-145 406,-115 300,-115"/>
|
||||
<text text-anchor="start" x="308" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="353" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node4->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-160.8C254.21,-156.4 272.6,-151.43 289.78,-146.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="290.98,-150.1 299.73,-144.11 289.16,-143.34 290.98,-150.1"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="304.5,-76.5 304.5,-95.5 401.5,-95.5 401.5,-76.5 304.5,-76.5"/>
|
||||
<text text-anchor="middle" x="353" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node4->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M207.53,-158.96C226.88,-143.86 258.6,-120.77 289,-106 294.36,-103.4 300.13,-101.03 305.93,-98.91"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="307.33,-102.12 315.65,-95.57 305.06,-95.5 307.33,-102.12"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="303,-38.5 303,-57.5 403,-57.5 403,-38.5 303,-38.5"/>
|
||||
<text text-anchor="middle" x="353" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node4->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M199.12,-158.85C215.36,-135.68 249.48,-91.56 289,-67 292.4,-64.89 296.04,-63 299.8,-61.31"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="301.33,-64.47 309.32,-57.52 298.74,-57.97 301.33,-64.47"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="317.5,-0.5 317.5,-19.5 388.5,-19.5 388.5,-0.5 317.5,-0.5"/>
|
||||
<text text-anchor="middle" x="353" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node4->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M195.32,-158.75C208.35,-129.2 241.06,-63.95 289,-29 294.58,-24.93 301.04,-21.72 307.65,-19.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="308.98,-22.44 317.36,-15.97 306.77,-15.8 308.98,-22.44"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,15 @@
|
||||
<map id="lru_tests::test_1" name="lru_tests::test_1">
|
||||
<area shape="rect" id="node1" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="5,159,121,185"/>
|
||||
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="188,86,324,127"/>
|
||||
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="169,151,343,193"/>
|
||||
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="190,217,322,258"/>
|
||||
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="427,5,525,32"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="424,56,528,83"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/end.html#" title=" " alt="" coords="391,107,561,133"/>
|
||||
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/erase.html#" title=" " alt="" coords="405,158,547,199"/>
|
||||
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="424,224,528,251"/>
|
||||
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/find.html#" title=" " alt="" coords="405,275,547,317"/>
|
||||
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/pop_back.html#" title=" " alt="" coords="411,341,541,368"/>
|
||||
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/push_front.html#" title=" " alt="" coords="409,392,543,419"/>
|
||||
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="429,443,523,469"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
e8058ff046b63bac9cf326cffba504b2
|
||||
@@ -0,0 +1,213 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: lru_tests::test_1 Pages: 1 -->
|
||||
<svg width="425pt" height="356pt"
|
||||
viewBox="0.00 0.00 425.00 356.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 352)">
|
||||
<title>lru_tests::test_1</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-352 421,-352 421,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-213.5 0,-232.5 87,-232.5 87,-213.5 0,-213.5"/>
|
||||
<text text-anchor="middle" x="43.5" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M21.31,-232.76C10.51,-241.57 17.91,-251 43.5,-251 60.3,-251 69.26,-246.94 70.38,-241.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="73.45,-239.97 65.69,-232.76 67.26,-243.24 73.45,-239.97"/>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
|
||||
<polygon fill="white" stroke="black" points="137,-257 137,-287 239,-287 239,-257 137,-257"/>
|
||||
<text text-anchor="start" x="145" y="-275" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-264" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M72.31,-232.56C89.72,-238.55 112.73,-246.46 133.57,-253.63"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="132.68,-257.02 143.27,-256.96 134.95,-250.4 132.68,-257.02"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
|
||||
<polygon fill="white" stroke="black" points="123,-208 123,-238 253,-238 253,-208 123,-208"/>
|
||||
<text text-anchor="start" x="131" y="-226" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-215" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M87.25,-223C95.33,-223 103.98,-223 112.7,-223"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="112.93,-226.5 122.93,-223 112.93,-219.5 112.93,-226.5"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
|
||||
<polygon fill="white" stroke="black" points="138.5,-159 138.5,-189 237.5,-189 237.5,-159 138.5,-159"/>
|
||||
<text text-anchor="start" x="146.5" y="-177" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="188" y="-166" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M72.31,-213.44C89.72,-207.45 112.73,-199.54 133.57,-192.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="134.95,-195.6 143.27,-189.04 132.68,-188.98 134.95,-195.6"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="316,-328.5 316,-347.5 390,-347.5 390,-328.5 316,-328.5"/>
|
||||
<text text-anchor="middle" x="353" y="-335.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.5,-187.29C243.26,-190.41 248.63,-194.26 253,-199 290.75,-239.93 249.66,-279.6 289,-319 293.83,-323.83 299.84,-327.45 306.21,-330.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="305.13,-333.47 315.72,-333.48 307.44,-326.87 305.13,-333.47"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="314,-290.5 314,-309.5 392,-309.5 392,-290.5 314,-290.5"/>
|
||||
<text text-anchor="middle" x="353" y="-297.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.62,-188.14C243.23,-191.12 248.52,-194.71 253,-199 281.72,-226.56 259.21,-254.61 289,-281 293.49,-284.98 298.79,-288.13 304.38,-290.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="303.38,-293.97 313.97,-294.21 305.83,-287.42 303.38,-293.97"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="289,-252.5 289,-271.5 417,-271.5 417,-252.5 289,-252.5"/>
|
||||
<text text-anchor="middle" x="353" y="-259.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M235.93,-189.06C241.93,-191.91 247.79,-195.21 253,-199 273.44,-213.86 267.99,-228.96 289,-243 292.08,-245.06 295.39,-246.9 298.82,-248.54"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="297.54,-251.8 308.11,-252.46 300.26,-245.35 297.54,-251.8"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="300,-203 300,-233 406,-233 406,-203 300,-203"/>
|
||||
<text text-anchor="start" x="308" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="353" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node4->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-187.2C254.21,-191.6 272.6,-196.57 289.78,-201.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="289.16,-204.66 299.73,-203.89 290.98,-197.9 289.16,-204.66"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="314,-164.5 314,-183.5 392,-183.5 392,-164.5 314,-164.5"/>
|
||||
<text text-anchor="middle" x="353" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node4->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-174C258.68,-174 282.84,-174 303.57,-174"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="303.75,-177.5 313.75,-174 303.75,-170.5 303.75,-177.5"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="300,-115 300,-145 406,-145 406,-115 300,-115"/>
|
||||
<text text-anchor="start" x="308" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="353" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node4->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.91,-160.8C254.21,-156.4 272.6,-151.43 289.78,-146.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="290.98,-150.1 299.73,-144.11 289.16,-143.34 290.98,-150.1"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="304.5,-76.5 304.5,-95.5 401.5,-95.5 401.5,-76.5 304.5,-76.5"/>
|
||||
<text text-anchor="middle" x="353" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node4->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M207.53,-158.96C226.88,-143.86 258.6,-120.77 289,-106 294.36,-103.4 300.13,-101.03 305.93,-98.91"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="307.33,-102.12 315.65,-95.57 305.06,-95.5 307.33,-102.12"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="303,-38.5 303,-57.5 403,-57.5 403,-38.5 303,-38.5"/>
|
||||
<text text-anchor="middle" x="353" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node4->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M199.12,-158.85C215.36,-135.68 249.48,-91.56 289,-67 292.4,-64.89 296.04,-63 299.8,-61.31"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="301.33,-64.47 309.32,-57.52 298.74,-57.97 301.33,-64.47"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="317.5,-0.5 317.5,-19.5 388.5,-19.5 388.5,-0.5 317.5,-0.5"/>
|
||||
<text text-anchor="middle" x="353" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node4->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M195.32,-158.75C208.35,-129.2 241.06,-63.95 289,-29 294.58,-24.93 301.04,-21.72 307.65,-19.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="308.98,-22.44 317.36,-15.97 306.77,-15.8 308.98,-22.44"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,18 @@
|
||||
<map id="lru_tests::run_tests" name="lru_tests::run_tests">
|
||||
<area shape="rect" id="node1" title="A function to invoke all test cases." alt="" coords="5,159,140,185"/>
|
||||
<area shape="rect" id="node2" href="$d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="188,84,304,111"/>
|
||||
<area shape="rect" id="node15" href="$d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" title="A test case contains hits more than cache size The assert statement will check expected hist and miss..." alt="" coords="188,159,304,185"/>
|
||||
<area shape="rect" id="node16" href="$d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss." alt="" coords="188,233,304,260"/>
|
||||
<area shape="rect" id="node3" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="371,86,507,127"/>
|
||||
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="352,151,525,193"/>
|
||||
<area shape="rect" id="node5" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="373,217,505,258"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="609,5,708,32"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="607,56,711,83"/>
|
||||
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/end.html#" title=" " alt="" coords="573,107,744,133"/>
|
||||
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/erase.html#" title=" " alt="" coords="588,158,729,199"/>
|
||||
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="607,224,711,251"/>
|
||||
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/find.html#" title=" " alt="" coords="588,275,729,317"/>
|
||||
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/pop_back.html#" title=" " alt="" coords="594,341,723,368"/>
|
||||
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/push_front.html#" title=" " alt="" coords="592,392,725,419"/>
|
||||
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="611,443,706,469"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
c74df4f9d34a65270206097c224a3fec
|
||||
@@ -0,0 +1,400 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: lru_tests::run_tests Pages: 1 -->
|
||||
<!--zoomable 356 -->
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
var edges = document.getElementsByTagName('g');
|
||||
if (edges && edges.length) {
|
||||
for (var i=0;i<edges.length;i++) {
|
||||
if (edges[i].id.substr(0,4)=='edge') {
|
||||
edges[i].setAttribute('class','edge');
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></script>
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="dirArrow">
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
||||
</use>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
<script type="text/javascript">
|
||||
var viewWidth = 562;
|
||||
var viewHeight = 356;
|
||||
var sectionId = 'dynsection-3';
|
||||
</script>
|
||||
<script xlink:href="../../svgpan.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<title>lru_tests::run_tests</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-352 558,-352 558,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="A function to invoke all test cases.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-213.5 0,-232.5 101,-232.5 101,-213.5 0,-213.5"/>
|
||||
<text text-anchor="middle" x="50.5" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::run_tests</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M30.46,-232.76C20.72,-241.57 27.39,-251 50.5,-251 65.3,-251 73.36,-247.13 74.68,-242.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="77.81,-240.46 70.54,-232.76 71.42,-243.31 77.81,-240.46"/>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
|
||||
<polygon fill="white" stroke="black" points="137,-269.5 137,-288.5 224,-288.5 224,-269.5 137,-269.5"/>
|
||||
<text text-anchor="middle" x="180.5" y="-276.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M73.5,-232.63C94.14,-241.66 125.22,-255.25 148.39,-265.39"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="147.22,-268.7 157.78,-269.5 150.02,-262.28 147.22,-268.7"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" target="_top" xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
|
||||
<polygon fill="white" stroke="black" points="137,-213.5 137,-232.5 224,-232.5 224,-213.5 137,-213.5"/>
|
||||
<text text-anchor="middle" x="180.5" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node15 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node1->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M101.35,-223C109.64,-223 118.26,-223 126.61,-223"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="126.64,-226.5 136.64,-223 126.64,-219.5 126.64,-226.5"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
|
||||
<polygon fill="white" stroke="black" points="137,-157.5 137,-176.5 224,-176.5 224,-157.5 137,-157.5"/>
|
||||
<text text-anchor="middle" x="180.5" y="-164.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node16 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node1->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M73.5,-213.37C94.14,-204.34 125.22,-190.75 148.39,-180.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="150.02,-183.72 157.78,-176.5 147.22,-177.3 150.02,-183.72"/>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M160.46,-288.76C150.72,-297.57 157.39,-307 180.5,-307 195.3,-307 203.36,-303.13 204.68,-298.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="207.81,-296.46 200.54,-288.76 201.42,-299.31 207.81,-296.46"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
|
||||
<polygon fill="white" stroke="black" points="274,-257 274,-287 376,-287 376,-257 274,-257"/>
|
||||
<text text-anchor="start" x="282" y="-275" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="325" y="-264" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M224.25,-276.9C236.67,-276.29 250.46,-275.61 263.73,-274.96"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="263.93,-278.45 273.75,-274.47 263.59,-271.46 263.93,-278.45"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
|
||||
<polygon fill="white" stroke="black" points="260,-208 260,-238 390,-238 390,-208 260,-208"/>
|
||||
<text text-anchor="start" x="268" y="-226" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="325" y="-215" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.54,-269.48C221.07,-263.34 241.72,-255.18 260,-248 265.14,-245.98 270.5,-243.88 275.85,-241.78"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="277.37,-244.95 285.41,-238.05 274.82,-238.43 277.37,-244.95"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
|
||||
<polygon fill="white" stroke="black" points="275.5,-159 275.5,-189 374.5,-189 374.5,-159 275.5,-159"/>
|
||||
<text text-anchor="start" x="283.5" y="-177" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="325" y="-166" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node5 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node2->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M209.52,-269.45C214.69,-266.9 219.78,-263.77 224,-260 247.48,-239.03 236.02,-219.4 260,-199 261.99,-197.31 264.1,-195.72 266.31,-194.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="268.36,-197.1 275.19,-189 264.8,-191.07 268.36,-197.1"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="453,-328.5 453,-347.5 527,-347.5 527,-328.5 453,-328.5"/>
|
||||
<text text-anchor="middle" x="490" y="-335.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.5,-187.29C380.26,-190.41 385.63,-194.26 390,-199 427.75,-239.93 386.66,-279.6 426,-319 430.83,-323.83 436.84,-327.45 443.21,-330.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="442.13,-333.47 452.72,-333.48 444.44,-326.87 442.13,-333.47"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="451,-290.5 451,-309.5 529,-309.5 529,-290.5 451,-290.5"/>
|
||||
<text text-anchor="middle" x="490" y="-297.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node7 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node5->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.62,-188.14C380.23,-191.12 385.52,-194.71 390,-199 418.72,-226.56 396.21,-254.61 426,-281 430.49,-284.98 435.79,-288.13 441.38,-290.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="440.38,-293.97 450.97,-294.21 442.83,-287.42 440.38,-293.97"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="426,-252.5 426,-271.5 554,-271.5 554,-252.5 426,-252.5"/>
|
||||
<text text-anchor="middle" x="490" y="-259.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node8 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node5->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.93,-189.06C378.93,-191.91 384.79,-195.21 390,-199 410.44,-213.86 404.99,-228.96 426,-243 429.08,-245.06 432.39,-246.9 435.82,-248.54"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="434.54,-251.8 445.11,-252.46 437.26,-245.35 434.54,-251.8"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="437,-203 437,-233 543,-233 543,-203 437,-203"/>
|
||||
<text text-anchor="start" x="445" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="490" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node9 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node5->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.91,-187.2C391.21,-191.6 409.6,-196.57 426.78,-201.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="426.16,-204.66 436.73,-203.89 427.98,-197.9 426.16,-204.66"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="451,-164.5 451,-183.5 529,-183.5 529,-164.5 451,-164.5"/>
|
||||
<text text-anchor="middle" x="490" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node10 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node5->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.91,-174C395.68,-174 419.84,-174 440.57,-174"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="440.75,-177.5 450.75,-174 440.75,-170.5 440.75,-177.5"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="437,-115 437,-145 543,-145 543,-115 437,-115"/>
|
||||
<text text-anchor="start" x="445" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="490" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node11 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node5->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.91,-160.8C391.21,-156.4 409.6,-151.43 426.78,-146.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="427.98,-150.1 436.73,-144.11 426.16,-143.34 427.98,-150.1"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="441.5,-76.5 441.5,-95.5 538.5,-95.5 538.5,-76.5 441.5,-76.5"/>
|
||||
<text text-anchor="middle" x="490" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node12 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node5->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M344.53,-158.96C363.88,-143.86 395.6,-120.77 426,-106 431.36,-103.4 437.13,-101.03 442.93,-98.91"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="444.33,-102.12 452.65,-95.57 442.06,-95.5 444.33,-102.12"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="440,-38.5 440,-57.5 540,-57.5 540,-38.5 440,-38.5"/>
|
||||
<text text-anchor="middle" x="490" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node13 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node5->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M336.12,-158.85C352.36,-135.68 386.48,-91.56 426,-67 429.4,-64.89 433.04,-63 436.8,-61.31"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="438.33,-64.47 446.32,-57.52 435.74,-57.97 438.33,-64.47"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="454.5,-0.5 454.5,-19.5 525.5,-19.5 525.5,-0.5 454.5,-0.5"/>
|
||||
<text text-anchor="middle" x="490" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node14 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node5->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M332.32,-158.75C345.35,-129.2 378.06,-63.95 426,-29 431.58,-24.93 438.04,-21.72 444.65,-19.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="445.98,-22.44 454.36,-15.97 443.77,-15.8 445.98,-22.44"/>
|
||||
</g>
|
||||
<!-- Node15->Node3 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node15->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M209.31,-232.56C226.72,-238.55 249.73,-246.46 270.57,-253.63"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="269.68,-257.02 280.27,-256.96 271.95,-250.4 269.68,-257.02"/>
|
||||
</g>
|
||||
<!-- Node15->Node4 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node15->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M224.25,-223C232.33,-223 240.98,-223 249.7,-223"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="249.93,-226.5 259.93,-223 249.93,-219.5 249.93,-226.5"/>
|
||||
</g>
|
||||
<!-- Node15->Node5 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node15->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M209.31,-213.44C226.72,-207.45 249.73,-199.54 270.57,-192.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="271.95,-195.6 280.27,-189.04 269.68,-188.98 271.95,-195.6"/>
|
||||
</g>
|
||||
<!-- Node15->Node15 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node15->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M160.46,-232.76C150.72,-241.57 157.39,-251 180.5,-251 195.3,-251 203.36,-247.13 204.68,-242.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="207.81,-240.46 200.54,-232.76 201.42,-243.31 207.81,-240.46"/>
|
||||
</g>
|
||||
<!-- Node16->Node3 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node16->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M193.52,-176.54C202.31,-183.73 214.33,-194.03 224,-204 241.59,-222.14 239.46,-233.28 260,-248 262.07,-249.48 264.24,-250.88 266.48,-252.21"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="264.93,-255.35 275.41,-256.95 268.21,-249.17 264.93,-255.35"/>
|
||||
</g>
|
||||
<!-- Node16->Node4 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node16->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M204.45,-176.55C220.06,-183.01 241.22,-191.65 260,-199 264.46,-200.75 269.11,-202.54 273.77,-204.32"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="272.71,-207.66 283.31,-207.94 275.2,-201.12 272.71,-207.66"/>
|
||||
</g>
|
||||
<!-- Node16->Node5 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node16->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M224.25,-169.1C237.06,-169.73 251.33,-170.43 264.99,-171.1"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="265.12,-174.61 275.28,-171.61 265.46,-167.62 265.12,-174.61"/>
|
||||
</g>
|
||||
<!-- Node16->Node16 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node16->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M160.46,-176.76C150.72,-185.57 157.39,-195 180.5,-195 195.3,-195 203.36,-191.13 204.68,-186.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="207.81,-184.46 200.54,-176.76 201.42,-187.31 207.81,-184.46"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="lru__cache_8cpp_a6a3be6d8871b1f5dc03688da8f3ee9e6_cgraph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,312 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: lru_tests::run_tests Pages: 1 -->
|
||||
<svg width="562pt" height="356pt"
|
||||
viewBox="0.00 0.00 562.00 356.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 352)">
|
||||
<title>lru_tests::run_tests</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-352 558,-352 558,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="A function to invoke all test cases.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-213.5 0,-232.5 101,-232.5 101,-213.5 0,-213.5"/>
|
||||
<text text-anchor="middle" x="50.5" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::run_tests</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node1</title>
|
||||
<path fill="none" stroke="midnightblue" d="M30.46,-232.76C20.72,-241.57 27.39,-251 50.5,-251 65.3,-251 73.36,-247.13 74.68,-242.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="77.81,-240.46 70.54,-232.76 71.42,-243.31 77.81,-240.46"/>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a6401e8f2d41d8cc9cd0e52ab381608d4" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
|
||||
<polygon fill="white" stroke="black" points="137,-269.5 137,-288.5 224,-288.5 224,-269.5 137,-269.5"/>
|
||||
<text text-anchor="middle" x="180.5" y="-276.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M73.5,-232.63C94.14,-241.66 125.22,-255.25 148.39,-265.39"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="147.22,-268.7 157.78,-269.5 150.02,-262.28 147.22,-268.7"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a4b02e288a407876a8d6024f98a2a25ec" target="_top" xlink:title="A test case contains hits more than cache size The assert statement will check expected hist and miss...">
|
||||
<polygon fill="white" stroke="black" points="137,-213.5 137,-232.5 224,-232.5 224,-213.5 137,-213.5"/>
|
||||
<text text-anchor="middle" x="180.5" y="-220.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node15 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node1->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M101.35,-223C109.64,-223 118.26,-223 126.61,-223"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="126.64,-226.5 136.64,-223 126.64,-219.5 126.64,-226.5"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d3/db3/lru__cache_8cpp.html#a01ec21fc91ddafd964ae2035ba7892c0" target="_top" xlink:title="A simple test case The assert statement will check expected hist and miss to resultant hits and miss.">
|
||||
<polygon fill="white" stroke="black" points="137,-157.5 137,-176.5 224,-176.5 224,-157.5 137,-157.5"/>
|
||||
<text text-anchor="middle" x="180.5" y="-164.5" font-family="Helvetica,sans-Serif" font-size="10.00">lru_tests::test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node16 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node1->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M73.5,-213.37C94.14,-204.34 125.22,-190.75 148.39,-180.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="150.02,-183.72 157.78,-176.5 147.22,-177.3 150.02,-183.72"/>
|
||||
</g>
|
||||
<!-- Node2->Node2 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node2->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M160.46,-288.76C150.72,-297.57 157.39,-307 180.5,-307 195.3,-307 203.36,-303.13 204.68,-298.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="207.81,-296.46 200.54,-288.76 201.42,-299.31 207.81,-296.46"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
|
||||
<polygon fill="white" stroke="black" points="274,-257 274,-287 376,-287 376,-257 274,-257"/>
|
||||
<text text-anchor="start" x="282" y="-275" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="325" y="-264" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M224.25,-276.9C236.67,-276.29 250.46,-275.61 263.73,-274.96"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="263.93,-278.45 273.75,-274.47 263.59,-271.46 263.93,-278.45"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
|
||||
<polygon fill="white" stroke="black" points="260,-208 260,-238 390,-238 390,-208 260,-208"/>
|
||||
<text text-anchor="start" x="268" y="-226" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="325" y="-215" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.54,-269.48C221.07,-263.34 241.72,-255.18 260,-248 265.14,-245.98 270.5,-243.88 275.85,-241.78"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="277.37,-244.95 285.41,-238.05 274.82,-238.43 277.37,-244.95"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
|
||||
<polygon fill="white" stroke="black" points="275.5,-159 275.5,-189 374.5,-189 374.5,-159 275.5,-159"/>
|
||||
<text text-anchor="start" x="283.5" y="-177" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="325" y="-166" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node5 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node2->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M209.52,-269.45C214.69,-266.9 219.78,-263.77 224,-260 247.48,-239.03 236.02,-219.4 260,-199 261.99,-197.31 264.1,-195.72 266.31,-194.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="268.36,-197.1 275.19,-189 264.8,-191.07 268.36,-197.1"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="453,-328.5 453,-347.5 527,-347.5 527,-328.5 453,-328.5"/>
|
||||
<text text-anchor="middle" x="490" y="-335.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.5,-187.29C380.26,-190.41 385.63,-194.26 390,-199 427.75,-239.93 386.66,-279.6 426,-319 430.83,-323.83 436.84,-327.45 443.21,-330.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="442.13,-333.47 452.72,-333.48 444.44,-326.87 442.13,-333.47"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="451,-290.5 451,-309.5 529,-309.5 529,-290.5 451,-290.5"/>
|
||||
<text text-anchor="middle" x="490" y="-297.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node7 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node5->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.62,-188.14C380.23,-191.12 385.52,-194.71 390,-199 418.72,-226.56 396.21,-254.61 426,-281 430.49,-284.98 435.79,-288.13 441.38,-290.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="440.38,-293.97 450.97,-294.21 442.83,-287.42 440.38,-293.97"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="426,-252.5 426,-271.5 554,-271.5 554,-252.5 426,-252.5"/>
|
||||
<text text-anchor="middle" x="490" y="-259.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node8 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node5->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.93,-189.06C378.93,-191.91 384.79,-195.21 390,-199 410.44,-213.86 404.99,-228.96 426,-243 429.08,-245.06 432.39,-246.9 435.82,-248.54"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="434.54,-251.8 445.11,-252.46 437.26,-245.35 434.54,-251.8"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="437,-203 437,-233 543,-233 543,-203 437,-203"/>
|
||||
<text text-anchor="start" x="445" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="490" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node9 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node5->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.91,-187.2C391.21,-191.6 409.6,-196.57 426.78,-201.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="426.16,-204.66 436.73,-203.89 427.98,-197.9 426.16,-204.66"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="451,-164.5 451,-183.5 529,-183.5 529,-164.5 451,-164.5"/>
|
||||
<text text-anchor="middle" x="490" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node10 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node5->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.91,-174C395.68,-174 419.84,-174 440.57,-174"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="440.75,-177.5 450.75,-174 440.75,-170.5 440.75,-177.5"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="437,-115 437,-145 543,-145 543,-115 437,-115"/>
|
||||
<text text-anchor="start" x="445" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="490" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node11 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node5->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M374.91,-160.8C391.21,-156.4 409.6,-151.43 426.78,-146.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="427.98,-150.1 436.73,-144.11 426.16,-143.34 427.98,-150.1"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="441.5,-76.5 441.5,-95.5 538.5,-95.5 538.5,-76.5 441.5,-76.5"/>
|
||||
<text text-anchor="middle" x="490" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node12 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node5->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M344.53,-158.96C363.88,-143.86 395.6,-120.77 426,-106 431.36,-103.4 437.13,-101.03 442.93,-98.91"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="444.33,-102.12 452.65,-95.57 442.06,-95.5 444.33,-102.12"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="440,-38.5 440,-57.5 540,-57.5 540,-38.5 440,-38.5"/>
|
||||
<text text-anchor="middle" x="490" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node13 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node5->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M336.12,-158.85C352.36,-135.68 386.48,-91.56 426,-67 429.4,-64.89 433.04,-63 436.8,-61.31"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="438.33,-64.47 446.32,-57.52 435.74,-57.97 438.33,-64.47"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="454.5,-0.5 454.5,-19.5 525.5,-19.5 525.5,-0.5 454.5,-0.5"/>
|
||||
<text text-anchor="middle" x="490" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node14 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node5->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M332.32,-158.75C345.35,-129.2 378.06,-63.95 426,-29 431.58,-24.93 438.04,-21.72 444.65,-19.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="445.98,-22.44 454.36,-15.97 443.77,-15.8 445.98,-22.44"/>
|
||||
</g>
|
||||
<!-- Node15->Node3 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node15->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M209.31,-232.56C226.72,-238.55 249.73,-246.46 270.57,-253.63"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="269.68,-257.02 280.27,-256.96 271.95,-250.4 269.68,-257.02"/>
|
||||
</g>
|
||||
<!-- Node15->Node4 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node15->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M224.25,-223C232.33,-223 240.98,-223 249.7,-223"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="249.93,-226.5 259.93,-223 249.93,-219.5 249.93,-226.5"/>
|
||||
</g>
|
||||
<!-- Node15->Node5 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node15->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M209.31,-213.44C226.72,-207.45 249.73,-199.54 270.57,-192.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="271.95,-195.6 280.27,-189.04 269.68,-188.98 271.95,-195.6"/>
|
||||
</g>
|
||||
<!-- Node15->Node15 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node15->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M160.46,-232.76C150.72,-241.57 157.39,-251 180.5,-251 195.3,-251 203.36,-247.13 204.68,-242.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="207.81,-240.46 200.54,-232.76 201.42,-243.31 207.81,-240.46"/>
|
||||
</g>
|
||||
<!-- Node16->Node3 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node16->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M193.52,-176.54C202.31,-183.73 214.33,-194.03 224,-204 241.59,-222.14 239.46,-233.28 260,-248 262.07,-249.48 264.24,-250.88 266.48,-252.21"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="264.93,-255.35 275.41,-256.95 268.21,-249.17 264.93,-255.35"/>
|
||||
</g>
|
||||
<!-- Node16->Node4 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node16->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M204.45,-176.55C220.06,-183.01 241.22,-191.65 260,-199 264.46,-200.75 269.11,-202.54 273.77,-204.32"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="272.71,-207.66 283.31,-207.94 275.2,-201.12 272.71,-207.66"/>
|
||||
</g>
|
||||
<!-- Node16->Node5 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node16->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M224.25,-169.1C237.06,-169.73 251.33,-170.43 264.99,-171.1"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="265.12,-174.61 275.28,-171.61 265.46,-167.62 265.12,-174.61"/>
|
||||
</g>
|
||||
<!-- Node16->Node16 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node16->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M160.46,-176.76C150.72,-185.57 157.39,-195 180.5,-195 195.3,-195 203.36,-191.13 204.68,-186.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="207.81,-184.46 200.54,-176.76 201.42,-187.31 207.81,-184.46"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 17 KiB |
@@ -0,0 +1,17 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,130,56,157"/>
|
||||
<area shape="rect" id="node2" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53" title="A function to display the current cache." alt="" coords="123,5,259,47"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="375,13,447,39"/>
|
||||
<area shape="rect" id="node4" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" title="A function to get page hits." alt="" coords="123,123,259,164"/>
|
||||
<area shape="rect" id="node5" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" title="A function to get page fault." alt="" coords="104,188,277,229"/>
|
||||
<area shape="rect" id="node6" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" title="Refer to a page, or request a page from memory." alt="" coords="125,264,257,305"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="361,63,460,90"/>
|
||||
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="359,114,463,141"/>
|
||||
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/end.html#" title=" " alt="" coords="325,165,496,191"/>
|
||||
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/erase.html#" title=" " alt="" coords="340,216,481,257"/>
|
||||
<area shape="rect" id="node11" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="359,282,463,309"/>
|
||||
<area shape="rect" id="node12" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/find.html#" title=" " alt="" coords="340,333,481,375"/>
|
||||
<area shape="rect" id="node13" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/pop_back.html#" title=" " alt="" coords="346,399,475,426"/>
|
||||
<area shape="rect" id="node14" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/push_front.html#" title=" " alt="" coords="344,450,477,477"/>
|
||||
<area shape="rect" id="node15" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="363,501,458,527"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
7b5765ca7874b2630d439c39927a8723
|
||||
@@ -0,0 +1,244 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="376pt" height="400pt"
|
||||
viewBox="0.00 0.00 376.00 399.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 395.5)">
|
||||
<title>main</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-395.5 372,-395.5 372,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Main function.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-278.5 0,-297.5 38,-297.5 38,-278.5 0,-278.5"/>
|
||||
<text text-anchor="middle" x="19" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53" target="_top" xlink:title="A function to display the current cache.">
|
||||
<polygon fill="white" stroke="black" points="88,-361 88,-391 190,-391 190,-361 88,-361"/>
|
||||
<text text-anchor="start" x="96" y="-379" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="139" y="-368" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::display</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M27.12,-297.7C36.66,-310.17 54.65,-331.9 74,-346 79.14,-349.75 84.83,-353.21 90.62,-356.34"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="89.26,-359.58 99.76,-361 92.44,-353.34 89.26,-359.58"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="277,-366.5 277,-385.5 331,-385.5 331,-366.5 277,-366.5"/>
|
||||
<text text-anchor="middle" x="304" y="-373.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M38.18,-297.33C48.5,-302.4 61.78,-308.52 74,-313 109.54,-326.01 211.86,-352.76 266.92,-366.85"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="266.07,-370.25 276.62,-369.33 267.8,-363.46 266.07,-370.25"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933" target="_top" xlink:title="A function to get page hits.">
|
||||
<polygon fill="white" stroke="black" points="88,-273 88,-303 190,-303 190,-273 88,-273"/>
|
||||
<text text-anchor="start" x="96" y="-291" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="139" y="-280" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getHits</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M38.18,-288C49,-288 63.41,-288 77.91,-288"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="77.92,-291.5 87.92,-288 77.92,-284.5 77.92,-291.5"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2" target="_top" xlink:title="A function to get page fault.">
|
||||
<polygon fill="white" stroke="black" points="74,-224 74,-254 204,-254 204,-224 74,-224"/>
|
||||
<text text-anchor="start" x="82" y="-242" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="139" y="-231" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::getPageFault</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M38.4,-279.57C48.8,-274.87 62.07,-268.98 74,-264 78.83,-261.98 83.88,-259.93 88.94,-257.9"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="90.62,-261 98.62,-254.05 88.04,-254.49 90.62,-261"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a xlink:href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602" target="_top" xlink:title="Refer to a page, or request a page from memory.">
|
||||
<polygon fill="white" stroke="black" points="89.5,-167 89.5,-197 188.5,-197 188.5,-167 89.5,-167"/>
|
||||
<text text-anchor="start" x="97.5" y="-185" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="139" y="-174" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M25.17,-278.39C33.68,-263.29 51.91,-233.8 74,-215 79.63,-210.21 86.07,-205.87 92.65,-202.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="94.55,-204.98 101.65,-197.11 91.19,-198.84 94.55,-204.98"/>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M190.24,-376C214.95,-376 244.18,-376 266.68,-376"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="266.83,-379.5 276.83,-376 266.83,-372.5 266.83,-379.5"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="267,-328.5 267,-347.5 341,-347.5 341,-328.5 267,-328.5"/>
|
||||
<text text-anchor="middle" x="304" y="-335.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M180.87,-197.17C189.39,-201.84 197.7,-207.73 204,-215 236.03,-251.97 204.72,-285.12 240,-319 244.93,-323.73 250.99,-327.29 257.39,-329.96"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="256.32,-333.3 266.91,-333.28 258.62,-326.69 256.32,-333.3"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="265,-290.5 265,-309.5 343,-309.5 343,-290.5 265,-290.5"/>
|
||||
<text text-anchor="middle" x="304" y="-297.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node8 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node6->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M178.35,-197.08C187.47,-201.88 196.67,-207.84 204,-215 227.9,-238.35 214.06,-259.93 240,-281 244.6,-284.74 249.93,-287.74 255.49,-290.15"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="254.41,-293.48 265,-293.68 256.84,-286.92 254.41,-293.48"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="240,-252.5 240,-271.5 368,-271.5 368,-252.5 240,-252.5"/>
|
||||
<text text-anchor="middle" x="304" y="-259.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node9 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node6->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M172.23,-197.15C182.6,-202.41 193.99,-208.61 204,-215 221.08,-225.91 221.99,-233.69 240,-243 244.28,-245.21 248.86,-247.21 253.52,-249"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="252.54,-252.37 263.14,-252.41 254.88,-245.77 252.54,-252.37"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="251,-203 251,-233 357,-233 357,-203 251,-203"/>
|
||||
<text text-anchor="start" x="259" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="304" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node10 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node6->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M188.91,-192.8C205.21,-196.4 223.6,-200.46 240.78,-204.26"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="240.21,-207.72 250.73,-206.45 241.72,-200.88 240.21,-207.72"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="265,-164.5 265,-183.5 343,-183.5 343,-164.5 265,-164.5"/>
|
||||
<text text-anchor="middle" x="304" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node11 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node6->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M188.91,-179.6C209.68,-178.58 233.84,-177.39 254.57,-176.38"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="254.93,-179.86 264.75,-175.88 254.59,-172.87 254.93,-179.86"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="251,-115 251,-145 357,-145 357,-115 251,-115"/>
|
||||
<text text-anchor="start" x="259" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="304" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node12 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node6->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.15,-166.96C205.65,-161.06 227.04,-154.23 246.36,-148.07"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="247.5,-151.38 255.96,-145.01 245.37,-144.71 247.5,-151.38"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="255.5,-76.5 255.5,-95.5 352.5,-95.5 352.5,-76.5 255.5,-76.5"/>
|
||||
<text text-anchor="middle" x="304" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node13 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node6->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M155.72,-166.92C174.42,-149.73 207.26,-121.82 240,-105 244.34,-102.77 248.99,-100.75 253.73,-98.94"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="255.21,-102.13 263.49,-95.51 252.89,-95.53 255.21,-102.13"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="254,-38.5 254,-57.5 354,-57.5 354,-38.5 254,-38.5"/>
|
||||
<text text-anchor="middle" x="304" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node14 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node6->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M149.07,-166.9C164.61,-142.32 198.67,-93.72 240,-67 243.16,-64.96 246.55,-63.12 250.06,-61.48"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="251.63,-64.62 259.54,-57.57 248.96,-58.15 251.63,-64.62"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="268.5,-0.5 268.5,-19.5 339.5,-19.5 339.5,-0.5 268.5,-0.5"/>
|
||||
<text text-anchor="middle" x="304" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node15 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node6->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M145.7,-166.87C158.04,-136.15 190.2,-66.26 240,-29 245.53,-24.86 251.96,-21.62 258.56,-19.08"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="259.89,-22.32 268.27,-15.84 257.68,-15.68 259.89,-22.32"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
@@ -136,7 +136,7 @@ Functions</h2></td></tr>
|
||||
<dl class="section author"><dt>Author</dt><dd><a href="https://adityaprakash.tech">Aditya Prakash</a></dd></dl>
|
||||
<p>The working principle of the Bubble sort algorithm.</p>
|
||||
<p>Bubble sort is a simple sorting algorithm used to rearrange a set of ascending or descending order elements. Bubble sort gets its name from the fact that data "bubbles" to the top of the dataset.</p>
|
||||
<h3><a class="anchor" id="autotoc_md93"></a>
|
||||
<h3><a class="anchor" id="autotoc_md96"></a>
|
||||
Algorithm</h3>
|
||||
<p>What is Swap?</p>
|
||||
<p>Swapping two numbers means that we interchange their values. Often, an additional variable is required for this operation. This is further illustrated in the following:</p>
|
||||
|
||||
@@ -149,14 +149,14 @@ Functions</h2></td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Implementation of the <a href="https://www.geeksforgeeks.org/sublist-search-search-a-linked-list-in-another-list">Sublist Search Algorithm</a> </p>
|
||||
<h3><a class="anchor" id="autotoc_md89"></a>
|
||||
<h3><a class="anchor" id="autotoc_md92"></a>
|
||||
Algorithm</h3>
|
||||
<ul>
|
||||
<li>Sublist search is used to detect a presence of one list in another list.</li>
|
||||
<li>Suppose we have a single-node list (let's say the first list), and we want to ensure that the list is present in another list (let's say the second list), then we can perform the sublist search to find it.</li>
|
||||
<li>For instance, the first list contains these elements: 23 -> 30 -> 41, and the second list contains these elements: 10 -> 15 -> 23 -> 30 -> 41 -> 49. At a glance, we see that the first list presents in the second list.</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md90"></a>
|
||||
<h3><a class="anchor" id="autotoc_md93"></a>
|
||||
Working</h3>
|
||||
<ul>
|
||||
<li>The sublist search algorithm works by comparing the first element of the first list with the first element of the second list.</li>
|
||||
|
||||
@@ -159,7 +159,7 @@ Functions</h2></td></tr>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d5/d83/lcm__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d83/lcm__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="308" height="88"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -190,18 +190,18 @@ Here is the call graph for this function:</div>
|
||||
<p>Function for testing lcmSum function. test cases and assert statement. </p><dl class="section return"><dt>Returns</dt><dd><code>void</code> </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  {</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  uint64_t n = 2;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  uint64_t <a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> = <a class="code" href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244">math::lcmSum</a>(n);</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  assert(<a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> == 4);</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  uint64_t test_1 = <a class="code" href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244">math::lcmSum</a>(n);</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  assert(test_1 == 4);</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 1!"</span> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  n = 5;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  uint64_t <a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> = <a class="code" href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244">math::lcmSum</a>(n);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  assert(<a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> == 55);</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  uint64_t test_2 = <a class="code" href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244">math::lcmSum</a>(n);</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  assert(test_2 == 55);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 2!"</span> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  n = 10;</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  uint64_t <a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> = <a class="code" href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244">math::lcmSum</a>(n);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  assert(<a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> == 320);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  uint64_t test_3 = <a class="code" href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244">math::lcmSum</a>(n);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  assert(test_3 == 320);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 3!"</span> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  n = 11;</div>
|
||||
@@ -216,14 +216,11 @@ Here is the call graph for this function:</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> }</div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a34b8683a2b429de5cce57e6d733ec817"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:505</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a458410412185a5f09199deaff7157a8d"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:549</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_af31ec5409537703d9c8a47350386b32a"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:592</div></div>
|
||||
<div class="ttc" id="anamespacemath_html_a04065193d190d605e1f0d0d93a87e244"><div class="ttname"><a href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244">math::lcmSum</a></div><div class="ttdeci">uint64_t lcmSum(const uint16_t &num)</div><div class="ttdef"><b>Definition:</b> lcm_sum.cpp:29</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d5/d83/lcm__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d5/d83/lcm__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="210" height="88"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,27 +1,5 @@
|
||||
<map id="test" name="test">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,251,49,278"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="115,150,187,177"/>
|
||||
<area shape="rect" id="node3" href="$dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" title=" " alt="" coords="97,201,204,227"/>
|
||||
<area shape="rect" id="node4" href="$d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" title=" " alt="" coords="121,399,180,426"/>
|
||||
<area shape="rect" id="node24" href="$d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" title=" " alt="" coords="121,251,180,278"/>
|
||||
<area shape="rect" id="node25" href="$d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" title=" " alt="" coords="121,302,180,329"/>
|
||||
<area shape="rect" id="node5" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" title="Adds an undirected edge from node u to node v in the tree." alt="" coords="252,353,403,409"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="451,321,607,347"/>
|
||||
<area shape="rect" id="node7" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="252,614,403,670"/>
|
||||
<area shape="rect" id="node15" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" title="This function returns the sum of node values in the simple path from from node_1 to node_2." alt="" coords="252,483,403,539"/>
|
||||
<area shape="rect" id="node20" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" title="Set the values for all the nodes." alt="" coords="252,222,403,278"/>
|
||||
<area shape="rect" id="node21" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="471,205,586,231"/>
|
||||
<area shape="rect" id="node22" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" title="This function updates the value at node with val." alt="" coords="252,91,403,147"/>
|
||||
<area shape="rect" id="node8" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" title="Function that specifies the type of operation involved when segments are combined." alt="" coords="655,574,805,630"/>
|
||||
<area shape="rect" id="node9" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" title="Utility function to assign heavy child to each node (-1 for a leaf node)" alt="" coords="453,839,604,895"/>
|
||||
<area shape="rect" id="node10" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" title="Utility function to lable the nodes so that heavy chains have a contigous lable." alt="" coords="453,549,604,605"/>
|
||||
<area shape="rect" id="node11" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" title="Utility function to assign highest parent that can be reached though heavy chains." alt="" coords="453,679,604,735"/>
|
||||
<area shape="rect" id="node12" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="453,759,604,815"/>
|
||||
<area shape="rect" id="node13" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" title="Utility function to populate the t_par vector." alt="" coords="655,799,805,855"/>
|
||||
<area shape="rect" id="node14" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" title="Utility function to compute sub-tree sizes." alt="" coords="655,719,805,775"/>
|
||||
<area shape="rect" id="node16" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" title="Utility function to break down a path query into two chain queries." alt="" coords="453,469,604,525"/>
|
||||
<area shape="rect" id="node18" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" title="The function returns the least common ancestor of two nodes." alt="" coords="453,389,604,445"/>
|
||||
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="691,483,769,510"/>
|
||||
<area shape="rect" id="node19" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store..." alt="" coords="655,389,805,445"/>
|
||||
<area shape="rect" id="node23" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" title="Update the value at a node." alt="" coords="453,91,604,147"/>
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,31,49,57"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="115,5,187,32"/>
|
||||
<area shape="rect" id="node3" href="$dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" title=" " alt="" coords="97,56,204,83"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
42405adb78342cfb193015ccbc96d261
|
||||
76fa7b582dcdc0b8d8ad6b718ddc7992
|
||||
@@ -4,63 +4,17 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<!--zoomable 676 -->
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
var edges = document.getElementsByTagName('g');
|
||||
if (edges && edges.length) {
|
||||
for (var i=0;i<edges.length;i++) {
|
||||
if (edges[i].id.substr(0,4)=='edge') {
|
||||
edges[i].setAttribute('class','edge');
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></script>
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="dirArrow">
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
||||
</use>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
<script type="text/javascript">
|
||||
var viewWidth = 608;
|
||||
var viewHeight = 676;
|
||||
var sectionId = 'dynsection-2';
|
||||
</script>
|
||||
<script xlink:href="../../svgpan.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<svg width="157pt" height="66pt"
|
||||
viewBox="0.00 0.00 157.00 66.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 62)">
|
||||
<title>test</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 604,-671.51 604,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-62 153,-62 153,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title=" ">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-463.5 0,-482.5 33,-482.5 33,-463.5 0,-463.5"/>
|
||||
<text text-anchor="middle" x="16.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-19.5 0,-38.5 33,-38.5 33,-19.5 0,-19.5"/>
|
||||
<text text-anchor="middle" x="16.5" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -68,537 +22,31 @@ var sectionId = 'dynsection-2';
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="82,-539.5 82,-558.5 136,-558.5 136,-539.5 82,-539.5"/>
|
||||
<text text-anchor="middle" x="109" y="-546.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
<polygon fill="white" stroke="black" points="82,-38.5 82,-57.5 136,-57.5 136,-38.5 82,-38.5"/>
|
||||
<text text-anchor="middle" x="109" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M24.26,-482.51C33.33,-494.73 50.45,-516.05 69,-530 71.05,-531.54 73.25,-533.01 75.52,-534.4"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="74.02,-537.57 84.47,-539.34 77.4,-531.44 74.02,-537.57"/>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-32.31C43.92,-34.55 58.43,-37.59 71.84,-40.41"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="71.29,-43.87 81.79,-42.5 72.73,-37.02 71.29,-43.87"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="69,-501.5 69,-520.5 149,-520.5 149,-501.5 69,-501.5"/>
|
||||
<text text-anchor="middle" x="109" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::lcmSum</text>
|
||||
<polygon fill="white" stroke="black" points="69,-0.5 69,-19.5 149,-19.5 149,-0.5 69,-0.5"/>
|
||||
<text text-anchor="middle" x="109" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::lcmSum</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-479.62C44.95,-484.53 61.28,-491.38 75.7,-497.44"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="74.72,-500.82 85.29,-501.47 77.43,-494.37 74.72,-500.82"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="87,-352.5 87,-371.5 131,-371.5 131,-352.5 87,-352.5"/>
|
||||
<text text-anchor="middle" x="109" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M25.53,-463.15C40.87,-444.34 74.5,-403.09 93.74,-379.49"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="96.51,-381.63 100.12,-371.67 91.08,-377.21 96.51,-381.63"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="87,-463.5 87,-482.5 131,-482.5 131,-463.5 87,-463.5"/>
|
||||
<text text-anchor="middle" x="109" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node24 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node1->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-473C45.24,-473 62.11,-473 76.79,-473"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="76.99,-476.5 86.99,-473 76.99,-469.5 76.99,-476.5"/>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="node25" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_node25"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="87,-425.5 87,-444.5 131,-444.5 131,-425.5 87,-425.5"/>
|
||||
<text text-anchor="middle" x="109" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node25 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node1->Node25</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-466.38C45.48,-461.25 62.77,-453.99 77.64,-447.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="79.12,-450.92 86.99,-443.82 76.41,-444.47 79.12,-450.92"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="185,-365.5 185,-406.5 298,-406.5 298,-365.5 185,-365.5"/>
|
||||
<text text-anchor="start" x="193" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-365.91C143.34,-368.13 159.19,-371.05 175.05,-373.96"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="174.43,-377.41 184.9,-375.77 175.7,-370.52 174.43,-377.41"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="334,-411.5 334,-430.5 451,-430.5 451,-411.5 334,-411.5"/>
|
||||
<text text-anchor="middle" x="392.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.38,-352.48C121.65,-330.87 145.17,-278.38 185,-258 229.71,-235.12 258.06,-227.55 298,-258 346.02,-294.6 296.71,-341.51 334,-389 339.69,-396.25 347.5,-402.1 355.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="354.1,-409.93 364.59,-411.43 357.33,-403.72 354.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="185,-169.5 185,-210.5 298,-210.5 298,-169.5 185,-169.5"/>
|
||||
<text text-anchor="start" x="193" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.34,-352.33C121.98,-328.37 147.11,-265.3 185,-225 187.73,-222.1 190.75,-219.33 193.93,-216.72"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="196.22,-219.38 202.1,-210.57 192.01,-213.79 196.22,-219.38"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="185,-267.5 185,-308.5 298,-308.5 298,-267.5 185,-267.5"/>
|
||||
<text text-anchor="start" x="193" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node15 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node4->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M126.79,-352.48C144.07,-342.68 171.72,-327 195.43,-313.55"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="197.33,-316.5 204.3,-308.53 193.87,-310.42 197.33,-316.5"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="185,-463.5 185,-504.5 298,-504.5 298,-463.5 185,-463.5"/>
|
||||
<text text-anchor="start" x="193" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node4->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M120.24,-371.57C139.55,-389.62 181.98,-429.29 210.91,-456.34"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="208.62,-458.99 218.32,-463.26 213.4,-453.88 208.62,-458.99"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="349.5,-498.5 349.5,-517.5 435.5,-517.5 435.5,-498.5 349.5,-498.5"/>
|
||||
<text text-anchor="middle" x="392.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node21 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node4->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.01,-354.1C168.15,-341.59 246.34,-321.93 298,-356 331.91,-378.36 312.65,-405.45 334,-440 345.57,-458.73 362.07,-477.67 374.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="372.05,-493.37 381.5,-498.15 377.1,-488.51 372.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="185,-561.5 185,-602.5 298,-602.5 298,-561.5 185,-561.5"/>
|
||||
<text text-anchor="start" x="193" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node4->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.36,-371.8C126.92,-382.23 140.2,-399.46 149,-416 170.79,-456.97 162.01,-473.69 185,-514 192.97,-527.98 203.82,-542 213.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="211.3,-556.1 220.53,-561.3 216.56,-551.48 211.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-399.13C312.22,-402.38 326.96,-405.84 340.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="340.11,-412.52 350.64,-411.4 341.71,-405.71 340.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="487,-199.5 487,-240.5 600,-240.5 600,-199.5 487,-199.5"/>
|
||||
<text text-anchor="start" x="495" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.3,-194.65C340.31,-198.25 399.31,-203.54 451,-209 459.35,-209.88 468.12,-210.86 476.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="476.54,-215.36 486.88,-213.05 477.36,-208.41 476.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="336,-0.5 336,-41.5 449,-41.5 449,-0.5 336,-0.5"/>
|
||||
<text text-anchor="start" x="344" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node7->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M251.94,-169.25C266.18,-139.81 295.63,-85.67 334,-51 335.29,-49.83 336.64,-48.7 338.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="340.27,-50.29 346.37,-41.62 336.2,-44.6 340.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="336,-218.5 336,-259.5 449,-259.5 449,-218.5 336,-218.5"/>
|
||||
<text text-anchor="start" x="344" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node7->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-208.39C307.48,-211.37 316.94,-214.48 326.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="325.18,-220.88 335.78,-220.67 327.37,-214.23 325.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="336,-120.5 336,-161.5 449,-161.5 449,-120.5 336,-120.5"/>
|
||||
<text text-anchor="start" x="344" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node7->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-171.61C307.48,-168.63 316.94,-165.52 326.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="327.37,-165.77 335.78,-159.33 325.18,-159.12 327.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="336,-60.5 336,-101.5 449,-101.5 449,-60.5 336,-60.5"/>
|
||||
<text text-anchor="start" x="344" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node7->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M263.53,-169.34C281.38,-152.45 308.13,-128.57 334,-111 336.12,-109.56 338.32,-108.14 340.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="342.56,-109.63 349.38,-101.52 338.99,-103.61 342.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="487,-30.5 487,-71.5 600,-71.5 600,-30.5 487,-30.5"/>
|
||||
<text text-anchor="start" x="495" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node12->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-69.74C458.38,-67.94 467.74,-66.05 476.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="477.66,-67.62 486.78,-62.22 476.28,-60.76 477.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="487,-90.5 487,-131.5 600,-131.5 600,-90.5 487,-90.5"/>
|
||||
<text text-anchor="start" x="495" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node14 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node12->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-92.26C458.38,-94.06 467.74,-95.95 476.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="476.28,-101.24 486.78,-99.78 477.66,-94.38 476.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="336,-278.5 336,-319.5 449,-319.5 449,-278.5 336,-278.5"/>
|
||||
<text text-anchor="start" x="344" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-292.13C307.29,-292.78 316.54,-293.47 325.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="325.55,-297.64 335.78,-294.89 326.06,-290.66 325.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="336,-338.5 336,-379.5 449,-379.5 449,-338.5 336,-338.5"/>
|
||||
<text text-anchor="start" x="344" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node15->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M285.6,-308.54C302.2,-316.45 321.36,-325.58 338.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="337.71,-337.25 348.24,-338.39 340.72,-330.93 337.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node16->Node8 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node16->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M433.12,-278.4C439.12,-275.26 445.23,-272.05 451,-269 465.38,-261.4 480.98,-253.07 495.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="497.1,-248.41 504.26,-240.59 493.8,-242.24 497.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="514,-289.5 514,-308.5 573,-308.5 573,-289.5 514,-289.5"/>
|
||||
<text text-anchor="middle" x="543.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-299C467.42,-299 486.99,-299 503.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="503.89,-302.5 513.89,-299 503.89,-295.5 503.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="487,-338.5 487,-379.5 600,-379.5 600,-338.5 487,-338.5"/>
|
||||
<text text-anchor="start" x="495" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node18->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-359C458.29,-359 467.54,-359 476.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="476.78,-362.5 486.78,-359 476.78,-355.5 476.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node20->Node21 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node20->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-493C311.83,-495.17 326.11,-497.47 339.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="338.82,-503.06 349.25,-501.2 339.94,-496.15 338.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="336,-561.5 336,-602.5 449,-602.5 449,-561.5 336,-561.5"/>
|
||||
<text text-anchor="start" x="344" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node22->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-582C307.29,-582 316.54,-582 325.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="325.78,-585.5 335.78,-582 325.78,-578.5 325.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.03,-463.64C136.96,-460.76 143.34,-457.44 149,-454 169.2,-441.72 190.47,-426.09 207.42,-412.92"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="209.66,-415.6 215.36,-406.67 205.34,-410.1 209.66,-415.6"/>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.17,-479.53C137.66,-482.44 144.32,-486.49 149,-492 185.06,-534.43 140.33,-578.76 185,-612 225.29,-641.98 257.81,-642.11 298,-612 343.58,-577.85 307.03,-539.17 334,-489 344.43,-469.6 361.05,-450.74 373.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="376.41,-440.11 381.06,-430.59 371.49,-435.14 376.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node24->Node7 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node24->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.13,-466.94C137.77,-464.04 144.54,-459.88 149,-454 202.57,-383.47 147.83,-338.39 185,-258 191.65,-243.62 202.06,-229.7 212.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="214.76,-220.48 218.89,-210.72 209.58,-215.78 214.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node24->Node15 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node24->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.38,-466.11C137.73,-463.21 144.25,-459.25 149,-454 180.11,-419.57 162.01,-396.31 185,-356 192.97,-342.02 203.82,-328 213.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="216.56,-318.52 220.53,-308.7 211.3,-313.9 216.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-474.79C143.23,-475.8 158.89,-477.12 174.6,-478.45"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="174.64,-481.96 184.9,-479.31 175.23,-474.99 174.64,-481.96"/>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.37,-479.37C137.87,-482.27 144.49,-486.35 149,-492 192.61,-546.57 130.24,-601.63 185,-645 224.37,-676.18 256.57,-673.39 298,-645 334.56,-619.95 307.41,-587.46 334,-552 342.57,-540.57 354.86,-530.62 365.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="367.87,-525.97 374.35,-517.58 364.06,-520.1 367.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node24->Node22 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node24->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.11,-480.76C137.3,-483.68 143.8,-487.42 149,-492 170.92,-511.31 164.17,-526.52 185,-547 188.02,-549.96 191.32,-552.81 194.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="192.88,-558.44 203.02,-561.49 196.99,-552.78 192.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node25->Node5 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node25->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-427.02C143.63,-422.37 159.96,-416.24 176.21,-410.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="177.61,-413.35 185.74,-406.56 175.15,-406.8 177.61,-413.35"/>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.16,-433.95C171.49,-431.94 260.94,-427.49 323.68,-424.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="324.09,-427.86 333.9,-423.86 323.74,-420.87 324.09,-427.86"/>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.58,-425.31C127.33,-414.98 140.77,-397.83 149,-381 174.04,-329.84 158.46,-308.4 185,-258 192.44,-243.87 203.09,-229.91 213.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="215.8,-220.56 219.84,-210.76 210.57,-215.9 215.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node25->Node15 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node25->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.56,-425.35C137.93,-403.53 185.74,-349.69 215.41,-316.26"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="218.15,-318.44 222.17,-308.64 212.92,-313.8 218.15,-318.44"/>
|
||||
</g>
|
||||
<!-- Node25->Node20 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node25->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-442.98C143.63,-447.63 159.96,-453.76 176.21,-459.86"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="175.15,-463.2 185.74,-463.44 177.61,-456.65 175.15,-463.2"/>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.22,-442.64C137.42,-445.55 143.89,-449.32 149,-454 171.93,-475.01 157.94,-498.68 185,-514 237.26,-543.59 309.51,-531.9 353.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="354.22,-523.64 362.91,-517.58 352.34,-516.89 354.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge41" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.33,-441.93C137.68,-444.84 144.21,-448.79 149,-454 179,-486.63 156.83,-512.78 185,-547 187.35,-549.85 189.99,-552.54 192.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="190.65,-557.82 200.64,-561.35 195.04,-552.36 190.65,-557.82"/>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-25.69C40.48,-24.18 49.47,-22.29 58.68,-20.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="59.62,-23.73 68.69,-18.25 58.19,-16.88 59.62,-23.73"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="lcm__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -1,516 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="608pt" height="676pt"
|
||||
viewBox="0.00 0.00 608.00 675.51" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 671.51)">
|
||||
<title>test</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 604,-671.51 604,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title=" ">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-463.5 0,-482.5 33,-482.5 33,-463.5 0,-463.5"/>
|
||||
<text text-anchor="middle" x="16.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="82,-539.5 82,-558.5 136,-558.5 136,-539.5 82,-539.5"/>
|
||||
<text text-anchor="middle" x="109" y="-546.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M24.26,-482.51C33.33,-494.73 50.45,-516.05 69,-530 71.05,-531.54 73.25,-533.01 75.52,-534.4"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="74.02,-537.57 84.47,-539.34 77.4,-531.44 74.02,-537.57"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="69,-501.5 69,-520.5 149,-520.5 149,-501.5 69,-501.5"/>
|
||||
<text text-anchor="middle" x="109" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::lcmSum</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-479.62C44.95,-484.53 61.28,-491.38 75.7,-497.44"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="74.72,-500.82 85.29,-501.47 77.43,-494.37 74.72,-500.82"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="87,-352.5 87,-371.5 131,-371.5 131,-352.5 87,-352.5"/>
|
||||
<text text-anchor="middle" x="109" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M25.53,-463.15C40.87,-444.34 74.5,-403.09 93.74,-379.49"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="96.51,-381.63 100.12,-371.67 91.08,-377.21 96.51,-381.63"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="87,-463.5 87,-482.5 131,-482.5 131,-463.5 87,-463.5"/>
|
||||
<text text-anchor="middle" x="109" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node24 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node1->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-473C45.24,-473 62.11,-473 76.79,-473"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="76.99,-476.5 86.99,-473 76.99,-469.5 76.99,-476.5"/>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="node25" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_node25"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="87,-425.5 87,-444.5 131,-444.5 131,-425.5 87,-425.5"/>
|
||||
<text text-anchor="middle" x="109" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node25 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node1->Node25</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.26,-466.38C45.48,-461.25 62.77,-453.99 77.64,-447.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="79.12,-450.92 86.99,-443.82 76.41,-444.47 79.12,-450.92"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="185,-365.5 185,-406.5 298,-406.5 298,-365.5 185,-365.5"/>
|
||||
<text text-anchor="start" x="193" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-365.91C143.34,-368.13 159.19,-371.05 175.05,-373.96"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="174.43,-377.41 184.9,-375.77 175.7,-370.52 174.43,-377.41"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="334,-411.5 334,-430.5 451,-430.5 451,-411.5 334,-411.5"/>
|
||||
<text text-anchor="middle" x="392.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.38,-352.48C121.65,-330.87 145.17,-278.38 185,-258 229.71,-235.12 258.06,-227.55 298,-258 346.02,-294.6 296.71,-341.51 334,-389 339.69,-396.25 347.5,-402.1 355.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="354.1,-409.93 364.59,-411.43 357.33,-403.72 354.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="185,-169.5 185,-210.5 298,-210.5 298,-169.5 185,-169.5"/>
|
||||
<text text-anchor="start" x="193" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.34,-352.33C121.98,-328.37 147.11,-265.3 185,-225 187.73,-222.1 190.75,-219.33 193.93,-216.72"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="196.22,-219.38 202.1,-210.57 192.01,-213.79 196.22,-219.38"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="185,-267.5 185,-308.5 298,-308.5 298,-267.5 185,-267.5"/>
|
||||
<text text-anchor="start" x="193" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node15 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node4->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M126.79,-352.48C144.07,-342.68 171.72,-327 195.43,-313.55"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="197.33,-316.5 204.3,-308.53 193.87,-310.42 197.33,-316.5"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="185,-463.5 185,-504.5 298,-504.5 298,-463.5 185,-463.5"/>
|
||||
<text text-anchor="start" x="193" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node4->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M120.24,-371.57C139.55,-389.62 181.98,-429.29 210.91,-456.34"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="208.62,-458.99 218.32,-463.26 213.4,-453.88 208.62,-458.99"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="349.5,-498.5 349.5,-517.5 435.5,-517.5 435.5,-498.5 349.5,-498.5"/>
|
||||
<text text-anchor="middle" x="392.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node21 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node4->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.01,-354.1C168.15,-341.59 246.34,-321.93 298,-356 331.91,-378.36 312.65,-405.45 334,-440 345.57,-458.73 362.07,-477.67 374.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="372.05,-493.37 381.5,-498.15 377.1,-488.51 372.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="185,-561.5 185,-602.5 298,-602.5 298,-561.5 185,-561.5"/>
|
||||
<text text-anchor="start" x="193" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="193" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="241.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node4->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.36,-371.8C126.92,-382.23 140.2,-399.46 149,-416 170.79,-456.97 162.01,-473.69 185,-514 192.97,-527.98 203.82,-542 213.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="211.3,-556.1 220.53,-561.3 216.56,-551.48 211.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-399.13C312.22,-402.38 326.96,-405.84 340.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="340.11,-412.52 350.64,-411.4 341.71,-405.71 340.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="487,-199.5 487,-240.5 600,-240.5 600,-199.5 487,-199.5"/>
|
||||
<text text-anchor="start" x="495" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.3,-194.65C340.31,-198.25 399.31,-203.54 451,-209 459.35,-209.88 468.12,-210.86 476.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="476.54,-215.36 486.88,-213.05 477.36,-208.41 476.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="336,-0.5 336,-41.5 449,-41.5 449,-0.5 336,-0.5"/>
|
||||
<text text-anchor="start" x="344" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node7->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M251.94,-169.25C266.18,-139.81 295.63,-85.67 334,-51 335.29,-49.83 336.64,-48.7 338.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="340.27,-50.29 346.37,-41.62 336.2,-44.6 340.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="336,-218.5 336,-259.5 449,-259.5 449,-218.5 336,-218.5"/>
|
||||
<text text-anchor="start" x="344" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node7->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-208.39C307.48,-211.37 316.94,-214.48 326.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="325.18,-220.88 335.78,-220.67 327.37,-214.23 325.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="336,-120.5 336,-161.5 449,-161.5 449,-120.5 336,-120.5"/>
|
||||
<text text-anchor="start" x="344" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node7->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-171.61C307.48,-168.63 316.94,-165.52 326.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="327.37,-165.77 335.78,-159.33 325.18,-159.12 327.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="336,-60.5 336,-101.5 449,-101.5 449,-60.5 336,-60.5"/>
|
||||
<text text-anchor="start" x="344" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node7->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M263.53,-169.34C281.38,-152.45 308.13,-128.57 334,-111 336.12,-109.56 338.32,-108.14 340.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="342.56,-109.63 349.38,-101.52 338.99,-103.61 342.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="487,-30.5 487,-71.5 600,-71.5 600,-30.5 487,-30.5"/>
|
||||
<text text-anchor="start" x="495" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node12->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-69.74C458.38,-67.94 467.74,-66.05 476.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="477.66,-67.62 486.78,-62.22 476.28,-60.76 477.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="487,-90.5 487,-131.5 600,-131.5 600,-90.5 487,-90.5"/>
|
||||
<text text-anchor="start" x="495" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node14 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node12->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-92.26C458.38,-94.06 467.74,-95.95 476.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="476.28,-101.24 486.78,-99.78 477.66,-94.38 476.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="336,-278.5 336,-319.5 449,-319.5 449,-278.5 336,-278.5"/>
|
||||
<text text-anchor="start" x="344" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-292.13C307.29,-292.78 316.54,-293.47 325.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="325.55,-297.64 335.78,-294.89 326.06,-290.66 325.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="336,-338.5 336,-379.5 449,-379.5 449,-338.5 336,-338.5"/>
|
||||
<text text-anchor="start" x="344" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node15->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M285.6,-308.54C302.2,-316.45 321.36,-325.58 338.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="337.71,-337.25 348.24,-338.39 340.72,-330.93 337.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node16->Node8 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node16->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M433.12,-278.4C439.12,-275.26 445.23,-272.05 451,-269 465.38,-261.4 480.98,-253.07 495.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="497.1,-248.41 504.26,-240.59 493.8,-242.24 497.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="514,-289.5 514,-308.5 573,-308.5 573,-289.5 514,-289.5"/>
|
||||
<text text-anchor="middle" x="543.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-299C467.42,-299 486.99,-299 503.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="503.89,-302.5 513.89,-299 503.89,-295.5 503.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="487,-338.5 487,-379.5 600,-379.5 600,-338.5 487,-338.5"/>
|
||||
<text text-anchor="start" x="495" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="495" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="543.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node18->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M449.41,-359C458.29,-359 467.54,-359 476.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="476.78,-362.5 486.78,-359 476.78,-355.5 476.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node20->Node21 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node20->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-493C311.83,-495.17 326.11,-497.47 339.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="338.82,-503.06 349.25,-501.2 339.94,-496.15 338.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="336,-561.5 336,-602.5 449,-602.5 449,-561.5 336,-561.5"/>
|
||||
<text text-anchor="start" x="344" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="344" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="392.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node22->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M298.41,-582C307.29,-582 316.54,-582 325.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="325.78,-585.5 335.78,-582 325.78,-578.5 325.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.03,-463.64C136.96,-460.76 143.34,-457.44 149,-454 169.2,-441.72 190.47,-426.09 207.42,-412.92"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="209.66,-415.6 215.36,-406.67 205.34,-410.1 209.66,-415.6"/>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.17,-479.53C137.66,-482.44 144.32,-486.49 149,-492 185.06,-534.43 140.33,-578.76 185,-612 225.29,-641.98 257.81,-642.11 298,-612 343.58,-577.85 307.03,-539.17 334,-489 344.43,-469.6 361.05,-450.74 373.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="376.41,-440.11 381.06,-430.59 371.49,-435.14 376.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node24->Node7 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node24->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.13,-466.94C137.77,-464.04 144.54,-459.88 149,-454 202.57,-383.47 147.83,-338.39 185,-258 191.65,-243.62 202.06,-229.7 212.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="214.76,-220.48 218.89,-210.72 209.58,-215.78 214.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node24->Node15 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node24->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.38,-466.11C137.73,-463.21 144.25,-459.25 149,-454 180.11,-419.57 162.01,-396.31 185,-356 192.97,-342.02 203.82,-328 213.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="216.56,-318.52 220.53,-308.7 211.3,-313.9 216.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-474.79C143.23,-475.8 158.89,-477.12 174.6,-478.45"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="174.64,-481.96 184.9,-479.31 175.23,-474.99 174.64,-481.96"/>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.37,-479.37C137.87,-482.27 144.49,-486.35 149,-492 192.61,-546.57 130.24,-601.63 185,-645 224.37,-676.18 256.57,-673.39 298,-645 334.56,-619.95 307.41,-587.46 334,-552 342.57,-540.57 354.86,-530.62 365.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="367.87,-525.97 374.35,-517.58 364.06,-520.1 367.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node24->Node22 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node24->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.11,-480.76C137.3,-483.68 143.8,-487.42 149,-492 170.92,-511.31 164.17,-526.52 185,-547 188.02,-549.96 191.32,-552.81 194.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="192.88,-558.44 203.02,-561.49 196.99,-552.78 192.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node25->Node5 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node25->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-427.02C143.63,-422.37 159.96,-416.24 176.21,-410.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="177.61,-413.35 185.74,-406.56 175.15,-406.8 177.61,-413.35"/>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.16,-433.95C171.49,-431.94 260.94,-427.49 323.68,-424.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="324.09,-427.86 333.9,-423.86 323.74,-420.87 324.09,-427.86"/>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.58,-425.31C127.33,-414.98 140.77,-397.83 149,-381 174.04,-329.84 158.46,-308.4 185,-258 192.44,-243.87 203.09,-229.91 213.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="215.8,-220.56 219.84,-210.76 210.57,-215.9 215.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node25->Node15 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node25->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.56,-425.35C137.93,-403.53 185.74,-349.69 215.41,-316.26"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="218.15,-318.44 222.17,-308.64 212.92,-313.8 218.15,-318.44"/>
|
||||
</g>
|
||||
<!-- Node25->Node20 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node25->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.26,-442.98C143.63,-447.63 159.96,-453.76 176.21,-459.86"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="175.15,-463.2 185.74,-463.44 177.61,-456.65 175.15,-463.2"/>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.22,-442.64C137.42,-445.55 143.89,-449.32 149,-454 171.93,-475.01 157.94,-498.68 185,-514 237.26,-543.59 309.51,-531.9 353.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="354.22,-523.64 362.91,-517.58 352.34,-516.89 354.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge41" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M131.33,-441.93C137.68,-444.84 144.21,-448.79 149,-454 179,-486.63 156.83,-512.78 185,-547 187.35,-549.85 189.99,-552.54 192.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="190.65,-557.82 200.64,-561.35 195.04,-552.36 190.65,-557.82"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 31 KiB |
@@ -1,28 +1,6 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,251,56,278"/>
|
||||
<area shape="rect" id="node2" href="$d5/d83/lcm__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title=" " alt="" coords="104,251,148,278"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="213,150,285,177"/>
|
||||
<area shape="rect" id="node4" href="$dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" title=" " alt="" coords="196,201,303,227"/>
|
||||
<area shape="rect" id="node5" href="$d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" title=" " alt="" coords="220,399,279,426"/>
|
||||
<area shape="rect" id="node25" href="$d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" title=" " alt="" coords="220,251,279,278"/>
|
||||
<area shape="rect" id="node26" href="$d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" title=" " alt="" coords="220,302,279,329"/>
|
||||
<area shape="rect" id="node6" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" title="Adds an undirected edge from node u to node v in the tree." alt="" coords="351,353,501,409"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="549,321,705,347"/>
|
||||
<area shape="rect" id="node8" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="351,614,501,670"/>
|
||||
<area shape="rect" id="node16" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" title="This function returns the sum of node values in the simple path from from node_1 to node_2." alt="" coords="351,483,501,539"/>
|
||||
<area shape="rect" id="node21" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" title="Set the values for all the nodes." alt="" coords="351,222,501,278"/>
|
||||
<area shape="rect" id="node22" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="570,205,685,231"/>
|
||||
<area shape="rect" id="node23" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" title="This function updates the value at node with val." alt="" coords="351,91,501,147"/>
|
||||
<area shape="rect" id="node9" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" title="Function that specifies the type of operation involved when segments are combined." alt="" coords="753,574,904,630"/>
|
||||
<area shape="rect" id="node10" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" title="Utility function to assign heavy child to each node (-1 for a leaf node)" alt="" coords="552,839,703,895"/>
|
||||
<area shape="rect" id="node11" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" title="Utility function to lable the nodes so that heavy chains have a contigous lable." alt="" coords="552,549,703,605"/>
|
||||
<area shape="rect" id="node12" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" title="Utility function to assign highest parent that can be reached though heavy chains." alt="" coords="552,679,703,735"/>
|
||||
<area shape="rect" id="node13" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="552,759,703,815"/>
|
||||
<area shape="rect" id="node14" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" title="Utility function to populate the t_par vector." alt="" coords="753,799,904,855"/>
|
||||
<area shape="rect" id="node15" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" title="Utility function to compute sub-tree sizes." alt="" coords="753,719,904,775"/>
|
||||
<area shape="rect" id="node17" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" title="Utility function to break down a path query into two chain queries." alt="" coords="552,469,703,525"/>
|
||||
<area shape="rect" id="node19" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" title="The function returns the least common ancestor of two nodes." alt="" coords="552,389,703,445"/>
|
||||
<area shape="rect" id="node18" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="789,483,868,510"/>
|
||||
<area shape="rect" id="node20" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store..." alt="" coords="753,389,904,445"/>
|
||||
<area shape="rect" id="node24" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" title="Update the value at a node." alt="" coords="552,91,703,147"/>
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,31,56,57"/>
|
||||
<area shape="rect" id="node2" href="$d5/d83/lcm__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title=" " alt="" coords="104,31,148,57"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="213,5,285,32"/>
|
||||
<area shape="rect" id="node4" href="$dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" title=" " alt="" coords="196,56,303,83"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
83b08824d4fcdf886c7dd319d4a04e26
|
||||
5e5751c0edbf3c72cc6f338d69c2ebba
|
||||
@@ -4,63 +4,17 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<!--zoomable 676 -->
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
var edges = document.getElementsByTagName('g');
|
||||
if (edges && edges.length) {
|
||||
for (var i=0;i<edges.length;i++) {
|
||||
if (edges[i].id.substr(0,4)=='edge') {
|
||||
edges[i].setAttribute('class','edge');
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></script>
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="dirArrow">
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
||||
</use>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
<script type="text/javascript">
|
||||
var viewWidth = 682;
|
||||
var viewHeight = 676;
|
||||
var sectionId = 'dynsection-1';
|
||||
</script>
|
||||
<script xlink:href="../../svgpan.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<svg width="231pt" height="66pt"
|
||||
viewBox="0.00 0.00 231.00 66.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 62)">
|
||||
<title>main</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 678,-671.51 678,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-62 227,-62 227,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Main function.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-463.5 0,-482.5 38,-482.5 38,-463.5 0,-463.5"/>
|
||||
<text text-anchor="middle" x="19" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-19.5 0,-38.5 38,-38.5 38,-19.5 0,-19.5"/>
|
||||
<text text-anchor="middle" x="19" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -68,552 +22,46 @@ var sectionId = 'dynsection-1';
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d5/d83/lcm__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-463.5 74,-482.5 107,-482.5 107,-463.5 74,-463.5"/>
|
||||
<text text-anchor="middle" x="90.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="white" stroke="black" points="74,-19.5 74,-38.5 107,-38.5 107,-19.5 74,-19.5"/>
|
||||
<text text-anchor="middle" x="90.5" y="-26.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M38.26,-473C46.07,-473 55.31,-473 63.79,-473"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-476.5 73.95,-473 63.95,-469.5 63.95,-476.5"/>
|
||||
<path fill="none" stroke="midnightblue" d="M38.26,-29C46.07,-29 55.31,-29 63.79,-29"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-32.5 73.95,-29 63.95,-25.5 63.95,-32.5"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="156,-539.5 156,-558.5 210,-558.5 210,-539.5 156,-539.5"/>
|
||||
<text text-anchor="middle" x="183" y="-546.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
<polygon fill="white" stroke="black" points="156,-38.5 156,-57.5 210,-57.5 210,-38.5 156,-38.5"/>
|
||||
<text text-anchor="middle" x="183" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M98.26,-482.51C107.33,-494.73 124.45,-516.05 143,-530 145.05,-531.54 147.25,-533.01 149.52,-534.4"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.02,-537.57 158.47,-539.34 151.4,-531.44 148.02,-537.57"/>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-32.31C117.92,-34.55 132.43,-37.59 145.84,-40.41"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="145.29,-43.87 155.79,-42.5 146.73,-37.02 145.29,-43.87"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="143,-501.5 143,-520.5 223,-520.5 223,-501.5 143,-501.5"/>
|
||||
<text text-anchor="middle" x="183" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::lcmSum</text>
|
||||
<polygon fill="white" stroke="black" points="143,-0.5 143,-19.5 223,-19.5 223,-0.5 143,-0.5"/>
|
||||
<text text-anchor="middle" x="183" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::lcmSum</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-479.62C118.95,-484.53 135.28,-491.38 149.7,-497.44"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.72,-500.82 159.29,-501.47 151.43,-494.37 148.72,-500.82"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="161,-352.5 161,-371.5 205,-371.5 205,-352.5 161,-352.5"/>
|
||||
<text text-anchor="middle" x="183" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node2->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.53,-463.15C114.87,-444.34 148.5,-403.09 167.74,-379.49"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="170.51,-381.63 174.12,-371.67 165.08,-377.21 170.51,-381.63"/>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="node25" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_node25"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="161,-463.5 161,-482.5 205,-482.5 205,-463.5 161,-463.5"/>
|
||||
<text text-anchor="middle" x="183" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node25 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node2->Node25</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-473C119.24,-473 136.11,-473 150.79,-473"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="150.99,-476.5 160.99,-473 150.99,-469.5 150.99,-476.5"/>
|
||||
</g>
|
||||
<!-- Node26 -->
|
||||
<g id="node26" class="node">
|
||||
<title>Node26</title>
|
||||
<g id="a_node26"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="161,-425.5 161,-444.5 205,-444.5 205,-425.5 161,-425.5"/>
|
||||
<text text-anchor="middle" x="183" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node26 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node2->Node26</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-466.38C119.48,-461.25 136.77,-453.99 151.64,-447.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="153.12,-450.92 160.99,-443.82 150.41,-444.47 153.12,-450.92"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="259,-365.5 259,-406.5 372,-406.5 372,-365.5 259,-365.5"/>
|
||||
<text text-anchor="start" x="267" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-365.91C217.34,-368.13 233.19,-371.05 249.05,-373.96"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="248.43,-377.41 258.9,-375.77 249.7,-370.52 248.43,-377.41"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="408,-411.5 408,-430.5 525,-430.5 525,-411.5 408,-411.5"/>
|
||||
<text text-anchor="middle" x="466.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node7 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node5->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.38,-352.48C195.65,-330.87 219.17,-278.38 259,-258 303.71,-235.12 332.06,-227.55 372,-258 420.02,-294.6 370.71,-341.51 408,-389 413.69,-396.25 421.5,-402.1 429.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="428.1,-409.93 438.59,-411.43 431.33,-403.72 428.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="259,-169.5 259,-210.5 372,-210.5 372,-169.5 259,-169.5"/>
|
||||
<text text-anchor="start" x="267" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node5->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.34,-352.33C195.98,-328.37 221.11,-265.3 259,-225 261.73,-222.1 264.75,-219.33 267.93,-216.72"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="270.22,-219.38 276.1,-210.57 266.01,-213.79 270.22,-219.38"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="259,-267.5 259,-308.5 372,-308.5 372,-267.5 259,-267.5"/>
|
||||
<text text-anchor="start" x="267" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node16 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node5->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M200.79,-352.48C218.07,-342.68 245.72,-327 269.43,-313.55"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="271.33,-316.5 278.3,-308.53 267.87,-310.42 271.33,-316.5"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="259,-463.5 259,-504.5 372,-504.5 372,-463.5 259,-463.5"/>
|
||||
<text text-anchor="start" x="267" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node21 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node5->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M194.24,-371.57C213.55,-389.62 255.98,-429.29 284.91,-456.34"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="282.62,-458.99 292.32,-463.26 287.4,-453.88 282.62,-458.99"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="423.5,-498.5 423.5,-517.5 509.5,-517.5 509.5,-498.5 423.5,-498.5"/>
|
||||
<text text-anchor="middle" x="466.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node5->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.01,-354.1C242.15,-341.59 320.34,-321.93 372,-356 405.91,-378.36 386.65,-405.45 408,-440 419.57,-458.73 436.07,-477.67 448.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="446.05,-493.37 455.5,-498.15 451.1,-488.51 446.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="259,-561.5 259,-602.5 372,-602.5 372,-561.5 259,-561.5"/>
|
||||
<text text-anchor="start" x="267" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node5->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.36,-371.8C200.92,-382.23 214.2,-399.46 223,-416 244.79,-456.97 236.01,-473.69 259,-514 266.97,-527.98 277.82,-542 287.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="285.3,-556.1 294.53,-561.3 290.56,-551.48 285.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-399.13C386.22,-402.38 400.96,-405.84 414.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="414.11,-412.52 424.64,-411.4 415.71,-405.71 414.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="561,-199.5 561,-240.5 674,-240.5 674,-199.5 561,-199.5"/>
|
||||
<text text-anchor="start" x="569" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node8->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.3,-194.65C414.31,-198.25 473.31,-203.54 525,-209 533.35,-209.88 542.12,-210.86 550.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="550.54,-215.36 560.88,-213.05 551.36,-208.41 550.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="410,-0.5 410,-41.5 523,-41.5 523,-0.5 410,-0.5"/>
|
||||
<text text-anchor="start" x="418" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node8->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M325.94,-169.25C340.18,-139.81 369.63,-85.67 408,-51 409.29,-49.83 410.64,-48.7 412.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="414.27,-50.29 420.37,-41.62 410.2,-44.6 414.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="410,-218.5 410,-259.5 523,-259.5 523,-218.5 410,-218.5"/>
|
||||
<text text-anchor="start" x="418" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node8->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-208.39C381.48,-211.37 390.94,-214.48 400.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="399.18,-220.88 409.78,-220.67 401.37,-214.23 399.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="410,-120.5 410,-161.5 523,-161.5 523,-120.5 410,-120.5"/>
|
||||
<text text-anchor="start" x="418" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node8->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-171.61C381.48,-168.63 390.94,-165.52 400.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="401.37,-165.77 409.78,-159.33 399.18,-159.12 401.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="410,-60.5 410,-101.5 523,-101.5 523,-60.5 410,-60.5"/>
|
||||
<text text-anchor="start" x="418" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node8->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M337.53,-169.34C355.38,-152.45 382.13,-128.57 408,-111 410.12,-109.56 412.32,-108.14 414.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="416.56,-109.63 423.38,-101.52 412.99,-103.61 416.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="561,-30.5 561,-71.5 674,-71.5 674,-30.5 561,-30.5"/>
|
||||
<text text-anchor="start" x="569" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node14 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node13->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-69.74C532.38,-67.94 541.74,-66.05 550.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="551.66,-67.62 560.78,-62.22 550.28,-60.76 551.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="561,-90.5 561,-131.5 674,-131.5 674,-90.5 561,-90.5"/>
|
||||
<text text-anchor="start" x="569" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node15 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node13->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-92.26C532.38,-94.06 541.74,-95.95 550.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="550.28,-101.24 560.78,-99.78 551.66,-94.38 550.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="410,-278.5 410,-319.5 523,-319.5 523,-278.5 410,-278.5"/>
|
||||
<text text-anchor="start" x="418" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-292.13C381.29,-292.78 390.54,-293.47 399.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="399.55,-297.64 409.78,-294.89 400.06,-290.66 399.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="410,-338.5 410,-379.5 523,-379.5 523,-338.5 410,-338.5"/>
|
||||
<text text-anchor="start" x="418" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node16->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M359.6,-308.54C376.2,-316.45 395.36,-325.58 412.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="411.71,-337.25 422.24,-338.39 414.72,-330.93 411.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node17->Node9 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node17->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M507.12,-278.4C513.12,-275.26 519.23,-272.05 525,-269 539.38,-261.4 554.98,-253.07 569.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="571.1,-248.41 578.26,-240.59 567.8,-242.24 571.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="588,-289.5 588,-308.5 647,-308.5 647,-289.5 588,-289.5"/>
|
||||
<text text-anchor="middle" x="617.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node17->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-299C541.42,-299 560.99,-299 577.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="577.89,-302.5 587.89,-299 577.89,-295.5 577.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="561,-338.5 561,-379.5 674,-379.5 674,-338.5 561,-338.5"/>
|
||||
<text text-anchor="start" x="569" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node19->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-359C532.29,-359 541.54,-359 550.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="550.78,-362.5 560.78,-359 550.78,-355.5 550.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node21->Node22 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node21->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-493C385.83,-495.17 400.11,-497.47 413.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="412.82,-503.06 423.25,-501.2 413.94,-496.15 412.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="410,-561.5 410,-602.5 523,-602.5 523,-561.5 410,-561.5"/>
|
||||
<text text-anchor="start" x="418" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node24 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node23->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-582C381.29,-582 390.54,-582 399.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="399.78,-585.5 409.78,-582 399.78,-578.5 399.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.03,-463.64C210.96,-460.76 217.34,-457.44 223,-454 243.2,-441.72 264.47,-426.09 281.42,-412.92"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="283.66,-415.6 289.36,-406.67 279.34,-410.1 283.66,-415.6"/>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.17,-479.53C211.66,-482.44 218.32,-486.49 223,-492 259.06,-534.43 214.33,-578.76 259,-612 299.29,-641.98 331.81,-642.11 372,-612 417.58,-577.85 381.03,-539.17 408,-489 418.43,-469.6 435.05,-450.74 447.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.41,-440.11 455.06,-430.59 445.49,-435.14 450.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node25->Node8 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node25->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.13,-466.94C211.77,-464.04 218.54,-459.88 223,-454 276.57,-383.47 221.83,-338.39 259,-258 265.65,-243.62 276.06,-229.7 286.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="288.76,-220.48 292.89,-210.72 283.58,-215.78 288.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node25->Node16 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node25->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.38,-466.11C211.73,-463.21 218.25,-459.25 223,-454 254.11,-419.57 236.01,-396.31 259,-356 266.97,-342.02 277.82,-328 287.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="290.56,-318.52 294.53,-308.7 285.3,-313.9 290.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-474.79C217.23,-475.8 232.89,-477.12 248.6,-478.45"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="248.64,-481.96 258.9,-479.31 249.23,-474.99 248.64,-481.96"/>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.37,-479.37C211.87,-482.27 218.49,-486.35 223,-492 266.61,-546.57 204.24,-601.63 259,-645 298.37,-676.18 330.57,-673.39 372,-645 408.56,-619.95 381.41,-587.46 408,-552 416.57,-540.57 428.86,-530.62 439.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="441.87,-525.97 448.35,-517.58 438.06,-520.1 441.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node25->Node23 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node25->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.11,-480.76C211.3,-483.68 217.8,-487.42 223,-492 244.92,-511.31 238.17,-526.52 259,-547 262.02,-549.96 265.32,-552.81 268.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="266.88,-558.44 277.02,-561.49 270.99,-552.78 266.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node26->Node6 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node26->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-427.02C217.63,-422.37 233.96,-416.24 250.21,-410.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="251.61,-413.35 259.74,-406.56 249.15,-406.8 251.61,-413.35"/>
|
||||
</g>
|
||||
<!-- Node26->Node7 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node26->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.16,-433.95C245.49,-431.94 334.94,-427.49 397.68,-424.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="398.09,-427.86 407.9,-423.86 397.74,-420.87 398.09,-427.86"/>
|
||||
</g>
|
||||
<!-- Node26->Node8 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node26->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.58,-425.31C201.33,-414.98 214.77,-397.83 223,-381 248.04,-329.84 232.46,-308.4 259,-258 266.44,-243.87 277.09,-229.91 287.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="289.8,-220.56 293.84,-210.76 284.57,-215.9 289.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node26->Node16 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node26->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.56,-425.35C211.93,-403.53 259.74,-349.69 289.41,-316.26"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="292.15,-318.44 296.17,-308.64 286.92,-313.8 292.15,-318.44"/>
|
||||
</g>
|
||||
<!-- Node26->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node26->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-442.98C217.63,-447.63 233.96,-453.76 250.21,-459.86"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="249.15,-463.2 259.74,-463.44 251.61,-456.65 249.15,-463.2"/>
|
||||
</g>
|
||||
<!-- Node26->Node22 -->
|
||||
<g id="edge41" class="edge">
|
||||
<title>Node26->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.22,-442.64C211.42,-445.55 217.89,-449.32 223,-454 245.93,-475.01 231.94,-498.68 259,-514 311.26,-543.59 383.51,-531.9 427.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="428.22,-523.64 436.91,-517.58 426.34,-516.89 428.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node26->Node23 -->
|
||||
<g id="edge42" class="edge">
|
||||
<title>Node26->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.33,-441.93C211.68,-444.84 218.21,-448.79 223,-454 253,-486.63 230.83,-512.78 259,-547 261.35,-549.85 263.99,-552.54 266.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="264.65,-557.82 274.64,-561.35 269.04,-552.36 264.65,-557.82"/>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-25.69C114.48,-24.18 123.47,-22.29 132.68,-20.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="133.62,-23.73 142.69,-18.25 132.19,-16.88 133.62,-23.73"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="lcm__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 3.0 KiB |
@@ -1,531 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="682pt" height="676pt"
|
||||
viewBox="0.00 0.00 682.00 675.51" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 671.51)">
|
||||
<title>main</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 678,-671.51 678,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Main function.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-463.5 0,-482.5 38,-482.5 38,-463.5 0,-463.5"/>
|
||||
<text text-anchor="middle" x="19" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../d5/d83/lcm__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-463.5 74,-482.5 107,-482.5 107,-463.5 74,-463.5"/>
|
||||
<text text-anchor="middle" x="90.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M38.26,-473C46.07,-473 55.31,-473 63.79,-473"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-476.5 73.95,-473 63.95,-469.5 63.95,-476.5"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="156,-539.5 156,-558.5 210,-558.5 210,-539.5 156,-539.5"/>
|
||||
<text text-anchor="middle" x="183" y="-546.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M98.26,-482.51C107.33,-494.73 124.45,-516.05 143,-530 145.05,-531.54 147.25,-533.01 149.52,-534.4"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.02,-537.57 158.47,-539.34 151.4,-531.44 148.02,-537.57"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../dd/d47/namespacemath.html#a04065193d190d605e1f0d0d93a87e244" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="143,-501.5 143,-520.5 223,-520.5 223,-501.5 143,-501.5"/>
|
||||
<text text-anchor="middle" x="183" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::lcmSum</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-479.62C118.95,-484.53 135.28,-491.38 149.7,-497.44"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.72,-500.82 159.29,-501.47 151.43,-494.37 148.72,-500.82"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="161,-352.5 161,-371.5 205,-371.5 205,-352.5 161,-352.5"/>
|
||||
<text text-anchor="middle" x="183" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node2->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.53,-463.15C114.87,-444.34 148.5,-403.09 167.74,-379.49"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="170.51,-381.63 174.12,-371.67 165.08,-377.21 170.51,-381.63"/>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="node25" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_node25"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="161,-463.5 161,-482.5 205,-482.5 205,-463.5 161,-463.5"/>
|
||||
<text text-anchor="middle" x="183" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node25 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node2->Node25</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-473C119.24,-473 136.11,-473 150.79,-473"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="150.99,-476.5 160.99,-473 150.99,-469.5 150.99,-476.5"/>
|
||||
</g>
|
||||
<!-- Node26 -->
|
||||
<g id="node26" class="node">
|
||||
<title>Node26</title>
|
||||
<g id="a_node26"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="161,-425.5 161,-444.5 205,-444.5 205,-425.5 161,-425.5"/>
|
||||
<text text-anchor="middle" x="183" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node26 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node2->Node26</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.26,-466.38C119.48,-461.25 136.77,-453.99 151.64,-447.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="153.12,-450.92 160.99,-443.82 150.41,-444.47 153.12,-450.92"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="259,-365.5 259,-406.5 372,-406.5 372,-365.5 259,-365.5"/>
|
||||
<text text-anchor="start" x="267" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-365.91C217.34,-368.13 233.19,-371.05 249.05,-373.96"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="248.43,-377.41 258.9,-375.77 249.7,-370.52 248.43,-377.41"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="408,-411.5 408,-430.5 525,-430.5 525,-411.5 408,-411.5"/>
|
||||
<text text-anchor="middle" x="466.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node7 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node5->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.38,-352.48C195.65,-330.87 219.17,-278.38 259,-258 303.71,-235.12 332.06,-227.55 372,-258 420.02,-294.6 370.71,-341.51 408,-389 413.69,-396.25 421.5,-402.1 429.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="428.1,-409.93 438.59,-411.43 431.33,-403.72 428.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="259,-169.5 259,-210.5 372,-210.5 372,-169.5 259,-169.5"/>
|
||||
<text text-anchor="start" x="267" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node5->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.34,-352.33C195.98,-328.37 221.11,-265.3 259,-225 261.73,-222.1 264.75,-219.33 267.93,-216.72"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="270.22,-219.38 276.1,-210.57 266.01,-213.79 270.22,-219.38"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="259,-267.5 259,-308.5 372,-308.5 372,-267.5 259,-267.5"/>
|
||||
<text text-anchor="start" x="267" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node16 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node5->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M200.79,-352.48C218.07,-342.68 245.72,-327 269.43,-313.55"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="271.33,-316.5 278.3,-308.53 267.87,-310.42 271.33,-316.5"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="259,-463.5 259,-504.5 372,-504.5 372,-463.5 259,-463.5"/>
|
||||
<text text-anchor="start" x="267" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node21 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node5->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M194.24,-371.57C213.55,-389.62 255.98,-429.29 284.91,-456.34"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="282.62,-458.99 292.32,-463.26 287.4,-453.88 282.62,-458.99"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="423.5,-498.5 423.5,-517.5 509.5,-517.5 509.5,-498.5 423.5,-498.5"/>
|
||||
<text text-anchor="middle" x="466.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node5->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.01,-354.1C242.15,-341.59 320.34,-321.93 372,-356 405.91,-378.36 386.65,-405.45 408,-440 419.57,-458.73 436.07,-477.67 448.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="446.05,-493.37 455.5,-498.15 451.1,-488.51 446.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="259,-561.5 259,-602.5 372,-602.5 372,-561.5 259,-561.5"/>
|
||||
<text text-anchor="start" x="267" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="267" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="315.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node5->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node5->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.36,-371.8C200.92,-382.23 214.2,-399.46 223,-416 244.79,-456.97 236.01,-473.69 259,-514 266.97,-527.98 277.82,-542 287.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="285.3,-556.1 294.53,-561.3 290.56,-551.48 285.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-399.13C386.22,-402.38 400.96,-405.84 414.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="414.11,-412.52 424.64,-411.4 415.71,-405.71 414.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="561,-199.5 561,-240.5 674,-240.5 674,-199.5 561,-199.5"/>
|
||||
<text text-anchor="start" x="569" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node8->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.3,-194.65C414.31,-198.25 473.31,-203.54 525,-209 533.35,-209.88 542.12,-210.86 550.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="550.54,-215.36 560.88,-213.05 551.36,-208.41 550.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="410,-0.5 410,-41.5 523,-41.5 523,-0.5 410,-0.5"/>
|
||||
<text text-anchor="start" x="418" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node8->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M325.94,-169.25C340.18,-139.81 369.63,-85.67 408,-51 409.29,-49.83 410.64,-48.7 412.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="414.27,-50.29 420.37,-41.62 410.2,-44.6 414.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="410,-218.5 410,-259.5 523,-259.5 523,-218.5 410,-218.5"/>
|
||||
<text text-anchor="start" x="418" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node8->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-208.39C381.48,-211.37 390.94,-214.48 400.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="399.18,-220.88 409.78,-220.67 401.37,-214.23 399.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="410,-120.5 410,-161.5 523,-161.5 523,-120.5 410,-120.5"/>
|
||||
<text text-anchor="start" x="418" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node8->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-171.61C381.48,-168.63 390.94,-165.52 400.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="401.37,-165.77 409.78,-159.33 399.18,-159.12 401.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="410,-60.5 410,-101.5 523,-101.5 523,-60.5 410,-60.5"/>
|
||||
<text text-anchor="start" x="418" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node8->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node8->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M337.53,-169.34C355.38,-152.45 382.13,-128.57 408,-111 410.12,-109.56 412.32,-108.14 414.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="416.56,-109.63 423.38,-101.52 412.99,-103.61 416.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="561,-30.5 561,-71.5 674,-71.5 674,-30.5 561,-30.5"/>
|
||||
<text text-anchor="start" x="569" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node14 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node13->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-69.74C532.38,-67.94 541.74,-66.05 550.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="551.66,-67.62 560.78,-62.22 550.28,-60.76 551.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="561,-90.5 561,-131.5 674,-131.5 674,-90.5 561,-90.5"/>
|
||||
<text text-anchor="start" x="569" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node13->Node15 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node13->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-92.26C532.38,-94.06 541.74,-95.95 550.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="550.28,-101.24 560.78,-99.78 551.66,-94.38 550.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="410,-278.5 410,-319.5 523,-319.5 523,-278.5 410,-278.5"/>
|
||||
<text text-anchor="start" x="418" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-292.13C381.29,-292.78 390.54,-293.47 399.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="399.55,-297.64 409.78,-294.89 400.06,-290.66 399.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="410,-338.5 410,-379.5 523,-379.5 523,-338.5 410,-338.5"/>
|
||||
<text text-anchor="start" x="418" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node16->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M359.6,-308.54C376.2,-316.45 395.36,-325.58 412.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="411.71,-337.25 422.24,-338.39 414.72,-330.93 411.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node17->Node9 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node17->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M507.12,-278.4C513.12,-275.26 519.23,-272.05 525,-269 539.38,-261.4 554.98,-253.07 569.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="571.1,-248.41 578.26,-240.59 567.8,-242.24 571.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="588,-289.5 588,-308.5 647,-308.5 647,-289.5 588,-289.5"/>
|
||||
<text text-anchor="middle" x="617.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node17->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-299C541.42,-299 560.99,-299 577.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="577.89,-302.5 587.89,-299 577.89,-295.5 577.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="561,-338.5 561,-379.5 674,-379.5 674,-338.5 561,-338.5"/>
|
||||
<text text-anchor="start" x="569" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="569" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="617.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node19->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node19->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M523.41,-359C532.29,-359 541.54,-359 550.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="550.78,-362.5 560.78,-359 550.78,-355.5 550.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node21->Node22 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node21->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-493C385.83,-495.17 400.11,-497.47 413.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="412.82,-503.06 423.25,-501.2 413.94,-496.15 412.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="410,-561.5 410,-602.5 523,-602.5 523,-561.5 410,-561.5"/>
|
||||
<text text-anchor="start" x="418" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="418" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="466.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node23->Node24 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node23->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M372.41,-582C381.29,-582 390.54,-582 399.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="399.78,-585.5 409.78,-582 399.78,-578.5 399.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.03,-463.64C210.96,-460.76 217.34,-457.44 223,-454 243.2,-441.72 264.47,-426.09 281.42,-412.92"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="283.66,-415.6 289.36,-406.67 279.34,-410.1 283.66,-415.6"/>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.17,-479.53C211.66,-482.44 218.32,-486.49 223,-492 259.06,-534.43 214.33,-578.76 259,-612 299.29,-641.98 331.81,-642.11 372,-612 417.58,-577.85 381.03,-539.17 408,-489 418.43,-469.6 435.05,-450.74 447.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.41,-440.11 455.06,-430.59 445.49,-435.14 450.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node25->Node8 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node25->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.13,-466.94C211.77,-464.04 218.54,-459.88 223,-454 276.57,-383.47 221.83,-338.39 259,-258 265.65,-243.62 276.06,-229.7 286.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="288.76,-220.48 292.89,-210.72 283.58,-215.78 288.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node25->Node16 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node25->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.38,-466.11C211.73,-463.21 218.25,-459.25 223,-454 254.11,-419.57 236.01,-396.31 259,-356 266.97,-342.02 277.82,-328 287.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="290.56,-318.52 294.53,-308.7 285.3,-313.9 290.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-474.79C217.23,-475.8 232.89,-477.12 248.6,-478.45"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="248.64,-481.96 258.9,-479.31 249.23,-474.99 248.64,-481.96"/>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.37,-479.37C211.87,-482.27 218.49,-486.35 223,-492 266.61,-546.57 204.24,-601.63 259,-645 298.37,-676.18 330.57,-673.39 372,-645 408.56,-619.95 381.41,-587.46 408,-552 416.57,-540.57 428.86,-530.62 439.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="441.87,-525.97 448.35,-517.58 438.06,-520.1 441.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node25->Node23 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node25->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.11,-480.76C211.3,-483.68 217.8,-487.42 223,-492 244.92,-511.31 238.17,-526.52 259,-547 262.02,-549.96 265.32,-552.81 268.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="266.88,-558.44 277.02,-561.49 270.99,-552.78 266.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node26->Node6 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node26->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-427.02C217.63,-422.37 233.96,-416.24 250.21,-410.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="251.61,-413.35 259.74,-406.56 249.15,-406.8 251.61,-413.35"/>
|
||||
</g>
|
||||
<!-- Node26->Node7 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node26->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.16,-433.95C245.49,-431.94 334.94,-427.49 397.68,-424.37"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="398.09,-427.86 407.9,-423.86 397.74,-420.87 398.09,-427.86"/>
|
||||
</g>
|
||||
<!-- Node26->Node8 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node26->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.58,-425.31C201.33,-414.98 214.77,-397.83 223,-381 248.04,-329.84 232.46,-308.4 259,-258 266.44,-243.87 277.09,-229.91 287.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="289.8,-220.56 293.84,-210.76 284.57,-215.9 289.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node26->Node16 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node26->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.56,-425.35C211.93,-403.53 259.74,-349.69 289.41,-316.26"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="292.15,-318.44 296.17,-308.64 286.92,-313.8 292.15,-318.44"/>
|
||||
</g>
|
||||
<!-- Node26->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node26->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.26,-442.98C217.63,-447.63 233.96,-453.76 250.21,-459.86"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="249.15,-463.2 259.74,-463.44 251.61,-456.65 249.15,-463.2"/>
|
||||
</g>
|
||||
<!-- Node26->Node22 -->
|
||||
<g id="edge41" class="edge">
|
||||
<title>Node26->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.22,-442.64C211.42,-445.55 217.89,-449.32 223,-454 245.93,-475.01 231.94,-498.68 259,-514 311.26,-543.59 383.51,-531.9 427.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="428.22,-523.64 436.91,-517.58 426.34,-516.89 428.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node26->Node23 -->
|
||||
<g id="edge42" class="edge">
|
||||
<title>Node26->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M205.33,-441.93C211.68,-444.84 218.21,-448.79 223,-454 253,-486.63 230.83,-512.78 259,-547 261.35,-549.85 263.99,-552.54 266.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="264.65,-557.82 274.64,-561.35 269.04,-552.36 264.65,-557.82"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 32 KiB |
@@ -371,6 +371,7 @@ Others</h1>
|
||||
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/fast_integer_input.cpp">Fast Integer Input</a></li>
|
||||
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/happy_number.cpp">Happy Number</a></li>
|
||||
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/iterative_tree_traversals.cpp">Iterative Tree Traversals</a></li>
|
||||
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/lru_cache.cpp">Lru Cache</a></li>
|
||||
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/matrix_exponentiation.cpp">Matrix Exponentiation</a></li>
|
||||
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/palindrome_of_number.cpp">Palindrome Of Number</a></li>
|
||||
<li><a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/others/paranthesis_matching.cpp">Paranthesis Matching</a></li>
|
||||
|
||||
@@ -136,7 +136,7 @@ Functions</h2></td></tr>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Implementation of <a href="https://en.wikipedia.org/wiki/Bogosort">Bogosort algorithm</a> </p>
|
||||
<p>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.</p>
|
||||
<h3><a class="anchor" id="autotoc_md91"></a>
|
||||
<h3><a class="anchor" id="autotoc_md94"></a>
|
||||
Algorithm</h3>
|
||||
<p>Shuffle the array untill array is sorted.</p>
|
||||
<dl class="section author"><dt>Author</dt><dd><a href="https://github.com/imdeep2905">Deep Raval</a> </dd></dl>
|
||||
|
||||
431
d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html
Normal file
@@ -0,0 +1,431 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: others::lru_cache::LRUCache Class Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">Algorithms_in_C++
|
||||
 <span id="projectnumber">1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.1 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html','../../'); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#pri-attribs">Private Attributes</a> |
|
||||
<a href="../../df/d51/classothers_1_1lru__cache_1_1_l_r_u_cache-members.html">List of all members</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">others::lru_cache::LRUCache Class Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>LRU cache class.
|
||||
<a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#details">More...</a></p>
|
||||
<div class="dynheader">
|
||||
Collaboration diagram for others::lru_cache::LRUCache:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../d8/da6/classothers_1_1lru__cache_1_1_l_r_u_cache__coll__graph.svg" width="100%" height="379"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
</div>
|
||||
<center><span class="legend">[<a target="top" href="../../graph_legend.html">legend</a>]</span></center></div>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a41c9b6f1693b8a316cc4a2d8c9149ba4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4">LRUCache</a> (uint64_t pf)</td></tr>
|
||||
<tr class="memdesc:a41c9b6f1693b8a316cc4a2d8c9149ba4"><td class="mdescLeft"> </td><td class="mdescRight">Constructor, Initialize thee LRU class with page frame. <a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4">More...</a><br /></td></tr>
|
||||
<tr class="separator:a41c9b6f1693b8a316cc4a2d8c9149ba4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7dbf04bf7e1472c48639694f0b110602"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602">refer</a> (uint64_t page)</td></tr>
|
||||
<tr class="memdesc:a7dbf04bf7e1472c48639694f0b110602"><td class="mdescLeft"> </td><td class="mdescRight">Refer to a page, or request a page from memory. <a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602">More...</a><br /></td></tr>
|
||||
<tr class="separator:a7dbf04bf7e1472c48639694f0b110602"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aad506b1c1a3cd5b93cc7e497626bfb53"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53">display</a> ()</td></tr>
|
||||
<tr class="memdesc:aad506b1c1a3cd5b93cc7e497626bfb53"><td class="mdescLeft"> </td><td class="mdescRight">A function to display the current cache. <a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53">More...</a><br /></td></tr>
|
||||
<tr class="separator:aad506b1c1a3cd5b93cc7e497626bfb53"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa24a141455b9fbcbec22392c28d04933"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933">getHits</a> () const</td></tr>
|
||||
<tr class="memdesc:aa24a141455b9fbcbec22392c28d04933"><td class="mdescLeft"> </td><td class="mdescRight">A function to get page hits. <a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933">More...</a><br /></td></tr>
|
||||
<tr class="separator:aa24a141455b9fbcbec22392c28d04933"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a78be932dac71c90f485a67d4fda877e2"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2">getPageFault</a> () const</td></tr>
|
||||
<tr class="memdesc:a78be932dac71c90f485a67d4fda877e2"><td class="mdescLeft"> </td><td class="mdescRight">A function to get page fault. <a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2">More...</a><br /></td></tr>
|
||||
<tr class="separator:a78be932dac71c90f485a67d4fda877e2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
||||
Private Attributes</h2></td></tr>
|
||||
<tr class="memitem:a1aafd0444b410e0fcb66287e9954c893"><td class="memItemLeft" align="right" valign="top"><a id="a1aafd0444b410e0fcb66287e9954c893"></a>
|
||||
uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">pageFrame</a></td></tr>
|
||||
<tr class="memdesc:a1aafd0444b410e0fcb66287e9954c893"><td class="mdescLeft"> </td><td class="mdescRight">Page frame, or total size of the cache. <br /></td></tr>
|
||||
<tr class="separator:a1aafd0444b410e0fcb66287e9954c893"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3ee3560a6b90e6f50f6e063d690ba8e8"><td class="memItemLeft" align="right" valign="top"><a id="a3ee3560a6b90e6f50f6e063d690ba8e8"></a>
|
||||
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list.html">std::list</a>< uint64_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a></td></tr>
|
||||
<tr class="memdesc:a3ee3560a6b90e6f50f6e063d690ba8e8"><td class="mdescLeft"> </td><td class="mdescRight">Cache linked list (using the STL) <br /></td></tr>
|
||||
<tr class="separator:a3ee3560a6b90e6f50f6e063d690ba8e8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aa4d6db56109af196ffc7e5f72bc9907c"><td class="memItemLeft" align="right" valign="top"><a id="aa4d6db56109af196ffc7e5f72bc9907c"></a>
|
||||
<a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a>< uint64_t, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list.html">std::list</a>< uint64_t >::iterator > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">pageMap</a></td></tr>
|
||||
<tr class="memdesc:aa4d6db56109af196ffc7e5f72bc9907c"><td class="mdescLeft"> </td><td class="mdescRight">Hash map containing pages and their addresses. <br /></td></tr>
|
||||
<tr class="separator:aa4d6db56109af196ffc7e5f72bc9907c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5f33913e7ddfbb38062362e7bd859154"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">hits</a></td></tr>
|
||||
<tr class="memdesc:a5f33913e7ddfbb38062362e7bd859154"><td class="mdescLeft"> </td><td class="mdescRight">was found in cache. <a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">More...</a><br /></td></tr>
|
||||
<tr class="separator:a5f33913e7ddfbb38062362e7bd859154"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a09cbe562b0c396329607f5d388d57c9c"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">pageFault</a> = 0</td></tr>
|
||||
<tr class="separator:a09cbe562b0c396329607f5d388d57c9c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>LRU cache class. </p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a41c9b6f1693b8a316cc4a2d8c9149ba4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a41c9b6f1693b8a316cc4a2d8c9149ba4">◆ </a></span>LRUCache()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">others::lru_cache::LRUCache::LRUCache </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint64_t </td>
|
||||
<td class="paramname"><em>pf</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Constructor, Initialize thee LRU class with page frame. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">pf</td><td>Page frame or total size of cache. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<div class="fragment"><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> { <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">pageFrame</a> = pf; }</div>
|
||||
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a1aafd0444b410e0fcb66287e9954c893"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">others::lru_cache::LRUCache::pageFrame</a></div><div class="ttdeci">uint64_t pageFrame</div><div class="ttdoc">Page frame, or total size of the cache.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:68</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="aad506b1c1a3cd5b93cc7e497626bfb53"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aad506b1c1a3cd5b93cc7e497626bfb53">◆ </a></span>display()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void others::lru_cache::LRUCache::display </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function to display the current cache. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>Void </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  {</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">for</span> (uint64_t &it : <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a>) {</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << it << <span class="stringliteral">" "</span>;</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  }</div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a3ee3560a6b90e6f50f6e063d690ba8e8"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">others::lru_cache::LRUCache::cache</a></div><div class="ttdeci">std::list< uint64_t > cache</div><div class="ttdoc">Cache linked list (using the STL)</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:69</div></div>
|
||||
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache_aad506b1c1a3cd5b93cc7e497626bfb53_cgraph.svg" width="267" height="52"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aa24a141455b9fbcbec22392c28d04933"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aa24a141455b9fbcbec22392c28d04933">◆ </a></span>getHits()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint64_t others::lru_cache::LRUCache::getHits </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function to get page hits. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> { <span class="keywordflow">return</span> <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">hits</a>; }</div>
|
||||
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a5f33913e7ddfbb38062362e7bd859154"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">others::lru_cache::LRUCache::hits</a></div><div class="ttdeci">uint64_t hits</div><div class="ttdoc">was found in cache.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:73</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a78be932dac71c90f485a67d4fda877e2"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a78be932dac71c90f485a67d4fda877e2">◆ </a></span>getPageFault()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint64_t others::lru_cache::LRUCache::getPageFault </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td> const</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function to get page fault. </p>
|
||||
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> { <span class="keywordflow">return</span> <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">pageFault</a>; }</div>
|
||||
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_a09cbe562b0c396329607f5d388d57c9c"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">others::lru_cache::LRUCache::pageFault</a></div><div class="ttdeci">uint64_t pageFault</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:76</div></div>
|
||||
</div><!-- fragment -->
|
||||
</div>
|
||||
</div>
|
||||
<a id="a7dbf04bf7e1472c48639694f0b110602"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a7dbf04bf7e1472c48639694f0b110602">◆ </a></span>refer()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void others::lru_cache::LRUCache::refer </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint64_t </td>
|
||||
<td class="paramname"><em>page</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Refer to a page, or request a page from memory. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">page</td><td>The page that you are referring to. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<p>< Increase the page fault by one.</p>
|
||||
<div class="fragment"><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  {</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="comment">// If the page requested not in cache.</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">if</span> (<a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">pageMap</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html">find</a>(page) == <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">pageMap</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html">end</a>()) {</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">pageFault</a>++; <span class="comment">///< Increase the page fault by one.</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// Check if the cache is full</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">if</span> (<a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list/size.html">size</a>() == <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">pageFrame</a>) {</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// delete the last page from cache</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  uint64_t lastPage = <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list/back.html">back</a>();</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list/pop_back.html">pop_back</a>();</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">pageMap</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html">erase</a>(lastPage);</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  }</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  }</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">// The requested page is in the cache</span></div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">hits</a>++;</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// present in cache, erase from current position to bring in front</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list/erase.html">erase</a>(<a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">pageMap</a>[page]);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="comment">// Push it in the front of the cache and update the page reference in</span></div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">// page map.</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list/push_front.html">push_front</a>(page);</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">pageMap</a>[page] = <a class="code" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a>.<a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/container/list/begin.html">begin</a>();</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  }</div>
|
||||
<div class="ttc" id="aback_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/list/back.html">std::list::back</a></div><div class="ttdeci">T back(T... args)</div></div>
|
||||
<div class="ttc" id="abegin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/list/begin.html">std::list::begin</a></div><div class="ttdeci">T begin(T... args)</div></div>
|
||||
<div class="ttc" id="aclassothers_1_1lru__cache_1_1_l_r_u_cache_html_aa4d6db56109af196ffc7e5f72bc9907c"><div class="ttname"><a href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">others::lru_cache::LRUCache::pageMap</a></div><div class="ttdeci">std::unordered_map< uint64_t, std::list< uint64_t >::iterator > pageMap</div><div class="ttdoc">Hash map containing pages and their addresses.</div><div class="ttdef"><b>Definition:</b> lru_cache.cpp:71</div></div>
|
||||
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html">std::unordered_map::end</a></div><div class="ttdeci">T end(T... args)</div></div>
|
||||
<div class="ttc" id="aerase_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html">std::unordered_map::erase</a></div><div class="ttdeci">T erase(T... args)</div></div>
|
||||
<div class="ttc" id="afind_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html">std::unordered_map::find</a></div><div class="ttdeci">T find(T... args)</div></div>
|
||||
<div class="ttc" id="apop_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/list/pop_back.html">std::list::pop_back</a></div><div class="ttdeci">T pop_back(T... args)</div></div>
|
||||
<div class="ttc" id="apush_front_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/list/push_front.html">std::list::push_front</a></div><div class="ttdeci">T push_front(T... args)</div></div>
|
||||
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/list/size.html">std::list::size</a></div><div class="ttdeci">T size(T... args)</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache_a7dbf04bf7e1472c48639694f0b110602_cgraph.svg" width="362" height="475"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Data Documentation</h2>
|
||||
<a id="a5f33913e7ddfbb38062362e7bd859154"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5f33913e7ddfbb38062362e7bd859154">◆ </a></span>hits</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint64_t others::lru_cache::LRUCache::hits</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<b>Initial value:</b><div class="fragment"><div class="line">=</div>
|
||||
<div class="line"> 0</div>
|
||||
</div><!-- fragment -->
|
||||
<p>was found in cache. </p>
|
||||
<p>Total number of hits, or total number of times a page </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a09cbe562b0c396329607f5d388d57c9c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a09cbe562b0c396329607f5d388d57c9c">◆ </a></span>pageFault</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint64_t others::lru_cache::LRUCache::pageFault = 0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<p>Total number of miss/page fault, or total number of times a page was not found in cache </p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>others/<a class="el" href="../../d3/db3/lru__cache_8cpp.html">lru_cache.cpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d0/d6f/namespaceothers.html">others</a></li><li class="navelem"><b>lru_cache</b></li><li class="navelem"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">LRUCache</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
13
d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.js
Normal file
@@ -0,0 +1,13 @@
|
||||
var classothers_1_1lru__cache_1_1_l_r_u_cache =
|
||||
[
|
||||
[ "LRUCache", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4", null ],
|
||||
[ "display", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53", null ],
|
||||
[ "getHits", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933", null ],
|
||||
[ "getPageFault", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2", null ],
|
||||
[ "refer", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602", null ],
|
||||
[ "cache", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8", null ],
|
||||
[ "hits", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154", null ],
|
||||
[ "pageFault", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c", null ],
|
||||
[ "pageFrame", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893", null ],
|
||||
[ "pageMap", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c", null ]
|
||||
];
|
||||
@@ -0,0 +1,12 @@
|
||||
<map id="others::lru_cache::LRUCache::refer" name="others::lru_cache::LRUCache::refer">
|
||||
<area shape="rect" id="node1" title="Refer to a page, or request a page from memory." alt="" coords="5,217,137,258"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/back.html#" title=" " alt="" coords="221,5,320,32"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/begin.html#" title=" " alt="" coords="219,56,323,83"/>
|
||||
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/end.html#" title=" " alt="" coords="185,107,356,133"/>
|
||||
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/erase.html#" title=" " alt="" coords="200,158,341,199"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/erase.html#" title=" " alt="" coords="219,224,323,251"/>
|
||||
<area shape="rect" id="node7" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map/find.html#" title=" " alt="" coords="200,275,341,317"/>
|
||||
<area shape="rect" id="node8" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/pop_back.html#" title=" " alt="" coords="206,341,335,368"/>
|
||||
<area shape="rect" id="node9" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/push_front.html#" title=" " alt="" coords="204,392,337,419"/>
|
||||
<area shape="rect" id="node10" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list/size.html#" title=" " alt="" coords="223,443,318,469"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
8d34906632cd4341388e0e546730454b
|
||||
@@ -0,0 +1,160 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: others::lru_cache::LRUCache::refer Pages: 1 -->
|
||||
<svg width="271pt" height="356pt"
|
||||
viewBox="0.00 0.00 271.00 356.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 352)">
|
||||
<title>others::lru_cache::LRUCache::refer</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-352 267,-352 267,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Refer to a page, or request a page from memory.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-159 0,-189 99,-189 99,-159 0,-159"/>
|
||||
<text text-anchor="start" x="8" y="-177" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="49.5" y="-166" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::refer</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="162,-328.5 162,-347.5 236,-347.5 236,-328.5 162,-328.5"/>
|
||||
<text text-anchor="middle" x="199" y="-335.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M55.16,-189.23C64.98,-218.77 90.63,-283.99 135,-319 140.06,-322.99 145.95,-326.15 152.06,-328.64"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="151.16,-332.04 161.76,-332.04 153.48,-325.43 151.16,-332.04"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/begin.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="160,-290.5 160,-309.5 238,-309.5 238,-290.5 160,-290.5"/>
|
||||
<text text-anchor="middle" x="199" y="-297.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::begin</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M58.46,-189.19C71.4,-212.42 99.19,-256.63 135,-281 139.66,-284.17 144.87,-286.83 150.24,-289.05"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="149.4,-292.47 160,-292.59 151.79,-285.89 149.4,-292.47"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/end.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="135,-252.5 135,-271.5 263,-271.5 263,-252.5 135,-252.5"/>
|
||||
<text text-anchor="middle" x="199" y="-259.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map::end</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node1->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M65.36,-189.25C81.27,-204.79 107.91,-228.59 135,-243 139.19,-245.23 143.68,-247.24 148.27,-249.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="147.14,-252.35 157.74,-252.43 149.51,-245.76 147.14,-252.35"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="146,-203 146,-233 252,-233 252,-203 146,-203"/>
|
||||
<text text-anchor="start" x="154" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="199" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node1->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.21,-188.53C111.58,-192.22 125.01,-196.23 137.88,-200.07"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="136.99,-203.45 147.58,-202.96 138.99,-196.75 136.99,-203.45"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/erase.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="160,-164.5 160,-183.5 238,-183.5 238,-164.5 160,-164.5"/>
|
||||
<text text-anchor="middle" x="199" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::erase</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node1->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.21,-174C115.31,-174 133.23,-174 149.33,-174"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="149.62,-177.5 159.62,-174 149.62,-170.5 149.62,-177.5"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map/find.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="146,-115 146,-145 252,-145 252,-115 146,-115"/>
|
||||
<text text-anchor="start" x="154" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="middle" x="199" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::find</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node1->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.21,-159.47C111.58,-155.78 125.01,-151.77 137.88,-147.93"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="138.99,-151.25 147.58,-145.04 136.99,-144.55 138.99,-151.25"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/pop_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="150.5,-76.5 150.5,-95.5 247.5,-95.5 247.5,-76.5 150.5,-76.5"/>
|
||||
<text text-anchor="middle" x="199" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::pop_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node1->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M65.74,-158.78C81.75,-143.53 108.29,-120.34 135,-106 139.87,-103.39 145.13,-101.05 150.47,-98.98"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="151.86,-102.2 160.09,-95.53 149.5,-95.61 151.86,-102.2"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/push_front.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="149,-38.5 149,-57.5 249,-57.5 249,-38.5 149,-38.5"/>
|
||||
<text text-anchor="middle" x="199" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::push_front</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node1->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M58.46,-158.81C71.4,-135.58 99.19,-91.37 135,-67 137.92,-65.01 141.06,-63.23 144.31,-61.62"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="145.92,-64.74 153.72,-57.58 143.16,-58.31 145.92,-64.74"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="163.5,-0.5 163.5,-19.5 234.5,-19.5 234.5,-0.5 163.5,-0.5"/>
|
||||
<text text-anchor="middle" x="199" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::list::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node1->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M55.16,-158.77C64.98,-129.23 90.63,-64.01 135,-29 140.48,-24.67 146.94,-21.33 153.59,-18.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="155.01,-21.96 163.39,-15.48 152.8,-15.32 155.01,-21.96"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.2 KiB |
@@ -0,0 +1,4 @@
|
||||
<map id="others::lru_cache::LRUCache::display" name="others::lru_cache::LRUCache::display">
|
||||
<area shape="rect" id="node1" title="A function to display the current cache." alt="" coords="5,5,141,47"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="189,13,261,39"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
765608dc03f088ee3097a6d35c7027c4
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: others::lru_cache::LRUCache::display Pages: 1 -->
|
||||
<svg width="200pt" height="39pt"
|
||||
viewBox="0.00 0.00 200.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 35)">
|
||||
<title>others::lru_cache::LRUCache::display</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 196,-35 196,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="A function to display the current cache.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-30.5 102,-30.5 102,-0.5 0,-0.5"/>
|
||||
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="51" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache::display</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="138,-6 138,-25 192,-25 192,-6 138,-6"/>
|
||||
<text text-anchor="middle" x="165" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M102.1,-15.5C110.69,-15.5 119.46,-15.5 127.6,-15.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="127.87,-19 137.87,-15.5 127.87,-12 127.87,-19"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,6 @@
|
||||
<map id="others::lru_cache::LRUCache" name="others::lru_cache::LRUCache">
|
||||
<area shape="rect" id="node1" title="LRU cache class." alt="" coords="708,58,840,99"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/unordered_map.html" title=" " alt="" coords="447,5,600,61"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/types/integer.html" title=" " alt="" coords="5,39,100,65"/>
|
||||
<area shape="rect" id="node4" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/list.html" title=" " alt="" coords="207,69,340,96"/>
|
||||
</map>
|
||||
@@ -0,0 +1 @@
|
||||
905439571afeb06d1766a12d2a9831f5
|
||||
@@ -0,0 +1,175 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: others::lru_cache::LRUCache Pages: 1 -->
|
||||
<!--zoomable 79 -->
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
var edges = document.getElementsByTagName('g');
|
||||
if (edges && edges.length) {
|
||||
for (var i=0;i<edges.length;i++) {
|
||||
if (edges[i].id.substr(0,4)=='edge') {
|
||||
edges[i].setAttribute('class','edge');
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></script>
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="dirArrow">
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
||||
</use>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
<script type="text/javascript">
|
||||
var viewWidth = 634;
|
||||
var viewHeight = 79;
|
||||
var sectionId = 'dynsection-0';
|
||||
</script>
|
||||
<script xlink:href="../../svgpan.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<title>others::lru_cache::LRUCache</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-74.5 630,-74.5 630,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="LRU cache class.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="527,-0.5 527,-30.5 626,-30.5 626,-0.5 527,-0.5"/>
|
||||
<text text-anchor="start" x="535" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="576.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="331,-29 331,-70 446,-70 446,-29 331,-29"/>
|
||||
<text text-anchor="start" x="339" y="-58" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="start" x="339" y="-47" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t, std::list</text>
|
||||
<text text-anchor="middle" x="388.5" y="-36" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t >::iterator ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M455.91,-37.36C479.28,-33.09 505.1,-28.37 526.75,-24.41"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="455.27,-33.92 446.06,-39.16 456.53,-40.81 455.27,-33.92"/>
|
||||
<text text-anchor="middle" x="486.5" y="-38.5" font-family="Helvetica,sans-Serif" font-size="10.00"> pageMap</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/types/integer.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="0,-26 0,-45 71,-45 71,-26 0,-26"/>
|
||||
<text text-anchor="middle" x="35.5" y="-33" font-family="Helvetica,sans-Serif" font-size="10.00">std::uint64_t</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node2 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node3->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M81.27,-41.8C83.88,-42.07 86.47,-42.3 89,-42.5 172.98,-49.06 270.62,-50.12 330.74,-50.01"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="81.51,-38.31 71.18,-40.67 80.72,-45.26 81.51,-38.31"/>
|
||||
<text text-anchor="middle" x="201" y="-51.5" font-family="Helvetica,sans-Serif" font-size="10.00"> keys</text>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="151,-3 151,-22 251,-22 251,-3 151,-3"/>
|
||||
<text text-anchor="middle" x="201" y="-10" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< uint64_t ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M81.36,-29.19C102.89,-26.16 128.73,-22.53 150.8,-19.42"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="80.59,-25.76 71.17,-30.62 81.56,-32.7 80.59,-25.76"/>
|
||||
<text text-anchor="middle" x="111" y="-30.5" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
<!-- Node4->Node1 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node4->Node1</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M261.44,-10.27C283.31,-9.55 308.27,-8.85 331,-8.5 382.1,-7.71 394.91,-7.12 446,-8.5 472.78,-9.22 502.65,-10.79 526.94,-12.25"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="261.18,-6.78 251.3,-10.61 261.42,-13.77 261.18,-6.78"/>
|
||||
<text text-anchor="middle" x="388.5" y="-11.5" font-family="Helvetica,sans-Serif" font-size="10.00"> cache</text>
|
||||
</g>
|
||||
<!-- Node4->Node2 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node4->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M261.41,-23.46C278.12,-26.62 296.28,-30.12 313,-33.5 318.84,-34.68 324.92,-35.94 330.99,-37.21"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="261.7,-19.95 251.23,-21.54 260.41,-26.83 261.7,-19.95"/>
|
||||
<text text-anchor="middle" x="291" y="-36.5" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="classothers_1_1lru__cache_1_1_l_r_u_cache__coll__graph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.8 KiB |
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: others::lru_cache::LRUCache Pages: 1 -->
|
||||
<svg width="634pt" height="79pt"
|
||||
viewBox="0.00 0.00 634.00 78.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 74.5)">
|
||||
<title>others::lru_cache::LRUCache</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-74.5 630,-74.5 630,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="LRU cache class.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="527,-0.5 527,-30.5 626,-30.5 626,-0.5 527,-0.5"/>
|
||||
<text text-anchor="start" x="535" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="576.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/unordered_map.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="331,-29 331,-70 446,-70 446,-29 331,-29"/>
|
||||
<text text-anchor="start" x="339" y="-58" font-family="Helvetica,sans-Serif" font-size="10.00">std::unordered_map</text>
|
||||
<text text-anchor="start" x="339" y="-47" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t, std::list</text>
|
||||
<text text-anchor="middle" x="388.5" y="-36" font-family="Helvetica,sans-Serif" font-size="10.00">< uint64_t >::iterator ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node1 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node2->Node1</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M455.91,-37.36C479.28,-33.09 505.1,-28.37 526.75,-24.41"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="455.27,-33.92 446.06,-39.16 456.53,-40.81 455.27,-33.92"/>
|
||||
<text text-anchor="middle" x="486.5" y="-38.5" font-family="Helvetica,sans-Serif" font-size="10.00"> pageMap</text>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/types/integer.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="0,-26 0,-45 71,-45 71,-26 0,-26"/>
|
||||
<text text-anchor="middle" x="35.5" y="-33" font-family="Helvetica,sans-Serif" font-size="10.00">std::uint64_t</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node2 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node3->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M81.27,-41.8C83.88,-42.07 86.47,-42.3 89,-42.5 172.98,-49.06 270.62,-50.12 330.74,-50.01"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="81.51,-38.31 71.18,-40.67 80.72,-45.26 81.51,-38.31"/>
|
||||
<text text-anchor="middle" x="201" y="-51.5" font-family="Helvetica,sans-Serif" font-size="10.00"> keys</text>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/list.html" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="151,-3 151,-22 251,-22 251,-3 151,-3"/>
|
||||
<text text-anchor="middle" x="201" y="-10" font-family="Helvetica,sans-Serif" font-size="10.00">std::list< uint64_t ></text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M81.36,-29.19C102.89,-26.16 128.73,-22.53 150.8,-19.42"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="80.59,-25.76 71.17,-30.62 81.56,-32.7 80.59,-25.76"/>
|
||||
<text text-anchor="middle" x="111" y="-30.5" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
<!-- Node4->Node1 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node4->Node1</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M261.44,-10.27C283.31,-9.55 308.27,-8.85 331,-8.5 382.1,-7.71 394.91,-7.12 446,-8.5 472.78,-9.22 502.65,-10.79 526.94,-12.25"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="261.18,-6.78 251.3,-10.61 261.42,-13.77 261.18,-6.78"/>
|
||||
<text text-anchor="middle" x="388.5" y="-11.5" font-family="Helvetica,sans-Serif" font-size="10.00"> cache</text>
|
||||
</g>
|
||||
<!-- Node4->Node2 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node4->Node2</title>
|
||||
<path fill="none" stroke="#9a32cd" stroke-dasharray="5,2" d="M261.41,-23.46C278.12,-26.62 296.28,-30.12 313,-33.5 318.84,-34.68 324.92,-35.94 330.99,-37.21"/>
|
||||
<polygon fill="#9a32cd" stroke="#9a32cd" points="261.7,-19.95 251.23,-21.54 260.41,-26.83 261.7,-19.95"/>
|
||||
<text text-anchor="middle" x="291" y="-36.5" font-family="Helvetica,sans-Serif" font-size="10.00"> elements</text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
112
d8/dcd/namespacelru__cache.html
Normal file
@@ -0,0 +1,112 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: lru_cache Namespace Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">Algorithms_in_C++
|
||||
 <span id="projectnumber">1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.1 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('d8/dcd/namespacelru__cache.html','../../'); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">lru_cache Namespace Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Implementation of the <a href="https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)">LRU caching algorithm</a>
|
||||
<a href="../../d8/dcd/namespacelru__cache.html#details">More...</a></p>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Implementation of the <a href="https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)">LRU caching algorithm</a> </p>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d8/dcd/namespacelru__cache.html">lru_cache</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -178,25 +178,26 @@ Functions</h2></td></tr>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordflow">case</span> 3:</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Enter element to generate hash = "</span> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a> >> x;</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Hash of "</span> << x << <span class="stringliteral">" is = "</span> << mychain.hash(x) << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">case</span> 4:</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  mychain.display();</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">default</span>:</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  loop = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  }</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="comment">/*add(1,&head1);</span></div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="comment"> add(2,&head1);</span></div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> add(3,&head2);</span></div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"> add(5,&head1);</span></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> display(&head1);</span></div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment"> display(&head2);*/</span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> }</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Hash of "</span> << x << <span class="stringliteral">" is = "</span> << mychain.hash(x)</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordflow">case</span> 4:</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  mychain.display();</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">default</span>:</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  loop = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  }</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  }</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="comment">/*add(1,&head1);</span></div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment"> add(2,&head1);</span></div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment"> add(3,&head2);</span></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment"> add(5,&head1);</span></div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="comment"> display(&head1);</span></div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment"> display(&head2);*/</span></div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> }</div>
|
||||
<div class="ttc" id="abasic_istream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_istream.html">std::cin</a></div></div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="aclasshash__chain_html"><div class="ttname"><a href="../../dd/d1c/classhash__chain.html">hash_chain</a></div><div class="ttdoc">Chain class with a given modulus.</div><div class="ttdef"><b>Definition:</b> chaining.cpp:16</div></div>
|
||||
|
||||
@@ -218,7 +218,7 @@ Here is the call graph for this function:</div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg" width="274" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -399,20 +399,20 @@ Here is the call graph for this function:</div>
|
||||
<p>Function for testing fiboSum function. test cases and assert statement. </p><dl class="section return"><dt>Returns</dt><dd><code>void</code> </dd></dl>
|
||||
<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  {</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  uint64_t n = 0, m = 3;</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  uint64_t <a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> = <a class="code" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  assert(<a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a> == 4);</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  uint64_t test_1 = <a class="code" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  assert(test_1 == 4);</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 1!"</span> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  n = 3;</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  m = 5;</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  uint64_t <a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> = <a class="code" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  assert(<a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a> == 10);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  uint64_t test_2 = <a class="code" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  assert(test_2 == 10);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 2!"</span> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  n = 5;</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  m = 7;</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  uint64_t <a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> = <a class="code" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  assert(<a class="code" href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a> == 26);</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  uint64_t test_3 = <a class="code" href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a>(n, m);</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  assert(test_3 == 26);</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a> << <span class="stringliteral">"Passed Test 3!"</span> << <a class="codeRef" target="_blank" href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a>;</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  </div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  n = 7;</div>
|
||||
@@ -430,13 +430,10 @@ Here is the call graph for this function:</div>
|
||||
<div class="ttc" id="abasic_ostream_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/basic_ostream.html">std::cout</a></div></div>
|
||||
<div class="ttc" id="aendl_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/io/manip/endl.html">std::endl</a></div><div class="ttdeci">T endl(T... args)</div></div>
|
||||
<div class="ttc" id="afibonacci__sum_8cpp_html_a493fbaa7a94e3b7ca573111237bb3742"><div class="ttname"><a href="../../de/dc3/fibonacci__sum_8cpp.html#a493fbaa7a94e3b7ca573111237bb3742">math::fibonacci_sum::fiboSum</a></div><div class="ttdeci">uint64_t fiboSum(uint64_t n, uint64_t m)</div><div class="ttdef"><b>Definition:</b> fibonacci_sum.cpp:90</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a34b8683a2b429de5cce57e6d733ec817"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817">test_1</a></div><div class="ttdeci">static void test_1()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:505</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_a458410412185a5f09199deaff7157a8d"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d">test_2</a></div><div class="ttdeci">static void test_2()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:549</div></div>
|
||||
<div class="ttc" id="aheavy__light__decomposition_8cpp_html_af31ec5409537703d9c8a47350386b32a"><div class="ttname"><a href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a">test_3</a></div><div class="ttdeci">static void test_3()</div><div class="ttdef"><b>Definition:</b> heavy_light_decomposition.cpp:592</div></div>
|
||||
</div><!-- fragment --><div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="100%" height="600"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
|
||||
<div class="center"><iframe scrolling="no" frameborder="0" src="../../de/dc3/fibonacci__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg" width="175" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,26 +1,4 @@
|
||||
<map id="test" name="test">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,277,49,303"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="97,201,169,227"/>
|
||||
<area shape="rect" id="node3" href="$d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" title=" " alt="" coords="104,399,163,426"/>
|
||||
<area shape="rect" id="node23" href="$d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" title=" " alt="" coords="104,251,163,278"/>
|
||||
<area shape="rect" id="node24" href="$d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" title=" " alt="" coords="104,302,163,329"/>
|
||||
<area shape="rect" id="node4" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" title="Adds an undirected edge from node u to node v in the tree." alt="" coords="217,353,368,409"/>
|
||||
<area shape="rect" id="node5" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="416,321,572,347"/>
|
||||
<area shape="rect" id="node6" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="217,614,368,670"/>
|
||||
<area shape="rect" id="node14" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" title="This function returns the sum of node values in the simple path from from node_1 to node_2." alt="" coords="217,483,368,539"/>
|
||||
<area shape="rect" id="node19" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" title="Set the values for all the nodes." alt="" coords="217,222,368,278"/>
|
||||
<area shape="rect" id="node20" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="437,205,551,231"/>
|
||||
<area shape="rect" id="node21" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" title="This function updates the value at node with val." alt="" coords="217,91,368,147"/>
|
||||
<area shape="rect" id="node7" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" title="Function that specifies the type of operation involved when segments are combined." alt="" coords="620,574,771,630"/>
|
||||
<area shape="rect" id="node8" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" title="Utility function to assign heavy child to each node (-1 for a leaf node)" alt="" coords="419,839,569,895"/>
|
||||
<area shape="rect" id="node9" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" title="Utility function to lable the nodes so that heavy chains have a contigous lable." alt="" coords="419,549,569,605"/>
|
||||
<area shape="rect" id="node10" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" title="Utility function to assign highest parent that can be reached though heavy chains." alt="" coords="419,679,569,735"/>
|
||||
<area shape="rect" id="node11" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="419,759,569,815"/>
|
||||
<area shape="rect" id="node12" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" title="Utility function to populate the t_par vector." alt="" coords="620,799,771,855"/>
|
||||
<area shape="rect" id="node13" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" title="Utility function to compute sub-tree sizes." alt="" coords="620,719,771,775"/>
|
||||
<area shape="rect" id="node15" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" title="Utility function to break down a path query into two chain queries." alt="" coords="419,469,569,525"/>
|
||||
<area shape="rect" id="node17" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" title="The function returns the least common ancestor of two nodes." alt="" coords="419,389,569,445"/>
|
||||
<area shape="rect" id="node16" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="656,483,735,510"/>
|
||||
<area shape="rect" id="node18" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store..." alt="" coords="620,389,771,445"/>
|
||||
<area shape="rect" id="node22" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" title="Update the value at a node." alt="" coords="419,91,569,147"/>
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="5,5,49,32"/>
|
||||
<area shape="rect" id="node2" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="97,5,169,32"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
709d0e6987d43218f53a3a7d6955e2ab
|
||||
01b1ac838699389a07660e9847f60203
|
||||
@@ -4,63 +4,17 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<!--zoomable 676 -->
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
var edges = document.getElementsByTagName('g');
|
||||
if (edges && edges.length) {
|
||||
for (var i=0;i<edges.length;i++) {
|
||||
if (edges[i].id.substr(0,4)=='edge') {
|
||||
edges[i].setAttribute('class','edge');
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></script>
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="dirArrow">
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
||||
</use>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
<script type="text/javascript">
|
||||
var viewWidth = 582;
|
||||
var viewHeight = 676;
|
||||
var sectionId = 'dynsection-6';
|
||||
</script>
|
||||
<script xlink:href="../../svgpan.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<svg width="131pt" height="28pt"
|
||||
viewBox="0.00 0.00 131.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>test</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 578,-671.51 578,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 127,-24 127,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title=" ">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-444.5 0,-463.5 33,-463.5 33,-444.5 0,-444.5"/>
|
||||
<text text-anchor="middle" x="16.5" y="-451.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 33,-19.5 33,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="16.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -68,522 +22,16 @@ var sectionId = 'dynsection-6';
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="69,-501.5 69,-520.5 123,-520.5 123,-501.5 69,-501.5"/>
|
||||
<text text-anchor="middle" x="96" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
<polygon fill="white" stroke="black" points="69,-0.5 69,-19.5 123,-19.5 123,-0.5 69,-0.5"/>
|
||||
<text text-anchor="middle" x="96" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M30.61,-463.7C41.01,-471.39 55.92,-482.4 69,-492 70.43,-493.05 71.89,-494.12 73.38,-495.21"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="71.63,-498.27 81.76,-501.35 75.76,-492.62 71.63,-498.27"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-352.5 74,-371.5 118,-371.5 118,-352.5 74,-352.5"/>
|
||||
<text text-anchor="middle" x="96" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M25.79,-444.15C38.79,-428.73 64.12,-398.65 80.27,-379.48"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="83,-381.68 86.77,-371.77 77.65,-377.17 83,-381.68"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-463.5 74,-482.5 118,-482.5 118,-463.5 74,-463.5"/>
|
||||
<text text-anchor="middle" x="96" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node1->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.18,-457.84C42.03,-460.01 53.4,-462.8 63.98,-465.39"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.21,-468.81 73.76,-467.79 64.88,-462.01 63.21,-468.81"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-425.5 74,-444.5 118,-444.5 118,-425.5 74,-425.5"/>
|
||||
<text text-anchor="middle" x="96" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node24 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node1->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.18,-450.16C42.03,-447.99 53.4,-445.2 63.98,-442.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="64.88,-445.99 73.76,-440.21 63.21,-439.19 64.88,-445.99"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="159,-365.5 159,-406.5 272,-406.5 272,-365.5 159,-365.5"/>
|
||||
<text text-anchor="start" x="167" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-366.29C126.89,-368.11 137.77,-370.33 148.98,-372.62"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.38,-376.07 158.88,-374.64 149.78,-369.21 148.38,-376.07"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="308,-411.5 308,-430.5 425,-430.5 425,-411.5 308,-411.5"/>
|
||||
<text text-anchor="middle" x="366.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node5 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node3->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.35,-352.23C105.17,-330.56 122.45,-278.77 159,-258 202.67,-233.19 232.06,-227.55 272,-258 320.02,-294.6 270.71,-341.51 308,-389 313.69,-396.25 321.5,-402.1 329.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="328.1,-409.93 338.59,-411.43 331.33,-403.72 328.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="159,-169.5 159,-210.5 272,-210.5 272,-169.5 159,-169.5"/>
|
||||
<text text-anchor="start" x="167" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node3->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.31,-352.31C105.42,-328.31 124.02,-265.16 159,-225 161.46,-222.17 164.21,-219.49 167.13,-216.97"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="169.47,-219.58 175.18,-210.66 165.15,-214.07 169.47,-219.58"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="159,-267.5 159,-308.5 272,-308.5 272,-267.5 159,-267.5"/>
|
||||
<text text-anchor="start" x="167" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node14 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node3->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M112.36,-352.33C127.78,-342.62 152.2,-327.23 173.3,-313.94"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="175.21,-316.88 181.8,-308.59 171.48,-310.96 175.21,-316.88"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="159,-463.5 159,-504.5 272,-504.5 272,-463.5 159,-463.5"/>
|
||||
<text text-anchor="start" x="167" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node3->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M106.22,-371.57C123.53,-389.54 161.48,-428.95 187.52,-455.99"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="185.07,-458.49 194.53,-463.26 190.11,-453.63 185.07,-458.49"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="323.5,-498.5 323.5,-517.5 409.5,-517.5 409.5,-498.5 323.5,-498.5"/>
|
||||
<text text-anchor="middle" x="366.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node20 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node3->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.23,-354.01C153.42,-342.24 224.67,-324.79 272,-356 305.91,-378.36 286.65,-405.45 308,-440 319.57,-458.73 336.07,-477.67 348.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="346.05,-493.37 355.5,-498.15 351.1,-488.51 346.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="159,-561.5 159,-602.5 272,-602.5 272,-561.5 159,-561.5"/>
|
||||
<text text-anchor="start" x="167" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node21 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node3->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M102.08,-371.82C107.55,-382.54 116.35,-400.29 123,-416 141.09,-458.73 136.01,-473.69 159,-514 166.97,-527.98 177.82,-542 187.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="185.3,-556.1 194.53,-561.3 190.56,-551.48 185.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-399.13C286.22,-402.38 300.96,-405.84 314.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="314.11,-412.52 324.64,-411.4 315.71,-405.71 314.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="461,-199.5 461,-240.5 574,-240.5 574,-199.5 461,-199.5"/>
|
||||
<text text-anchor="start" x="469" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.3,-194.65C314.31,-198.25 373.31,-203.54 425,-209 433.35,-209.88 442.12,-210.86 450.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.54,-215.36 460.88,-213.05 451.36,-208.41 450.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="310,-0.5 310,-41.5 423,-41.5 423,-0.5 310,-0.5"/>
|
||||
<text text-anchor="start" x="318" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node6->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M225.94,-169.25C240.18,-139.81 269.63,-85.67 308,-51 309.29,-49.83 310.64,-48.7 312.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="314.27,-50.29 320.37,-41.62 310.2,-44.6 314.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="310,-218.5 310,-259.5 423,-259.5 423,-218.5 310,-218.5"/>
|
||||
<text text-anchor="start" x="318" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node6->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-208.39C281.48,-211.37 290.94,-214.48 300.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="299.18,-220.88 309.78,-220.67 301.37,-214.23 299.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="310,-120.5 310,-161.5 423,-161.5 423,-120.5 310,-120.5"/>
|
||||
<text text-anchor="start" x="318" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node6->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-171.61C281.48,-168.63 290.94,-165.52 300.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="301.37,-165.77 309.78,-159.33 299.18,-159.12 301.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="310,-60.5 310,-101.5 423,-101.5 423,-60.5 310,-60.5"/>
|
||||
<text text-anchor="start" x="318" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node6->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.53,-169.34C255.38,-152.45 282.13,-128.57 308,-111 310.12,-109.56 312.32,-108.14 314.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="316.56,-109.63 323.38,-101.52 312.99,-103.61 316.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="461,-30.5 461,-71.5 574,-71.5 574,-30.5 461,-30.5"/>
|
||||
<text text-anchor="start" x="469" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node11->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-69.74C432.38,-67.94 441.74,-66.05 450.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="451.66,-67.62 460.78,-62.22 450.28,-60.76 451.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="461,-90.5 461,-131.5 574,-131.5 574,-90.5 461,-90.5"/>
|
||||
<text text-anchor="start" x="469" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node11->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-92.26C432.38,-94.06 441.74,-95.95 450.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.28,-101.24 460.78,-99.78 451.66,-94.38 450.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="310,-278.5 310,-319.5 423,-319.5 423,-278.5 310,-278.5"/>
|
||||
<text text-anchor="start" x="318" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-292.13C281.29,-292.78 290.54,-293.47 299.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="299.55,-297.64 309.78,-294.89 300.06,-290.66 299.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="310,-338.5 310,-379.5 423,-379.5 423,-338.5 310,-338.5"/>
|
||||
<text text-anchor="start" x="318" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node17 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node14->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M259.6,-308.54C276.2,-316.45 295.36,-325.58 312.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="311.71,-337.25 322.24,-338.39 314.72,-330.93 311.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node15->Node7 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node15->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M407.12,-278.4C413.12,-275.26 419.23,-272.05 425,-269 439.38,-261.4 454.98,-253.07 469.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="471.1,-248.41 478.26,-240.59 467.8,-242.24 471.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="488,-289.5 488,-308.5 547,-308.5 547,-289.5 488,-289.5"/>
|
||||
<text text-anchor="middle" x="517.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-299C441.42,-299 460.99,-299 477.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="477.89,-302.5 487.89,-299 477.89,-295.5 477.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="461,-338.5 461,-379.5 574,-379.5 574,-338.5 461,-338.5"/>
|
||||
<text text-anchor="start" x="469" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node17->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-359C432.29,-359 441.54,-359 450.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.78,-362.5 460.78,-359 450.78,-355.5 450.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node19->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node19->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-493C285.83,-495.17 300.11,-497.47 313.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="312.82,-503.06 323.25,-501.2 313.94,-496.15 312.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="310,-561.5 310,-602.5 423,-602.5 423,-561.5 310,-561.5"/>
|
||||
<text text-anchor="start" x="318" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node21->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-582C281.29,-582 290.54,-582 299.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="299.78,-585.5 309.78,-582 299.78,-578.5 299.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node23->Node4 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node23->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M110.24,-463.35C114.34,-460.36 118.86,-457.05 123,-454 141.32,-440.5 161.63,-425.41 178.46,-412.89"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="180.99,-415.37 186.91,-406.59 176.8,-409.76 180.99,-415.37"/>
|
||||
</g>
|
||||
<!-- Node23->Node5 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node23->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.58,-482.62C117.08,-485.29 120.48,-488.44 123,-492 155.15,-537.46 114.33,-578.76 159,-612 199.29,-641.98 231.81,-642.11 272,-612 317.58,-577.85 281.03,-539.17 308,-489 318.43,-469.6 335.05,-450.74 347.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="350.41,-440.11 355.06,-430.59 345.49,-435.14 350.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node23->Node6 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node23->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M114.13,-463.37C117.53,-460.73 120.74,-457.6 123,-454 170.1,-378.99 121.83,-338.39 159,-258 165.65,-243.62 176.06,-229.7 186.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="188.76,-220.48 192.89,-210.72 183.58,-215.78 188.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node23->Node14 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node23->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.15,-463.47C116.76,-460.77 120.31,-457.57 123,-454 150.93,-416.95 136.01,-396.31 159,-356 166.97,-342.02 177.82,-328 187.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="190.56,-318.52 194.53,-308.7 185.3,-313.9 190.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node23->Node19 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node23->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-474.97C126.8,-475.79 137.55,-476.8 148.64,-477.83"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.6,-481.35 158.88,-478.79 149.25,-474.38 148.6,-481.35"/>
|
||||
</g>
|
||||
<!-- Node23->Node20 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node23->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.74,-482.51C117.24,-485.18 120.59,-488.37 123,-492 161.6,-550.23 104.24,-601.63 159,-645 198.37,-676.18 230.57,-673.39 272,-645 308.56,-619.95 281.41,-587.46 308,-552 316.57,-540.57 328.86,-530.62 339.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="341.87,-525.97 348.35,-517.58 338.06,-520.1 341.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node23->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node23->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M112.06,-482.59C115.85,-485.38 119.77,-488.59 123,-492 143.12,-513.18 138.17,-526.52 159,-547 162.02,-549.96 165.32,-552.81 168.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="166.88,-558.44 177.02,-561.49 170.99,-552.78 166.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node24->Node4 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node24->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-426.24C128.63,-421.81 142.1,-416.19 155.58,-410.57"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="157,-413.77 164.88,-406.69 154.31,-407.31 157,-413.77"/>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.07,-433.9C156.28,-431.91 238.54,-427.62 297.74,-424.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="297.96,-428.03 307.77,-424.01 297.6,-421.04 297.96,-428.03"/>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M102.29,-425.26C107.93,-414.61 116.88,-396.93 123,-381 143.42,-327.83 132.46,-308.4 159,-258 166.44,-243.87 177.09,-229.91 187.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="189.8,-220.56 193.84,-210.76 184.57,-215.9 189.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node24->Node14 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node24->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M104.58,-425.22C116.2,-410.25 139.17,-380.77 159,-356 169.37,-343.05 180.95,-328.81 190.85,-316.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="193.76,-318.7 197.39,-308.75 188.35,-314.26 193.76,-318.7"/>
|
||||
</g>
|
||||
<!-- Node24->Node19 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node24->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-443.76C128.63,-448.19 142.1,-453.81 155.58,-459.43"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="154.31,-462.69 164.88,-463.31 157,-456.23 154.31,-462.69"/>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M112.15,-444.51C115.95,-447.29 119.83,-450.53 123,-454 143.97,-476.96 131.94,-498.68 159,-514 211.26,-543.59 283.51,-531.9 327.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="328.22,-523.64 336.91,-517.58 326.34,-516.89 328.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.11,-444.56C116.72,-447.27 120.28,-450.45 123,-454 149.98,-489.16 130.83,-512.78 159,-547 161.35,-549.85 163.99,-552.54 166.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="164.65,-557.82 174.64,-561.35 169.04,-552.36 164.65,-557.82"/>
|
||||
<path fill="none" stroke="midnightblue" d="M33.18,-10C40.64,-10 49.89,-10 58.94,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="58.96,-13.5 68.96,-10 58.96,-6.5 58.96,-13.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="fibonacci__sum_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -1,501 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: test Pages: 1 -->
|
||||
<svg width="582pt" height="676pt"
|
||||
viewBox="0.00 0.00 582.00 675.51" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 671.51)">
|
||||
<title>test</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 578,-671.51 578,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title=" ">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-444.5 0,-463.5 33,-463.5 33,-444.5 0,-444.5"/>
|
||||
<text text-anchor="middle" x="16.5" y="-451.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="69,-501.5 69,-520.5 123,-520.5 123,-501.5 69,-501.5"/>
|
||||
<text text-anchor="middle" x="96" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M30.61,-463.7C41.01,-471.39 55.92,-482.4 69,-492 70.43,-493.05 71.89,-494.12 73.38,-495.21"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="71.63,-498.27 81.76,-501.35 75.76,-492.62 71.63,-498.27"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-352.5 74,-371.5 118,-371.5 118,-352.5 74,-352.5"/>
|
||||
<text text-anchor="middle" x="96" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node1->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M25.79,-444.15C38.79,-428.73 64.12,-398.65 80.27,-379.48"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="83,-381.68 86.77,-371.77 77.65,-377.17 83,-381.68"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-463.5 74,-482.5 118,-482.5 118,-463.5 74,-463.5"/>
|
||||
<text text-anchor="middle" x="96" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node1->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.18,-457.84C42.03,-460.01 53.4,-462.8 63.98,-465.39"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.21,-468.81 73.76,-467.79 64.88,-462.01 63.21,-468.81"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-425.5 74,-444.5 118,-444.5 118,-425.5 74,-425.5"/>
|
||||
<text text-anchor="middle" x="96" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node24 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node1->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M33.18,-450.16C42.03,-447.99 53.4,-445.2 63.98,-442.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="64.88,-445.99 73.76,-440.21 63.21,-439.19 64.88,-445.99"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="159,-365.5 159,-406.5 272,-406.5 272,-365.5 159,-365.5"/>
|
||||
<text text-anchor="start" x="167" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node3->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-366.29C126.89,-368.11 137.77,-370.33 148.98,-372.62"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.38,-376.07 158.88,-374.64 149.78,-369.21 148.38,-376.07"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="308,-411.5 308,-430.5 425,-430.5 425,-411.5 308,-411.5"/>
|
||||
<text text-anchor="middle" x="366.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node5 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node3->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.35,-352.23C105.17,-330.56 122.45,-278.77 159,-258 202.67,-233.19 232.06,-227.55 272,-258 320.02,-294.6 270.71,-341.51 308,-389 313.69,-396.25 321.5,-402.1 329.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="328.1,-409.93 338.59,-411.43 331.33,-403.72 328.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="159,-169.5 159,-210.5 272,-210.5 272,-169.5 159,-169.5"/>
|
||||
<text text-anchor="start" x="167" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node3->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.31,-352.31C105.42,-328.31 124.02,-265.16 159,-225 161.46,-222.17 164.21,-219.49 167.13,-216.97"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="169.47,-219.58 175.18,-210.66 165.15,-214.07 169.47,-219.58"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="159,-267.5 159,-308.5 272,-308.5 272,-267.5 159,-267.5"/>
|
||||
<text text-anchor="start" x="167" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node14 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node3->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M112.36,-352.33C127.78,-342.62 152.2,-327.23 173.3,-313.94"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="175.21,-316.88 181.8,-308.59 171.48,-310.96 175.21,-316.88"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="159,-463.5 159,-504.5 272,-504.5 272,-463.5 159,-463.5"/>
|
||||
<text text-anchor="start" x="167" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node3->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M106.22,-371.57C123.53,-389.54 161.48,-428.95 187.52,-455.99"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="185.07,-458.49 194.53,-463.26 190.11,-453.63 185.07,-458.49"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="323.5,-498.5 323.5,-517.5 409.5,-517.5 409.5,-498.5 323.5,-498.5"/>
|
||||
<text text-anchor="middle" x="366.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node20 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node3->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.23,-354.01C153.42,-342.24 224.67,-324.79 272,-356 305.91,-378.36 286.65,-405.45 308,-440 319.57,-458.73 336.07,-477.67 348.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="346.05,-493.37 355.5,-498.15 351.1,-488.51 346.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="159,-561.5 159,-602.5 272,-602.5 272,-561.5 159,-561.5"/>
|
||||
<text text-anchor="start" x="167" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="167" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="215.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node3->Node21 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node3->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M102.08,-371.82C107.55,-382.54 116.35,-400.29 123,-416 141.09,-458.73 136.01,-473.69 159,-514 166.97,-527.98 177.82,-542 187.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="185.3,-556.1 194.53,-561.3 190.56,-551.48 185.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-399.13C286.22,-402.38 300.96,-405.84 314.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="314.11,-412.52 324.64,-411.4 315.71,-405.71 314.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="461,-199.5 461,-240.5 574,-240.5 574,-199.5 461,-199.5"/>
|
||||
<text text-anchor="start" x="469" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node6->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.3,-194.65C314.31,-198.25 373.31,-203.54 425,-209 433.35,-209.88 442.12,-210.86 450.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.54,-215.36 460.88,-213.05 451.36,-208.41 450.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="310,-0.5 310,-41.5 423,-41.5 423,-0.5 310,-0.5"/>
|
||||
<text text-anchor="start" x="318" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node6->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M225.94,-169.25C240.18,-139.81 269.63,-85.67 308,-51 309.29,-49.83 310.64,-48.7 312.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="314.27,-50.29 320.37,-41.62 310.2,-44.6 314.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="310,-218.5 310,-259.5 423,-259.5 423,-218.5 310,-218.5"/>
|
||||
<text text-anchor="start" x="318" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node6->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-208.39C281.48,-211.37 290.94,-214.48 300.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="299.18,-220.88 309.78,-220.67 301.37,-214.23 299.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="310,-120.5 310,-161.5 423,-161.5 423,-120.5 310,-120.5"/>
|
||||
<text text-anchor="start" x="318" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node6->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-171.61C281.48,-168.63 290.94,-165.52 300.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="301.37,-165.77 309.78,-159.33 299.18,-159.12 301.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="310,-60.5 310,-101.5 423,-101.5 423,-60.5 310,-60.5"/>
|
||||
<text text-anchor="start" x="318" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node6->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node6->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M237.53,-169.34C255.38,-152.45 282.13,-128.57 308,-111 310.12,-109.56 312.32,-108.14 314.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="316.56,-109.63 323.38,-101.52 312.99,-103.61 316.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="461,-30.5 461,-71.5 574,-71.5 574,-30.5 461,-30.5"/>
|
||||
<text text-anchor="start" x="469" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node11->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-69.74C432.38,-67.94 441.74,-66.05 450.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="451.66,-67.62 460.78,-62.22 450.28,-60.76 451.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="461,-90.5 461,-131.5 574,-131.5 574,-90.5 461,-90.5"/>
|
||||
<text text-anchor="start" x="469" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node11->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node11->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-92.26C432.38,-94.06 441.74,-95.95 450.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.28,-101.24 460.78,-99.78 451.66,-94.38 450.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="310,-278.5 310,-319.5 423,-319.5 423,-278.5 310,-278.5"/>
|
||||
<text text-anchor="start" x="318" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node15 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node14->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-292.13C281.29,-292.78 290.54,-293.47 299.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="299.55,-297.64 309.78,-294.89 300.06,-290.66 299.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="310,-338.5 310,-379.5 423,-379.5 423,-338.5 310,-338.5"/>
|
||||
<text text-anchor="start" x="318" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node14->Node17 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node14->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M259.6,-308.54C276.2,-316.45 295.36,-325.58 312.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="311.71,-337.25 322.24,-338.39 314.72,-330.93 311.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node15->Node7 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node15->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M407.12,-278.4C413.12,-275.26 419.23,-272.05 425,-269 439.38,-261.4 454.98,-253.07 469.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="471.1,-248.41 478.26,-240.59 467.8,-242.24 471.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="488,-289.5 488,-308.5 547,-308.5 547,-289.5 488,-289.5"/>
|
||||
<text text-anchor="middle" x="517.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-299C441.42,-299 460.99,-299 477.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="477.89,-302.5 487.89,-299 477.89,-295.5 477.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="461,-338.5 461,-379.5 574,-379.5 574,-338.5 461,-338.5"/>
|
||||
<text text-anchor="start" x="469" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="469" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="517.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node17->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node17->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M423.41,-359C432.29,-359 441.54,-359 450.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="450.78,-362.5 460.78,-359 450.78,-355.5 450.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node19->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node19->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-493C285.83,-495.17 300.11,-497.47 313.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="312.82,-503.06 323.25,-501.2 313.94,-496.15 312.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="310,-561.5 310,-602.5 423,-602.5 423,-561.5 310,-561.5"/>
|
||||
<text text-anchor="start" x="318" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="318" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="366.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node21->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node21->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M272.41,-582C281.29,-582 290.54,-582 299.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="299.78,-585.5 309.78,-582 299.78,-578.5 299.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node23->Node4 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node23->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M110.24,-463.35C114.34,-460.36 118.86,-457.05 123,-454 141.32,-440.5 161.63,-425.41 178.46,-412.89"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="180.99,-415.37 186.91,-406.59 176.8,-409.76 180.99,-415.37"/>
|
||||
</g>
|
||||
<!-- Node23->Node5 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node23->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.58,-482.62C117.08,-485.29 120.48,-488.44 123,-492 155.15,-537.46 114.33,-578.76 159,-612 199.29,-641.98 231.81,-642.11 272,-612 317.58,-577.85 281.03,-539.17 308,-489 318.43,-469.6 335.05,-450.74 347.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="350.41,-440.11 355.06,-430.59 345.49,-435.14 350.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node23->Node6 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node23->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M114.13,-463.37C117.53,-460.73 120.74,-457.6 123,-454 170.1,-378.99 121.83,-338.39 159,-258 165.65,-243.62 176.06,-229.7 186.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="188.76,-220.48 192.89,-210.72 183.58,-215.78 188.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node23->Node14 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node23->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.15,-463.47C116.76,-460.77 120.31,-457.57 123,-454 150.93,-416.95 136.01,-396.31 159,-356 166.97,-342.02 177.82,-328 187.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="190.56,-318.52 194.53,-308.7 185.3,-313.9 190.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node23->Node19 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node23->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-474.97C126.8,-475.79 137.55,-476.8 148.64,-477.83"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="148.6,-481.35 158.88,-478.79 149.25,-474.38 148.6,-481.35"/>
|
||||
</g>
|
||||
<!-- Node23->Node20 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node23->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.74,-482.51C117.24,-485.18 120.59,-488.37 123,-492 161.6,-550.23 104.24,-601.63 159,-645 198.37,-676.18 230.57,-673.39 272,-645 308.56,-619.95 281.41,-587.46 308,-552 316.57,-540.57 328.86,-530.62 339.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="341.87,-525.97 348.35,-517.58 338.06,-520.1 341.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node23->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node23->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M112.06,-482.59C115.85,-485.38 119.77,-488.59 123,-492 143.12,-513.18 138.17,-526.52 159,-547 162.02,-549.96 165.32,-552.81 168.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="166.88,-558.44 177.02,-561.49 170.99,-552.78 166.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node24->Node4 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node24->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-426.24C128.63,-421.81 142.1,-416.19 155.58,-410.57"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="157,-413.77 164.88,-406.69 154.31,-407.31 157,-413.77"/>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.07,-433.9C156.28,-431.91 238.54,-427.62 297.74,-424.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="297.96,-428.03 307.77,-424.01 297.6,-421.04 297.96,-428.03"/>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M102.29,-425.26C107.93,-414.61 116.88,-396.93 123,-381 143.42,-327.83 132.46,-308.4 159,-258 166.44,-243.87 177.09,-229.91 187.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="189.8,-220.56 193.84,-210.76 184.57,-215.9 189.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node24->Node14 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node24->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M104.58,-425.22C116.2,-410.25 139.17,-380.77 159,-356 169.37,-343.05 180.95,-328.81 190.85,-316.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="193.76,-318.7 197.39,-308.75 188.35,-314.26 193.76,-318.7"/>
|
||||
</g>
|
||||
<!-- Node24->Node19 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node24->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M118.01,-443.76C128.63,-448.19 142.1,-453.81 155.58,-459.43"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="154.31,-462.69 164.88,-463.31 157,-456.23 154.31,-462.69"/>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M112.15,-444.51C115.95,-447.29 119.83,-450.53 123,-454 143.97,-476.96 131.94,-498.68 159,-514 211.26,-543.59 283.51,-531.9 327.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="328.22,-523.64 336.91,-517.58 326.34,-516.89 328.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M113.11,-444.56C116.72,-447.27 120.28,-450.45 123,-454 149.98,-489.16 130.83,-512.78 159,-547 161.35,-549.85 163.99,-552.54 166.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="164.65,-557.82 174.64,-561.35 169.04,-552.36 164.65,-557.82"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 30 KiB |
@@ -1,27 +1,5 @@
|
||||
<map id="main" name="main">
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,277,56,303"/>
|
||||
<area shape="rect" id="node2" href="$de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title=" " alt="" coords="104,277,148,303"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="196,201,268,227"/>
|
||||
<area shape="rect" id="node4" href="$d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" title=" " alt="" coords="203,399,261,426"/>
|
||||
<area shape="rect" id="node24" href="$d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" title=" " alt="" coords="203,251,261,278"/>
|
||||
<area shape="rect" id="node25" href="$d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" title=" " alt="" coords="203,302,261,329"/>
|
||||
<area shape="rect" id="node5" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" title="Adds an undirected edge from node u to node v in the tree." alt="" coords="316,353,467,409"/>
|
||||
<area shape="rect" id="node6" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/push_back.html#" title=" " alt="" coords="515,321,671,347"/>
|
||||
<area shape="rect" id="node7" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="316,614,467,670"/>
|
||||
<area shape="rect" id="node15" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" title="This function returns the sum of node values in the simple path from from node_1 to node_2." alt="" coords="316,483,467,539"/>
|
||||
<area shape="rect" id="node20" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" title="Set the values for all the nodes." alt="" coords="316,222,467,278"/>
|
||||
<area shape="rect" id="node21" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/container/vector/size.html#" title=" " alt="" coords="535,205,650,231"/>
|
||||
<area shape="rect" id="node22" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" title="This function updates the value at node with val." alt="" coords="316,91,467,147"/>
|
||||
<area shape="rect" id="node8" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" title="Function that specifies the type of operation involved when segments are combined." alt="" coords="719,574,869,630"/>
|
||||
<area shape="rect" id="node9" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" title="Utility function to assign heavy child to each node (-1 for a leaf node)" alt="" coords="517,839,668,895"/>
|
||||
<area shape="rect" id="node10" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" title="Utility function to lable the nodes so that heavy chains have a contigous lable." alt="" coords="517,549,668,605"/>
|
||||
<area shape="rect" id="node11" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" title="Utility function to assign highest parent that can be reached though heavy chains." alt="" coords="517,679,668,735"/>
|
||||
<area shape="rect" id="node12" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" title="This function must be called after the tree adjacency list and node values are populated The function..." alt="" coords="517,759,668,815"/>
|
||||
<area shape="rect" id="node13" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" title="Utility function to populate the t_par vector." alt="" coords="719,799,869,855"/>
|
||||
<area shape="rect" id="node14" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" title="Utility function to compute sub-tree sizes." alt="" coords="719,719,869,775"/>
|
||||
<area shape="rect" id="node16" href="$d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" title="Utility function to break down a path query into two chain queries." alt="" coords="517,469,668,525"/>
|
||||
<area shape="rect" id="node18" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" title="The function returns the least common ancestor of two nodes." alt="" coords="517,389,668,445"/>
|
||||
<area shape="rect" id="node17" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/algorithm/swap.html#" title=" " alt="" coords="755,483,833,510"/>
|
||||
<area shape="rect" id="node19" href="$d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store..." alt="" coords="719,389,869,445"/>
|
||||
<area shape="rect" id="node23" href="$d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" title="Update the value at a node." alt="" coords="517,91,668,147"/>
|
||||
<area shape="rect" id="node1" title="Main function." alt="" coords="5,5,56,32"/>
|
||||
<area shape="rect" id="node2" href="$de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" title=" " alt="" coords="104,5,148,32"/>
|
||||
<area shape="rect" id="node3" href="/Users/runner/work/C-Plus-Plus/C-Plus-Plus/doc/cppreference-doxygen-web.tag.xml$cpp/io/manip/endl.html#" title=" " alt="" coords="196,5,268,32"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
fa7466aa8b342c0ee71e18155d0069bc
|
||||
b5d2bc9a1f38b43c9b946c7e9fb0a4f5
|
||||
@@ -4,63 +4,17 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<!--zoomable 676 -->
|
||||
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
||||
<style type="text/css"><![CDATA[
|
||||
.edge:hover path { stroke: red; }
|
||||
.edge:hover polygon { stroke: red; fill: red; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
var edges = document.getElementsByTagName('g');
|
||||
if (edges && edges.length) {
|
||||
for (var i=0;i<edges.length;i++) {
|
||||
if (edges[i].id.substr(0,4)=='edge') {
|
||||
edges[i].setAttribute('class','edge');
|
||||
}
|
||||
}
|
||||
}
|
||||
]]></script>
|
||||
<defs>
|
||||
<circle id="rim" cx="0" cy="0" r="7"/>
|
||||
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
||||
<g id="zoomPlus">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="zoomMin">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
||||
</use>
|
||||
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
||||
</g>
|
||||
<g id="dirArrow">
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="resetDef">
|
||||
<use xlink:href="#rim2" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
||||
</use>
|
||||
</g>
|
||||
</defs>
|
||||
|
||||
<script type="text/javascript">
|
||||
var viewWidth = 656;
|
||||
var viewHeight = 676;
|
||||
var sectionId = 'dynsection-2';
|
||||
</script>
|
||||
<script xlink:href="../../svgpan.js"/>
|
||||
<svg id="graph" class="graph">
|
||||
<g id="viewport">
|
||||
<svg width="205pt" height="28pt"
|
||||
viewBox="0.00 0.00 205.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>main</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 652,-671.51 652,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 201,-24 201,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Main function.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-444.5 0,-463.5 38,-463.5 38,-444.5 0,-444.5"/>
|
||||
<text text-anchor="middle" x="19" y="-451.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-0.5 0,-19.5 38,-19.5 38,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="19" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
@@ -68,537 +22,31 @@ var sectionId = 'dynsection-2';
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-444.5 74,-463.5 107,-463.5 107,-444.5 74,-444.5"/>
|
||||
<text text-anchor="middle" x="90.5" y="-451.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
<polygon fill="white" stroke="black" points="74,-0.5 74,-19.5 107,-19.5 107,-0.5 74,-0.5"/>
|
||||
<text text-anchor="middle" x="90.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M38.26,-454C46.07,-454 55.31,-454 63.79,-454"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-457.5 73.95,-454 63.95,-450.5 63.95,-457.5"/>
|
||||
<path fill="none" stroke="midnightblue" d="M38.26,-10C46.07,-10 55.31,-10 63.79,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-13.5 73.95,-10 63.95,-6.5 63.95,-13.5"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="143,-501.5 143,-520.5 197,-520.5 197,-501.5 143,-501.5"/>
|
||||
<text text-anchor="middle" x="170" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
<polygon fill="white" stroke="black" points="143,-0.5 143,-19.5 197,-19.5 197,-0.5 143,-0.5"/>
|
||||
<text text-anchor="middle" x="170" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M104.61,-463.7C115.01,-471.39 129.92,-482.4 143,-492 144.43,-493.05 145.89,-494.12 147.38,-495.21"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="145.63,-498.27 155.76,-501.35 149.76,-492.62 145.63,-498.27"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="148,-352.5 148,-371.5 192,-371.5 192,-352.5 148,-352.5"/>
|
||||
<text text-anchor="middle" x="170" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.79,-444.15C112.79,-428.73 138.12,-398.65 154.27,-379.48"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="157,-381.68 160.77,-371.77 151.65,-377.17 157,-381.68"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="148,-463.5 148,-482.5 192,-482.5 192,-463.5 148,-463.5"/>
|
||||
<text text-anchor="middle" x="170" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node24 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node2->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.18,-457.84C116.03,-460.01 127.4,-462.8 137.98,-465.39"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="137.21,-468.81 147.76,-467.79 138.88,-462.01 137.21,-468.81"/>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="node25" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_node25"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="148,-425.5 148,-444.5 192,-444.5 192,-425.5 148,-425.5"/>
|
||||
<text text-anchor="middle" x="170" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node25 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node2->Node25</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.18,-450.16C116.03,-447.99 127.4,-445.2 137.98,-442.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="138.88,-445.99 147.76,-440.21 137.21,-439.19 138.88,-445.99"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="233,-365.5 233,-406.5 346,-406.5 346,-365.5 233,-365.5"/>
|
||||
<text text-anchor="start" x="241" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-366.29C200.89,-368.11 211.77,-370.33 222.98,-372.62"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="222.38,-376.07 232.88,-374.64 223.78,-369.21 222.38,-376.07"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="382,-411.5 382,-430.5 499,-430.5 499,-411.5 382,-411.5"/>
|
||||
<text text-anchor="middle" x="440.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M173.35,-352.23C179.17,-330.56 196.45,-278.77 233,-258 276.67,-233.19 306.06,-227.55 346,-258 394.02,-294.6 344.71,-341.51 382,-389 387.69,-396.25 395.5,-402.1 403.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="402.1,-409.93 412.59,-411.43 405.33,-403.72 402.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="233,-169.5 233,-210.5 346,-210.5 346,-169.5 233,-169.5"/>
|
||||
<text text-anchor="start" x="241" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M173.31,-352.31C179.42,-328.31 198.02,-265.16 233,-225 235.46,-222.17 238.21,-219.49 241.13,-216.97"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="243.47,-219.58 249.18,-210.66 239.15,-214.07 243.47,-219.58"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="233,-267.5 233,-308.5 346,-308.5 346,-267.5 233,-267.5"/>
|
||||
<text text-anchor="start" x="241" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node15 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node4->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M186.36,-352.33C201.78,-342.62 226.2,-327.23 247.3,-313.94"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="249.21,-316.88 255.8,-308.59 245.48,-310.96 249.21,-316.88"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="233,-463.5 233,-504.5 346,-504.5 346,-463.5 233,-463.5"/>
|
||||
<text text-anchor="start" x="241" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node4->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M180.22,-371.57C197.53,-389.54 235.48,-428.95 261.52,-455.99"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="259.07,-458.49 268.53,-463.26 264.11,-453.63 259.07,-458.49"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="397.5,-498.5 397.5,-517.5 483.5,-517.5 483.5,-498.5 397.5,-498.5"/>
|
||||
<text text-anchor="middle" x="440.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node21 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node4->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.23,-354.01C227.42,-342.24 298.67,-324.79 346,-356 379.91,-378.36 360.65,-405.45 382,-440 393.57,-458.73 410.07,-477.67 422.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="420.05,-493.37 429.5,-498.15 425.1,-488.51 420.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="233,-561.5 233,-602.5 346,-602.5 346,-561.5 233,-561.5"/>
|
||||
<text text-anchor="start" x="241" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node4->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M176.08,-371.82C181.55,-382.54 190.35,-400.29 197,-416 215.09,-458.73 210.01,-473.69 233,-514 240.97,-527.98 251.82,-542 261.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="259.3,-556.1 268.53,-561.3 264.56,-551.48 259.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-399.13C360.22,-402.38 374.96,-405.84 388.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="388.11,-412.52 398.64,-411.4 389.71,-405.71 388.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="535,-199.5 535,-240.5 648,-240.5 648,-199.5 535,-199.5"/>
|
||||
<text text-anchor="start" x="543" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.3,-194.65C388.31,-198.25 447.31,-203.54 499,-209 507.35,-209.88 516.12,-210.86 524.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="524.54,-215.36 534.88,-213.05 525.36,-208.41 524.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="384,-0.5 384,-41.5 497,-41.5 497,-0.5 384,-0.5"/>
|
||||
<text text-anchor="start" x="392" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node7->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M299.94,-169.25C314.18,-139.81 343.63,-85.67 382,-51 383.29,-49.83 384.64,-48.7 386.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="388.27,-50.29 394.37,-41.62 384.2,-44.6 388.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="384,-218.5 384,-259.5 497,-259.5 497,-218.5 384,-218.5"/>
|
||||
<text text-anchor="start" x="392" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node7->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-208.39C355.48,-211.37 364.94,-214.48 374.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="373.18,-220.88 383.78,-220.67 375.37,-214.23 373.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="384,-120.5 384,-161.5 497,-161.5 497,-120.5 384,-120.5"/>
|
||||
<text text-anchor="start" x="392" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node7->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-171.61C355.48,-168.63 364.94,-165.52 374.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="375.37,-165.77 383.78,-159.33 373.18,-159.12 375.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="384,-60.5 384,-101.5 497,-101.5 497,-60.5 384,-60.5"/>
|
||||
<text text-anchor="start" x="392" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node7->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M311.53,-169.34C329.38,-152.45 356.13,-128.57 382,-111 384.12,-109.56 386.32,-108.14 388.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="390.56,-109.63 397.38,-101.52 386.99,-103.61 390.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="535,-30.5 535,-71.5 648,-71.5 648,-30.5 535,-30.5"/>
|
||||
<text text-anchor="start" x="543" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node12->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-69.74C506.38,-67.94 515.74,-66.05 524.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="525.66,-67.62 534.78,-62.22 524.28,-60.76 525.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="535,-90.5 535,-131.5 648,-131.5 648,-90.5 535,-90.5"/>
|
||||
<text text-anchor="start" x="543" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node14 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node12->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-92.26C506.38,-94.06 515.74,-95.95 524.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="524.28,-101.24 534.78,-99.78 525.66,-94.38 524.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="384,-278.5 384,-319.5 497,-319.5 497,-278.5 384,-278.5"/>
|
||||
<text text-anchor="start" x="392" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-292.13C355.29,-292.78 364.54,-293.47 373.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="373.55,-297.64 383.78,-294.89 374.06,-290.66 373.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="384,-338.5 384,-379.5 497,-379.5 497,-338.5 384,-338.5"/>
|
||||
<text text-anchor="start" x="392" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node15->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M333.6,-308.54C350.2,-316.45 369.36,-325.58 386.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="385.71,-337.25 396.24,-338.39 388.72,-330.93 385.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node16->Node8 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node16->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M481.12,-278.4C487.12,-275.26 493.23,-272.05 499,-269 513.38,-261.4 528.98,-253.07 543.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="545.1,-248.41 552.26,-240.59 541.8,-242.24 545.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="562,-289.5 562,-308.5 621,-308.5 621,-289.5 562,-289.5"/>
|
||||
<text text-anchor="middle" x="591.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-299C515.42,-299 534.99,-299 551.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="551.89,-302.5 561.89,-299 551.89,-295.5 551.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="535,-338.5 535,-379.5 648,-379.5 648,-338.5 535,-338.5"/>
|
||||
<text text-anchor="start" x="543" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node18->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-359C506.29,-359 515.54,-359 524.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="524.78,-362.5 534.78,-359 524.78,-355.5 524.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node20->Node21 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node20->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-493C359.83,-495.17 374.11,-497.47 387.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="386.82,-503.06 397.25,-501.2 387.94,-496.15 386.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="384,-561.5 384,-602.5 497,-602.5 497,-561.5 384,-561.5"/>
|
||||
<text text-anchor="start" x="392" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node22->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-582C355.29,-582 364.54,-582 373.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="373.78,-585.5 383.78,-582 373.78,-578.5 373.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M184.24,-463.35C188.34,-460.36 192.86,-457.05 197,-454 215.32,-440.5 235.63,-425.41 252.46,-412.89"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="254.99,-415.37 260.91,-406.59 250.8,-409.76 254.99,-415.37"/>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.58,-482.62C191.08,-485.29 194.48,-488.44 197,-492 229.15,-537.46 188.33,-578.76 233,-612 273.29,-641.98 305.81,-642.11 346,-612 391.58,-577.85 355.03,-539.17 382,-489 392.43,-469.6 409.05,-450.74 421.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="424.41,-440.11 429.06,-430.59 419.49,-435.14 424.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node24->Node7 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node24->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M188.13,-463.37C191.53,-460.73 194.74,-457.6 197,-454 244.1,-378.99 195.83,-338.39 233,-258 239.65,-243.62 250.06,-229.7 260.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="262.76,-220.48 266.89,-210.72 257.58,-215.78 262.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node24->Node15 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node24->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.15,-463.47C190.76,-460.77 194.31,-457.57 197,-454 224.93,-416.95 210.01,-396.31 233,-356 240.97,-342.02 251.82,-328 261.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="264.56,-318.52 268.53,-308.7 259.3,-313.9 264.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-474.97C200.8,-475.79 211.55,-476.8 222.64,-477.83"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="222.6,-481.35 232.88,-478.79 223.25,-474.38 222.6,-481.35"/>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.74,-482.51C191.24,-485.18 194.59,-488.37 197,-492 235.6,-550.23 178.24,-601.63 233,-645 272.37,-676.18 304.57,-673.39 346,-645 382.56,-619.95 355.41,-587.46 382,-552 390.57,-540.57 402.86,-530.62 413.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="415.87,-525.97 422.35,-517.58 412.06,-520.1 415.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node24->Node22 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node24->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M186.06,-482.59C189.85,-485.38 193.77,-488.59 197,-492 217.12,-513.18 212.17,-526.52 233,-547 236.02,-549.96 239.32,-552.81 242.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="240.88,-558.44 251.02,-561.49 244.99,-552.78 240.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node25->Node5 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node25->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-426.24C202.63,-421.81 216.1,-416.19 229.58,-410.57"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="231,-413.77 238.88,-406.69 228.31,-407.31 231,-413.77"/>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.07,-433.9C230.28,-431.91 312.54,-427.62 371.74,-424.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="371.96,-428.03 381.77,-424.01 371.6,-421.04 371.96,-428.03"/>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M176.29,-425.26C181.93,-414.61 190.88,-396.93 197,-381 217.42,-327.83 206.46,-308.4 233,-258 240.44,-243.87 251.09,-229.91 261.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="263.8,-220.56 267.84,-210.76 258.57,-215.9 263.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node25->Node15 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node25->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M178.58,-425.22C190.2,-410.25 213.17,-380.77 233,-356 243.37,-343.05 254.95,-328.81 264.85,-316.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="267.76,-318.7 271.39,-308.75 262.35,-314.26 267.76,-318.7"/>
|
||||
</g>
|
||||
<!-- Node25->Node20 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node25->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-443.76C202.63,-448.19 216.1,-453.81 229.58,-459.43"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="228.31,-462.69 238.88,-463.31 231,-456.23 228.31,-462.69"/>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M186.15,-444.51C189.95,-447.29 193.83,-450.53 197,-454 217.97,-476.96 205.94,-498.68 233,-514 285.26,-543.59 357.51,-531.9 401.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="402.22,-523.64 410.91,-517.58 400.34,-516.89 402.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge41" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.11,-444.56C190.72,-447.27 194.28,-450.45 197,-454 223.98,-489.16 204.83,-512.78 233,-547 235.35,-549.85 237.99,-552.54 240.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="238.65,-557.82 248.64,-561.35 243.04,-552.36 238.65,-557.82"/>
|
||||
<path fill="none" stroke="midnightblue" d="M107.18,-10C114.64,-10 123.89,-10 132.94,-10"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="132.96,-13.5 142.96,-10 132.96,-6.5 132.96,-13.5"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
||||
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
||||
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
||||
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
||||
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
||||
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
||||
<use xlink:href="#rim" fill="#404040">
|
||||
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
||||
</use>
|
||||
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
||||
</g>
|
||||
</g>
|
||||
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
||||
<g id="arrow_out" transform="scale(0.3 0.3)">
|
||||
<a xlink:href="fibonacci__sum_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg" target="_base">
|
||||
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
||||
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
||||
<path id="arrow"
|
||||
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
||||
style="fill:#404040;"/>
|
||||
</a>
|
||||
</g>
|
||||
</svg>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -1,516 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
||||
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: main Pages: 1 -->
|
||||
<svg width="656pt" height="676pt"
|
||||
viewBox="0.00 0.00 656.00 675.51" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 671.51)">
|
||||
<title>main</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-671.51 652,-671.51 652,4 -4,4"/>
|
||||
<!-- Node1 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node1</title>
|
||||
<g id="a_node1"><a xlink:title="Main function.">
|
||||
<polygon fill="#bfbfbf" stroke="black" points="0,-444.5 0,-463.5 38,-463.5 38,-444.5 0,-444.5"/>
|
||||
<text text-anchor="middle" x="19" y="-451.5" font-family="Helvetica,sans-Serif" font-size="10.00">main</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2 -->
|
||||
<g id="node2" class="node">
|
||||
<title>Node2</title>
|
||||
<g id="a_node2"><a xlink:href="../../de/dc3/fibonacci__sum_8cpp.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="74,-444.5 74,-463.5 107,-463.5 107,-444.5 74,-444.5"/>
|
||||
<text text-anchor="middle" x="90.5" y="-451.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node1->Node2 -->
|
||||
<g id="edge1" class="edge">
|
||||
<title>Node1->Node2</title>
|
||||
<path fill="none" stroke="midnightblue" d="M38.26,-454C46.07,-454 55.31,-454 63.79,-454"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-457.5 73.95,-454 63.95,-450.5 63.95,-457.5"/>
|
||||
</g>
|
||||
<!-- Node3 -->
|
||||
<g id="node3" class="node">
|
||||
<title>Node3</title>
|
||||
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="143,-501.5 143,-520.5 197,-520.5 197,-501.5 143,-501.5"/>
|
||||
<text text-anchor="middle" x="170" y="-508.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node3 -->
|
||||
<g id="edge2" class="edge">
|
||||
<title>Node2->Node3</title>
|
||||
<path fill="none" stroke="midnightblue" d="M104.61,-463.7C115.01,-471.39 129.92,-482.4 143,-492 144.43,-493.05 145.89,-494.12 147.38,-495.21"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="145.63,-498.27 155.76,-501.35 149.76,-492.62 145.63,-498.27"/>
|
||||
</g>
|
||||
<!-- Node4 -->
|
||||
<g id="node4" class="node">
|
||||
<title>Node4</title>
|
||||
<g id="a_node4"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a34b8683a2b429de5cce57e6d733ec817" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="148,-352.5 148,-371.5 192,-371.5 192,-352.5 148,-352.5"/>
|
||||
<text text-anchor="middle" x="170" y="-359.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_1</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node4 -->
|
||||
<g id="edge3" class="edge">
|
||||
<title>Node2->Node4</title>
|
||||
<path fill="none" stroke="midnightblue" d="M99.79,-444.15C112.79,-428.73 138.12,-398.65 154.27,-379.48"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="157,-381.68 160.77,-371.77 151.65,-377.17 157,-381.68"/>
|
||||
</g>
|
||||
<!-- Node24 -->
|
||||
<g id="node24" class="node">
|
||||
<title>Node24</title>
|
||||
<g id="a_node24"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#a458410412185a5f09199deaff7157a8d" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="148,-463.5 148,-482.5 192,-482.5 192,-463.5 148,-463.5"/>
|
||||
<text text-anchor="middle" x="170" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_2</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node24 -->
|
||||
<g id="edge26" class="edge">
|
||||
<title>Node2->Node24</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.18,-457.84C116.03,-460.01 127.4,-462.8 137.98,-465.39"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="137.21,-468.81 147.76,-467.79 138.88,-462.01 137.21,-468.81"/>
|
||||
</g>
|
||||
<!-- Node25 -->
|
||||
<g id="node25" class="node">
|
||||
<title>Node25</title>
|
||||
<g id="a_node25"><a xlink:href="../../d2/de9/heavy__light__decomposition_8cpp.html#af31ec5409537703d9c8a47350386b32a" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="148,-425.5 148,-444.5 192,-444.5 192,-425.5 148,-425.5"/>
|
||||
<text text-anchor="middle" x="170" y="-432.5" font-family="Helvetica,sans-Serif" font-size="10.00">test_3</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node2->Node25 -->
|
||||
<g id="edge34" class="edge">
|
||||
<title>Node2->Node25</title>
|
||||
<path fill="none" stroke="midnightblue" d="M107.18,-450.16C116.03,-447.99 127.4,-445.2 137.98,-442.61"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="138.88,-445.99 147.76,-440.21 137.21,-439.19 138.88,-445.99"/>
|
||||
</g>
|
||||
<!-- Node5 -->
|
||||
<g id="node5" class="node">
|
||||
<title>Node5</title>
|
||||
<g id="a_node5"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a79ab4601c4a95c0902ac04e779e5f54d" target="_top" xlink:title="Adds an undirected edge from node u to node v in the tree.">
|
||||
<polygon fill="white" stroke="black" points="233,-365.5 233,-406.5 346,-406.5 346,-365.5 233,-365.5"/>
|
||||
<text text-anchor="start" x="241" y="-394.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-383.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-372.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::add_edge</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node5 -->
|
||||
<g id="edge4" class="edge">
|
||||
<title>Node4->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-366.29C200.89,-368.11 211.77,-370.33 222.98,-372.62"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="222.38,-376.07 232.88,-374.64 223.78,-369.21 222.38,-376.07"/>
|
||||
</g>
|
||||
<!-- Node6 -->
|
||||
<g id="node6" class="node">
|
||||
<title>Node6</title>
|
||||
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="382,-411.5 382,-430.5 499,-430.5 499,-411.5 382,-411.5"/>
|
||||
<text text-anchor="middle" x="440.5" y="-418.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node6 -->
|
||||
<g id="edge14" class="edge">
|
||||
<title>Node4->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M173.35,-352.23C179.17,-330.56 196.45,-278.77 233,-258 276.67,-233.19 306.06,-227.55 346,-258 394.02,-294.6 344.71,-341.51 382,-389 387.69,-396.25 395.5,-402.1 403.53,-406.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="402.1,-409.93 412.59,-411.43 405.33,-403.72 402.1,-409.93"/>
|
||||
</g>
|
||||
<!-- Node7 -->
|
||||
<g id="node7" class="node">
|
||||
<title>Node7</title>
|
||||
<g id="a_node7"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#ae9e979edd69678b85665c01e2ee97828" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="233,-169.5 233,-210.5 346,-210.5 346,-169.5 233,-169.5"/>
|
||||
<text text-anchor="start" x="241" y="-198.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-187.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-176.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node7 -->
|
||||
<g id="edge6" class="edge">
|
||||
<title>Node4->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M173.31,-352.31C179.42,-328.31 198.02,-265.16 233,-225 235.46,-222.17 238.21,-219.49 241.13,-216.97"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="243.47,-219.58 249.18,-210.66 239.15,-214.07 243.47,-219.58"/>
|
||||
</g>
|
||||
<!-- Node15 -->
|
||||
<g id="node15" class="node">
|
||||
<title>Node15</title>
|
||||
<g id="a_node15"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a4dfbf5d9df825eeb63b294c6849bdcab" target="_top" xlink:title="This function returns the sum of node values in the simple path from from node_1 to node_2.">
|
||||
<polygon fill="white" stroke="black" points="233,-267.5 233,-308.5 346,-308.5 346,-267.5 233,-267.5"/>
|
||||
<text text-anchor="start" x="241" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-274.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node15 -->
|
||||
<g id="edge15" class="edge">
|
||||
<title>Node4->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M186.36,-352.33C201.78,-342.62 226.2,-327.23 247.3,-313.94"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="249.21,-316.88 255.8,-308.59 245.48,-310.96 249.21,-316.88"/>
|
||||
</g>
|
||||
<!-- Node20 -->
|
||||
<g id="node20" class="node">
|
||||
<title>Node20</title>
|
||||
<g id="a_node20"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#a04cd96efaba147b19d3afc769b90ff70" target="_top" xlink:title="Set the values for all the nodes.">
|
||||
<polygon fill="white" stroke="black" points="233,-463.5 233,-504.5 346,-504.5 346,-463.5 233,-463.5"/>
|
||||
<text text-anchor="start" x="241" y="-492.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-481.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-470.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::set_node_val</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node20 -->
|
||||
<g id="edge21" class="edge">
|
||||
<title>Node4->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M180.22,-371.57C197.53,-389.54 235.48,-428.95 261.52,-455.99"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="259.07,-458.49 268.53,-463.26 264.11,-453.63 259.07,-458.49"/>
|
||||
</g>
|
||||
<!-- Node21 -->
|
||||
<g id="node21" class="node">
|
||||
<title>Node21</title>
|
||||
<g id="a_node21"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="397.5,-498.5 397.5,-517.5 483.5,-517.5 483.5,-498.5 397.5,-498.5"/>
|
||||
<text text-anchor="middle" x="440.5" y="-505.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node21 -->
|
||||
<g id="edge23" class="edge">
|
||||
<title>Node4->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.23,-354.01C227.42,-342.24 298.67,-324.79 346,-356 379.91,-378.36 360.65,-405.45 382,-440 393.57,-458.73 410.07,-477.67 422.43,-490.79"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="420.05,-493.37 429.5,-498.15 425.1,-488.51 420.05,-493.37"/>
|
||||
</g>
|
||||
<!-- Node22 -->
|
||||
<g id="node22" class="node">
|
||||
<title>Node22</title>
|
||||
<g id="a_node22"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a9f1cb54ed09fde931bf3220d75ee4c57" target="_top" xlink:title="This function updates the value at node with val.">
|
||||
<polygon fill="white" stroke="black" points="233,-561.5 233,-602.5 346,-602.5 346,-561.5 233,-561.5"/>
|
||||
<text text-anchor="start" x="241" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="241" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="289.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node4->Node22 -->
|
||||
<g id="edge24" class="edge">
|
||||
<title>Node4->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M176.08,-371.82C181.55,-382.54 190.35,-400.29 197,-416 215.09,-458.73 210.01,-473.69 233,-514 240.97,-527.98 251.82,-542 261.8,-553.65"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="259.3,-556.1 268.53,-561.3 264.56,-551.48 259.3,-556.1"/>
|
||||
</g>
|
||||
<!-- Node5->Node6 -->
|
||||
<g id="edge5" class="edge">
|
||||
<title>Node5->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-399.13C360.22,-402.38 374.96,-405.84 388.53,-409.03"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="388.11,-412.52 398.64,-411.4 389.71,-405.71 388.11,-412.52"/>
|
||||
</g>
|
||||
<!-- Node8 -->
|
||||
<g id="node8" class="node">
|
||||
<title>Node8</title>
|
||||
<g id="a_node8"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a41c733f5f5e262b308f7cb95c88c1e74" target="_top" xlink:title="Function that specifies the type of operation involved when segments are combined.">
|
||||
<polygon fill="white" stroke="black" points="535,-199.5 535,-240.5 648,-240.5 648,-199.5 535,-199.5"/>
|
||||
<text text-anchor="start" x="543" y="-228.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-217.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-206.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::combine</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node8 -->
|
||||
<g id="edge7" class="edge">
|
||||
<title>Node7->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.3,-194.65C388.31,-198.25 447.31,-203.54 499,-209 507.35,-209.88 516.12,-210.86 524.79,-211.87"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="524.54,-215.36 534.88,-213.05 525.36,-208.41 524.54,-215.36"/>
|
||||
</g>
|
||||
<!-- Node9 -->
|
||||
<g id="node9" class="node">
|
||||
<title>Node9</title>
|
||||
<g id="a_node9"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#af64848d6630c39d0f09ce2359cc7c4f8" target="_top" xlink:title="Utility function to assign heavy child to each node (-1 for a leaf node)">
|
||||
<polygon fill="white" stroke="black" points="384,-0.5 384,-41.5 497,-41.5 497,-0.5 384,-0.5"/>
|
||||
<text text-anchor="start" x="392" y="-29.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_hc</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node9 -->
|
||||
<g id="edge8" class="edge">
|
||||
<title>Node7->Node9</title>
|
||||
<path fill="none" stroke="midnightblue" d="M299.94,-169.25C314.18,-139.81 343.63,-85.67 382,-51 383.29,-49.83 384.64,-48.7 386.03,-47.59"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="388.27,-50.29 394.37,-41.62 384.2,-44.6 388.27,-50.29"/>
|
||||
</g>
|
||||
<!-- Node10 -->
|
||||
<g id="node10" class="node">
|
||||
<title>Node10</title>
|
||||
<g id="a_node10"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a0579062b384e54b611b80c6337c7f2c8" target="_top" xlink:title="Utility function to lable the nodes so that heavy chains have a contigous lable.">
|
||||
<polygon fill="white" stroke="black" points="384,-218.5 384,-259.5 497,-259.5 497,-218.5 384,-218.5"/>
|
||||
<text text-anchor="start" x="392" y="-247.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-236.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-225.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_labels</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node10 -->
|
||||
<g id="edge9" class="edge">
|
||||
<title>Node7->Node10</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-208.39C355.48,-211.37 364.94,-214.48 374.21,-217.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="373.18,-220.88 383.78,-220.67 375.37,-214.23 373.18,-220.88"/>
|
||||
</g>
|
||||
<!-- Node11 -->
|
||||
<g id="node11" class="node">
|
||||
<title>Node11</title>
|
||||
<g id="a_node11"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a2dfbda148aad0bfaba2ebfda9ebc915a" target="_top" xlink:title="Utility function to assign highest parent that can be reached though heavy chains.">
|
||||
<polygon fill="white" stroke="black" points="384,-120.5 384,-161.5 497,-161.5 497,-120.5 384,-120.5"/>
|
||||
<text text-anchor="start" x="392" y="-149.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-138.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-127.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::dfs_par</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node11 -->
|
||||
<g id="edge10" class="edge">
|
||||
<title>Node7->Node11</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-171.61C355.48,-168.63 364.94,-165.52 374.21,-162.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="375.37,-165.77 383.78,-159.33 373.18,-159.12 375.37,-165.77"/>
|
||||
</g>
|
||||
<!-- Node12 -->
|
||||
<g id="node12" class="node">
|
||||
<title>Node12</title>
|
||||
<g id="a_node12"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ad22d760a5a33545a70e7ea5e1786c8dc" target="_top" xlink:title="This function must be called after the tree adjacency list and node values are populated The function...">
|
||||
<polygon fill="white" stroke="black" points="384,-60.5 384,-101.5 497,-101.5 497,-60.5 384,-60.5"/>
|
||||
<text text-anchor="start" x="392" y="-89.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-78.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-67.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::init</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node7->Node12 -->
|
||||
<g id="edge11" class="edge">
|
||||
<title>Node7->Node12</title>
|
||||
<path fill="none" stroke="midnightblue" d="M311.53,-169.34C329.38,-152.45 356.13,-128.57 382,-111 384.12,-109.56 386.32,-108.14 388.56,-106.75"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="390.56,-109.63 397.38,-101.52 386.99,-103.61 390.56,-109.63"/>
|
||||
</g>
|
||||
<!-- Node13 -->
|
||||
<g id="node13" class="node">
|
||||
<title>Node13</title>
|
||||
<g id="a_node13"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae8de7aefcb6635d3dacdd174cd4890c4" target="_top" xlink:title="Utility function to populate the t_par vector.">
|
||||
<polygon fill="white" stroke="black" points="535,-30.5 535,-71.5 648,-71.5 648,-30.5 535,-30.5"/>
|
||||
<text text-anchor="start" x="543" y="-59.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-48.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-37.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node13 -->
|
||||
<g id="edge12" class="edge">
|
||||
<title>Node12->Node13</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-69.74C506.38,-67.94 515.74,-66.05 524.92,-64.2"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="525.66,-67.62 534.78,-62.22 524.28,-60.76 525.66,-67.62"/>
|
||||
</g>
|
||||
<!-- Node14 -->
|
||||
<g id="node14" class="node">
|
||||
<title>Node14</title>
|
||||
<g id="a_node14"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#aa339c31ec74cd86a4842a8b09653d460" target="_top" xlink:title="Utility function to compute sub-tree sizes.">
|
||||
<polygon fill="white" stroke="black" points="535,-90.5 535,-131.5 648,-131.5 648,-90.5 535,-90.5"/>
|
||||
<text text-anchor="start" x="543" y="-119.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-108.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-97.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::dfs_size</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node12->Node14 -->
|
||||
<g id="edge13" class="edge">
|
||||
<title>Node12->Node14</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-92.26C506.38,-94.06 515.74,-95.95 524.92,-97.8"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="524.28,-101.24 534.78,-99.78 525.66,-94.38 524.28,-101.24"/>
|
||||
</g>
|
||||
<!-- Node16 -->
|
||||
<g id="node16" class="node">
|
||||
<title>Node16</title>
|
||||
<g id="a_node16"><a xlink:href="../../d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html#a7d5b40c076347a6aabfb37a0590f2f24" target="_top" xlink:title="Utility function to break down a path query into two chain queries.">
|
||||
<polygon fill="white" stroke="black" points="384,-278.5 384,-319.5 497,-319.5 497,-278.5 384,-278.5"/>
|
||||
<text text-anchor="start" x="392" y="-307.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-285.5" font-family="Helvetica,sans-Serif" font-size="10.00">::HLD::chain_query</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node16 -->
|
||||
<g id="edge16" class="edge">
|
||||
<title>Node15->Node16</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-292.13C355.29,-292.78 364.54,-293.47 373.62,-294.14"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="373.55,-297.64 383.78,-294.89 374.06,-290.66 373.55,-297.64"/>
|
||||
</g>
|
||||
<!-- Node18 -->
|
||||
<g id="node18" class="node">
|
||||
<title>Node18</title>
|
||||
<g id="a_node18"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ae2b407e64aaf9878fbee7ee6efe9c7d4" target="_top" xlink:title="The function returns the least common ancestor of two nodes.">
|
||||
<polygon fill="white" stroke="black" points="384,-338.5 384,-379.5 497,-379.5 497,-338.5 384,-338.5"/>
|
||||
<text text-anchor="start" x="392" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lca</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node15->Node18 -->
|
||||
<g id="edge19" class="edge">
|
||||
<title>Node15->Node18</title>
|
||||
<path fill="none" stroke="midnightblue" d="M333.6,-308.54C350.2,-316.45 369.36,-325.58 386.77,-333.88"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="385.71,-337.25 396.24,-338.39 388.72,-330.93 385.71,-337.25"/>
|
||||
</g>
|
||||
<!-- Node16->Node8 -->
|
||||
<g id="edge17" class="edge">
|
||||
<title>Node16->Node8</title>
|
||||
<path fill="none" stroke="midnightblue" d="M481.12,-278.4C487.12,-275.26 493.23,-272.05 499,-269 513.38,-261.4 528.98,-253.07 543.17,-245.47"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="545.1,-248.41 552.26,-240.59 541.8,-242.24 545.1,-248.41"/>
|
||||
</g>
|
||||
<!-- Node17 -->
|
||||
<g id="node17" class="node">
|
||||
<title>Node17</title>
|
||||
<g id="a_node17"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/swap.html#" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="562,-289.5 562,-308.5 621,-308.5 621,-289.5 562,-289.5"/>
|
||||
<text text-anchor="middle" x="591.5" y="-296.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::swap</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node16->Node17 -->
|
||||
<g id="edge18" class="edge">
|
||||
<title>Node16->Node17</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-299C515.42,-299 534.99,-299 551.52,-299"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="551.89,-302.5 561.89,-299 551.89,-295.5 551.89,-302.5"/>
|
||||
</g>
|
||||
<!-- Node19 -->
|
||||
<g id="node19" class="node">
|
||||
<title>Node19</title>
|
||||
<g id="a_node19"><a xlink:href="../../d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html#ac7761255f2ba06b398b9aae5e4dce5f3" target="_top" xlink:title="The function lifts a node, k units up the tree. The lifting is done in place, and the result is store...">
|
||||
<polygon fill="white" stroke="black" points="535,-338.5 535,-379.5 648,-379.5 648,-338.5 535,-338.5"/>
|
||||
<text text-anchor="start" x="543" y="-367.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="543" y="-356.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="591.5" y="-345.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Tree::lift</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node18->Node19 -->
|
||||
<g id="edge20" class="edge">
|
||||
<title>Node18->Node19</title>
|
||||
<path fill="none" stroke="midnightblue" d="M497.41,-359C506.29,-359 515.54,-359 524.62,-359"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="524.78,-362.5 534.78,-359 524.78,-355.5 524.78,-362.5"/>
|
||||
</g>
|
||||
<!-- Node20->Node21 -->
|
||||
<g id="edge22" class="edge">
|
||||
<title>Node20->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-493C359.83,-495.17 374.11,-497.47 387.36,-499.6"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="386.82,-503.06 397.25,-501.2 387.94,-496.15 386.82,-503.06"/>
|
||||
</g>
|
||||
<!-- Node23 -->
|
||||
<g id="node23" class="node">
|
||||
<title>Node23</title>
|
||||
<g id="a_node23"><a xlink:href="../../d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html#a3c75bf5770790f8eba8cc92227b5400c" target="_top" xlink:title="Update the value at a node.">
|
||||
<polygon fill="white" stroke="black" points="384,-561.5 384,-602.5 497,-602.5 497,-561.5 384,-561.5"/>
|
||||
<text text-anchor="start" x="392" y="-590.5" font-family="Helvetica,sans-Serif" font-size="10.00">range_queries::heavy</text>
|
||||
<text text-anchor="start" x="392" y="-579.5" font-family="Helvetica,sans-Serif" font-size="10.00">_light_decomposition</text>
|
||||
<text text-anchor="middle" x="440.5" y="-568.5" font-family="Helvetica,sans-Serif" font-size="10.00">::SG::update</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
<!-- Node22->Node23 -->
|
||||
<g id="edge25" class="edge">
|
||||
<title>Node22->Node23</title>
|
||||
<path fill="none" stroke="midnightblue" d="M346.41,-582C355.29,-582 364.54,-582 373.62,-582"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="373.78,-585.5 383.78,-582 373.78,-578.5 373.78,-585.5"/>
|
||||
</g>
|
||||
<!-- Node24->Node5 -->
|
||||
<g id="edge27" class="edge">
|
||||
<title>Node24->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M184.24,-463.35C188.34,-460.36 192.86,-457.05 197,-454 215.32,-440.5 235.63,-425.41 252.46,-412.89"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="254.99,-415.37 260.91,-406.59 250.8,-409.76 254.99,-415.37"/>
|
||||
</g>
|
||||
<!-- Node24->Node6 -->
|
||||
<g id="edge29" class="edge">
|
||||
<title>Node24->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.58,-482.62C191.08,-485.29 194.48,-488.44 197,-492 229.15,-537.46 188.33,-578.76 233,-612 273.29,-641.98 305.81,-642.11 346,-612 391.58,-577.85 355.03,-539.17 382,-489 392.43,-469.6 409.05,-450.74 421.75,-437.82"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="424.41,-440.11 429.06,-430.59 419.49,-435.14 424.41,-440.11"/>
|
||||
</g>
|
||||
<!-- Node24->Node7 -->
|
||||
<g id="edge28" class="edge">
|
||||
<title>Node24->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M188.13,-463.37C191.53,-460.73 194.74,-457.6 197,-454 244.1,-378.99 195.83,-338.39 233,-258 239.65,-243.62 250.06,-229.7 260.07,-218.24"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="262.76,-220.48 266.89,-210.72 257.58,-215.78 262.76,-220.48"/>
|
||||
</g>
|
||||
<!-- Node24->Node15 -->
|
||||
<g id="edge30" class="edge">
|
||||
<title>Node24->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.15,-463.47C190.76,-460.77 194.31,-457.57 197,-454 224.93,-416.95 210.01,-396.31 233,-356 240.97,-342.02 251.82,-328 261.8,-316.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="264.56,-318.52 268.53,-308.7 259.3,-313.9 264.56,-318.52"/>
|
||||
</g>
|
||||
<!-- Node24->Node20 -->
|
||||
<g id="edge31" class="edge">
|
||||
<title>Node24->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-474.97C200.8,-475.79 211.55,-476.8 222.64,-477.83"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="222.6,-481.35 232.88,-478.79 223.25,-474.38 222.6,-481.35"/>
|
||||
</g>
|
||||
<!-- Node24->Node21 -->
|
||||
<g id="edge32" class="edge">
|
||||
<title>Node24->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.74,-482.51C191.24,-485.18 194.59,-488.37 197,-492 235.6,-550.23 178.24,-601.63 233,-645 272.37,-676.18 304.57,-673.39 346,-645 382.56,-619.95 355.41,-587.46 382,-552 390.57,-540.57 402.86,-530.62 413.88,-523.09"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="415.87,-525.97 422.35,-517.58 412.06,-520.1 415.87,-525.97"/>
|
||||
</g>
|
||||
<!-- Node24->Node22 -->
|
||||
<g id="edge33" class="edge">
|
||||
<title>Node24->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M186.06,-482.59C189.85,-485.38 193.77,-488.59 197,-492 217.12,-513.18 212.17,-526.52 233,-547 236.02,-549.96 239.32,-552.81 242.78,-555.5"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="240.88,-558.44 251.02,-561.49 244.99,-552.78 240.88,-558.44"/>
|
||||
</g>
|
||||
<!-- Node25->Node5 -->
|
||||
<g id="edge35" class="edge">
|
||||
<title>Node25->Node5</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-426.24C202.63,-421.81 216.1,-416.19 229.58,-410.57"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="231,-413.77 238.88,-406.69 228.31,-407.31 231,-413.77"/>
|
||||
</g>
|
||||
<!-- Node25->Node6 -->
|
||||
<g id="edge37" class="edge">
|
||||
<title>Node25->Node6</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.07,-433.9C230.28,-431.91 312.54,-427.62 371.74,-424.53"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="371.96,-428.03 381.77,-424.01 371.6,-421.04 371.96,-428.03"/>
|
||||
</g>
|
||||
<!-- Node25->Node7 -->
|
||||
<g id="edge36" class="edge">
|
||||
<title>Node25->Node7</title>
|
||||
<path fill="none" stroke="midnightblue" d="M176.29,-425.26C181.93,-414.61 190.88,-396.93 197,-381 217.42,-327.83 206.46,-308.4 233,-258 240.44,-243.87 251.09,-229.91 261.08,-218.35"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="263.8,-220.56 267.84,-210.76 258.57,-215.9 263.8,-220.56"/>
|
||||
</g>
|
||||
<!-- Node25->Node15 -->
|
||||
<g id="edge38" class="edge">
|
||||
<title>Node25->Node15</title>
|
||||
<path fill="none" stroke="midnightblue" d="M178.58,-425.22C190.2,-410.25 213.17,-380.77 233,-356 243.37,-343.05 254.95,-328.81 264.85,-316.73"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="267.76,-318.7 271.39,-308.75 262.35,-314.26 267.76,-318.7"/>
|
||||
</g>
|
||||
<!-- Node25->Node20 -->
|
||||
<g id="edge39" class="edge">
|
||||
<title>Node25->Node20</title>
|
||||
<path fill="none" stroke="midnightblue" d="M192.01,-443.76C202.63,-448.19 216.1,-453.81 229.58,-459.43"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="228.31,-462.69 238.88,-463.31 231,-456.23 228.31,-462.69"/>
|
||||
</g>
|
||||
<!-- Node25->Node21 -->
|
||||
<g id="edge40" class="edge">
|
||||
<title>Node25->Node21</title>
|
||||
<path fill="none" stroke="midnightblue" d="M186.15,-444.51C189.95,-447.29 193.83,-450.53 197,-454 217.97,-476.96 205.94,-498.68 233,-514 285.26,-543.59 357.51,-531.9 401.24,-520.28"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="402.22,-523.64 410.91,-517.58 400.34,-516.89 402.22,-523.64"/>
|
||||
</g>
|
||||
<!-- Node25->Node22 -->
|
||||
<g id="edge41" class="edge">
|
||||
<title>Node25->Node22</title>
|
||||
<path fill="none" stroke="midnightblue" d="M187.11,-444.56C190.72,-447.27 194.28,-450.45 197,-454 223.98,-489.16 204.83,-512.78 233,-547 235.35,-549.85 237.99,-552.54 240.81,-555.06"/>
|
||||
<polygon fill="midnightblue" stroke="midnightblue" points="238.65,-557.82 248.64,-561.35 243.04,-552.36 238.65,-557.82"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 31 KiB |
119
df/d51/classothers_1_1lru__cache_1_1_l_r_u_cache-members.html
Normal file
@@ -0,0 +1,119 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: Member List</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">Algorithms_in_C++
|
||||
 <span id="projectnumber">1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.1 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search','.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html','../../'); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">others::lru_cache::LRUCache Member List</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">cache</a></td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53">display</a>()</td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933">getHits</a>() const</td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2">getPageFault</a>() const</td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">hits</a></td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4">LRUCache</a>(uint64_t pf)</td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">pageFault</a></td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">pageFrame</a></td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">pageMap</a></td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602">refer</a>(uint64_t page)</td><td class="entry"><a class="el" href="../../d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html">others::lru_cache::LRUCache</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -118,6 +118,9 @@ Files</h2></td></tr>
|
||||
<tr class="memitem:d8/d90/iterative__tree__traversals_8cpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="d8/d90/iterative__tree__traversals_8cpp.html">iterative_tree_traversals.cpp</a></td></tr>
|
||||
<tr class="memdesc:d8/d90/iterative__tree__traversals_8cpp"><td class="mdescLeft"> </td><td class="mdescRight">Iterative version of Preorder, Postorder, and preorder <a href="https://en.wikipedia.org/wiki/Tree_traversal">Traversal of the Tree</a> <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d3/db3/lru__cache_8cpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="d3/db3/lru__cache_8cpp.html">lru_cache.cpp</a></td></tr>
|
||||
<tr class="memdesc:d3/db3/lru__cache_8cpp"><td class="mdescLeft"> </td><td class="mdescRight">An implementation of <a href="https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)">LRU Cache</a>. Lru is a part of cache algorithms (also frequently called cache replacement algorithms or cache replacement policies). <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:d7/d35/matrix__exponentiation_8cpp"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="d7/d35/matrix__exponentiation_8cpp.html">matrix_exponentiation.cpp</a></td></tr>
|
||||
<tr class="memdesc:d7/d35/matrix__exponentiation_8cpp"><td class="mdescLeft"> </td><td class="mdescRight">Matrix Exponentiation. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
||||
@@ -7,6 +7,7 @@ var dir_9510827d0b234b3cc54b29892f217477 =
|
||||
[ "fast_integer_input.cpp", "d9/df0/fast__integer__input_8cpp.html", "d9/df0/fast__integer__input_8cpp" ],
|
||||
[ "happy_number.cpp", "db/df3/happy__number_8cpp.html", "db/df3/happy__number_8cpp" ],
|
||||
[ "iterative_tree_traversals.cpp", "d8/d90/iterative__tree__traversals_8cpp.html", "d8/d90/iterative__tree__traversals_8cpp" ],
|
||||
[ "lru_cache.cpp", "d3/db3/lru__cache_8cpp.html", "d3/db3/lru__cache_8cpp" ],
|
||||
[ "matrix_exponentiation.cpp", "d7/d35/matrix__exponentiation_8cpp.html", "d7/d35/matrix__exponentiation_8cpp" ],
|
||||
[ "palindrome_of_number.cpp", "da/d9a/palindrome__of__number_8cpp.html", "da/d9a/palindrome__of__number_8cpp" ],
|
||||
[ "paranthesis_matching.cpp", "dc/dc5/paranthesis__matching_8cpp.html", "dc/dc5/paranthesis__matching_8cpp" ],
|
||||
|
||||
25
files.html
@@ -268,18 +268,19 @@ solve-a-rat-in-a-maze-c-java-pytho/" </td></tr>
|
||||
<tr id="row_16_4_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d9/df0/fast__integer__input_8cpp.html" target="_self">fast_integer_input.cpp</a></td><td class="desc">Read integers from stdin continuously as they are entered without waiting for the <code>\n</code> character </td></tr>
|
||||
<tr id="row_16_5_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="db/df3/happy__number_8cpp.html" target="_self">happy_number.cpp</a></td><td class="desc">A happy number is a number whose sum of digits is calculated until the sum is a single digit, and this sum turns out to be 1 </td></tr>
|
||||
<tr id="row_16_6_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d8/d90/iterative__tree__traversals_8cpp.html" target="_self">iterative_tree_traversals.cpp</a></td><td class="desc">Iterative version of Preorder, Postorder, and preorder <a href="https://en.wikipedia.org/wiki/Tree_traversal">Traversal of the Tree</a> </td></tr>
|
||||
<tr id="row_16_7_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d7/d35/matrix__exponentiation_8cpp.html" target="_self">matrix_exponentiation.cpp</a></td><td class="desc">Matrix Exponentiation </td></tr>
|
||||
<tr id="row_16_8_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="da/d9a/palindrome__of__number_8cpp.html" target="_self">palindrome_of_number.cpp</a></td><td class="desc">Check if a number is <a href="https://en.wikipedia.org/wiki/Palindrome">palindrome</a> or not </td></tr>
|
||||
<tr id="row_16_9_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="dc/dc5/paranthesis__matching_8cpp.html" target="_self">paranthesis_matching.cpp</a></td><td class="desc">Perform paranthesis matching </td></tr>
|
||||
<tr id="row_16_10_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="dc/d1a/pascal__triangle_8cpp.html" target="_self">pascal_triangle.cpp</a></td><td class="desc">Pascal's triangle implementation </td></tr>
|
||||
<tr id="row_16_11_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d7/d75/postfix__evaluation_8cpp.html" target="_self">postfix_evaluation.cpp</a></td><td class="desc">Evaluation of <a href="https://en.wikipedia.org/wiki/Reverse_Polish_notation">Postfix Expression</a> </td></tr>
|
||||
<tr id="row_16_12_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="da/d7b/primality__test_8cpp.html" target="_self">primality_test.cpp</a></td><td class="desc"><a href="https://en.wikipedia.org/wiki/Primality_test">Primality test</a> implementation </td></tr>
|
||||
<tr id="row_16_13_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d0/d01/smallest__circle_8cpp.html" target="_self">smallest_circle.cpp</a></td><td class="desc">Get centre and radius of the <a href="https://en.wikipedia.org/wiki/Smallest-circle_problem">smallest circle</a> that circumscribes given set of points </td></tr>
|
||||
<tr id="row_16_14_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d3/d19/sparse__matrix_8cpp.html" target="_self">sparse_matrix.cpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_16_15_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="db/d07/spiral__print_8cpp.html" target="_self">spiral_print.cpp</a></td><td class="desc">Print the elements of a matrix traversing it spirally </td></tr>
|
||||
<tr id="row_16_16_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d5/def/stairs__pattern_8cpp.html" target="_self">stairs_pattern.cpp</a></td><td class="desc">This program is use to print the following pattern </td></tr>
|
||||
<tr id="row_16_17_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="db/d3c/tower__of__hanoi_8cpp.html" target="_self">tower_of_hanoi.cpp</a></td><td class="desc">Solve the <a href="https://en.wikipedia.org/wiki/Tower_of_Hanoi">Tower of Hanoi</a> problem </td></tr>
|
||||
<tr id="row_16_18_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d3/d61/vector__important__functions_8cpp.html" target="_self">vector_important_functions.cpp</a></td><td class="desc">A C++ program to demonstrate working of <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/sort.html">std::sort()</a>, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/reverse.html">std::reverse()</a> </td></tr>
|
||||
<tr id="row_16_7_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d3/db3/lru__cache_8cpp.html" target="_self">lru_cache.cpp</a></td><td class="desc">An implementation of <a href="https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)">LRU Cache</a>. Lru is a part of cache algorithms (also frequently called cache replacement algorithms or cache replacement policies) </td></tr>
|
||||
<tr id="row_16_8_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d7/d35/matrix__exponentiation_8cpp.html" target="_self">matrix_exponentiation.cpp</a></td><td class="desc">Matrix Exponentiation </td></tr>
|
||||
<tr id="row_16_9_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="da/d9a/palindrome__of__number_8cpp.html" target="_self">palindrome_of_number.cpp</a></td><td class="desc">Check if a number is <a href="https://en.wikipedia.org/wiki/Palindrome">palindrome</a> or not </td></tr>
|
||||
<tr id="row_16_10_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="dc/dc5/paranthesis__matching_8cpp.html" target="_self">paranthesis_matching.cpp</a></td><td class="desc">Perform paranthesis matching </td></tr>
|
||||
<tr id="row_16_11_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="dc/d1a/pascal__triangle_8cpp.html" target="_self">pascal_triangle.cpp</a></td><td class="desc">Pascal's triangle implementation </td></tr>
|
||||
<tr id="row_16_12_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d7/d75/postfix__evaluation_8cpp.html" target="_self">postfix_evaluation.cpp</a></td><td class="desc">Evaluation of <a href="https://en.wikipedia.org/wiki/Reverse_Polish_notation">Postfix Expression</a> </td></tr>
|
||||
<tr id="row_16_13_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="da/d7b/primality__test_8cpp.html" target="_self">primality_test.cpp</a></td><td class="desc"><a href="https://en.wikipedia.org/wiki/Primality_test">Primality test</a> implementation </td></tr>
|
||||
<tr id="row_16_14_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d0/d01/smallest__circle_8cpp.html" target="_self">smallest_circle.cpp</a></td><td class="desc">Get centre and radius of the <a href="https://en.wikipedia.org/wiki/Smallest-circle_problem">smallest circle</a> that circumscribes given set of points </td></tr>
|
||||
<tr id="row_16_15_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d3/d19/sparse__matrix_8cpp.html" target="_self">sparse_matrix.cpp</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_16_16_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="db/d07/spiral__print_8cpp.html" target="_self">spiral_print.cpp</a></td><td class="desc">Print the elements of a matrix traversing it spirally </td></tr>
|
||||
<tr id="row_16_17_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d5/def/stairs__pattern_8cpp.html" target="_self">stairs_pattern.cpp</a></td><td class="desc">This program is use to print the following pattern </td></tr>
|
||||
<tr id="row_16_18_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="db/d3c/tower__of__hanoi_8cpp.html" target="_self">tower_of_hanoi.cpp</a></td><td class="desc">Solve the <a href="https://en.wikipedia.org/wiki/Tower_of_Hanoi">Tower of Hanoi</a> problem </td></tr>
|
||||
<tr id="row_16_19_" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d3/d61/vector__important__functions_8cpp.html" target="_self">vector_important_functions.cpp</a></td><td class="desc">A C++ program to demonstrate working of <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/sort.html">std::sort()</a>, <a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/algorithm/reverse.html">std::reverse()</a> </td></tr>
|
||||
<tr id="row_17_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_17_" class="arrow" onclick="toggleFolder('17_')">►</span><span id="img_17_" class="iconfclosed" onclick="toggleFolder('17_')"> </span><a class="el" href="dir_82e494173a87936756866de2fa774307.html" target="_self">probability</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_17_0_" class="even" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d6/d4a/addition__rule_8cpp.html" target="_self">addition_rule.cpp</a></td><td class="desc">Addition rule of probabilities </td></tr>
|
||||
<tr id="row_17_1_" class="even" style="display:none;"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="d5/d67/bayes__theorem_8cpp.html" target="_self">bayes_theorem.cpp</a></td><td class="desc"><a href="https://en.wikipedia.org/wiki/Bayes%27_theorem">Bayes' theorem</a> </td></tr>
|
||||
|
||||
@@ -93,6 +93,9 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
|
||||
<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div>
|
||||
|
||||
<h3><a id="index_c"></a>- c -</h3><ul>
|
||||
<li>cache
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>capacity
|
||||
: <a class="el" href="d2/d05/class_min_heap.html#a88b4aa3e66392a3eabbf2517a9a79a02">MinHeap</a>
|
||||
</li>
|
||||
|
||||
@@ -166,6 +166,7 @@ $(document).ready(function(){initNavTree('functions_d.html',''); initResizable()
|
||||
: <a class="el" href="d1/def/classdata__structures_1_1linked__list_1_1list.html#abf7c97616b873ffeebdd0eac2d19d13e">data_structures::linked_list::list</a>
|
||||
, <a class="el" href="d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html#a688b7ea064739ea9fa66bf64bf4ae631">data_structures::queue_using_array::Queue_Array</a>
|
||||
, <a class="el" href="dd/d1c/classhash__chain.html#a706964ad13587fc9a8b3fe8381d410ed">hash_chain</a>
|
||||
, <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53">others::lru_cache::LRUCache</a>
|
||||
, <a class="el" href="db/da9/classqueue.html#a26f48801df462ade003b50739196fa4c">queue< Kind ></a>
|
||||
, <a class="el" href="d1/dc2/classstack.html#a67f65710c376f67d1ba3bde45a9cb628">stack< Type ></a>
|
||||
</li>
|
||||
|
||||
@@ -157,6 +157,7 @@ $(document).ready(function(){initNavTree('functions_func_d.html',''); initResiza
|
||||
: <a class="el" href="d1/def/classdata__structures_1_1linked__list_1_1list.html#abf7c97616b873ffeebdd0eac2d19d13e">data_structures::linked_list::list</a>
|
||||
, <a class="el" href="d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html#a688b7ea064739ea9fa66bf64bf4ae631">data_structures::queue_using_array::Queue_Array</a>
|
||||
, <a class="el" href="dd/d1c/classhash__chain.html#a706964ad13587fc9a8b3fe8381d410ed">hash_chain</a>
|
||||
, <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aad506b1c1a3cd5b93cc7e497626bfb53">others::lru_cache::LRUCache</a>
|
||||
, <a class="el" href="db/da9/classqueue.html#a26f48801df462ade003b50739196fa4c">queue< Kind ></a>
|
||||
, <a class="el" href="d1/dc2/classstack.html#a67f65710c376f67d1ba3bde45a9cb628">stack< Type ></a>
|
||||
</li>
|
||||
|
||||
@@ -159,6 +159,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
|
||||
<li>GetCount()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#aac82e17daa088ede9ee00dc69c1e6f06">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
<li>getHits()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>GetItem()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#a4808acb43668ff8cfd6f7cb44ceedad3">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
@@ -186,6 +189,9 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
|
||||
<li>GetNextPossibleChild()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#a0f60199d0d175c248c67bfad9b9bdafe">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
<li>getPageFault()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>GetRightmostChild()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#abe9725b6422fd974642f9c9618b0f3be">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
|
||||
@@ -136,6 +136,9 @@ $(document).ready(function(){initNavTree('functions_func_l.html',''); initResiza
|
||||
<li>LowestCommonAncestor()
|
||||
: <a class="el" href="d9/d23/classgraph_1_1_lowest_common_ancestor.html#a80825a4fd4c41860b689d253dd2c8e93">graph::LowestCommonAncestor</a>
|
||||
</li>
|
||||
<li>LRUCache()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
||||
@@ -102,6 +102,9 @@ $(document).ready(function(){initNavTree('functions_func_r.html',''); initResiza
|
||||
<li>real()
|
||||
: <a class="el" href="da/d5a/class_complex.html#a312e4b19146128408fb06e0150b0faf6">Complex</a>
|
||||
</li>
|
||||
<li>refer()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>remove()
|
||||
: <a class="el" href="d9/dde/classbinary__search__tree.html#af4a865ce5244608819b169fc78a41153">binary_search_tree< T ></a>
|
||||
, <a class="el" href="d5/dab/structdata__structures_1_1list__array_1_1list.html#a0499455a80156134cc79c98eabb376d9">data_structures::list_array::list</a>
|
||||
|
||||
@@ -159,6 +159,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
|
||||
<li>GetCount()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#aac82e17daa088ede9ee00dc69c1e6f06">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
<li>getHits()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa24a141455b9fbcbec22392c28d04933">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>GetItem()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#a4808acb43668ff8cfd6f7cb44ceedad3">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
@@ -186,6 +189,9 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
|
||||
<li>GetNextPossibleChild()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#a0f60199d0d175c248c67bfad9b9bdafe">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
<li>getPageFault()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a78be932dac71c90f485a67d4fda877e2">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>GetRightmostChild()
|
||||
: <a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html#abe9725b6422fd974642f9c9618b0f3be">data_structures::tree_234::Node</a>
|
||||
</li>
|
||||
|
||||
@@ -126,6 +126,9 @@ $(document).ready(function(){initNavTree('functions_h.html',''); initResizable()
|
||||
<li>heuristic_value
|
||||
: <a class="el" href="da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html#a331d1070d008a4f9d55775a51013baa3">machine_learning::aystar_search::AyStarSearch< Puzzle >::Info</a>
|
||||
</li>
|
||||
<li>hits
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>HKGraph()
|
||||
: <a class="el" href="d8/d69/classgraph_1_1_h_k_graph.html#af02b0c83911070ac6d95fc9905e58aa9">graph::HKGraph</a>
|
||||
</li>
|
||||
|
||||
@@ -152,6 +152,9 @@ $(document).ready(function(){initNavTree('functions_l.html',''); initResizable()
|
||||
<li>LowestCommonAncestor()
|
||||
: <a class="el" href="d9/d23/classgraph_1_1_lowest_common_ancestor.html#a80825a4fd4c41860b689d253dd2c8e93">graph::LowestCommonAncestor</a>
|
||||
</li>
|
||||
<li>LRUCache()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a41c9b6f1693b8a316cc4a2d8c9149ba4">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
|
||||
@@ -96,6 +96,15 @@ $(document).ready(function(){initNavTree('functions_p.html',''); initResizable()
|
||||
<li>p
|
||||
: <a class="el" href="d6/dc1/classmath_1_1ncr__modulo__p_1_1_n_c_r_modulo_p.html#a57c168cd6eb85718eab97da658a698ad">math::ncr_modulo_p::NCRModuloP</a>
|
||||
</li>
|
||||
<li>pageFault
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>pageFrame
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>pageMap
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>pair_u
|
||||
: <a class="el" href="d8/d69/classgraph_1_1_h_k_graph.html#a86ebff8a70cbfedd05281993d5d1987b">graph::HKGraph</a>
|
||||
</li>
|
||||
|
||||
@@ -105,6 +105,9 @@ $(document).ready(function(){initNavTree('functions_r.html',''); initResizable()
|
||||
<li>rear
|
||||
: <a class="el" href="d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html#a9883dfcceede9a42227d2d313ae86f85">data_structures::queue_using_array::Queue_Array</a>
|
||||
</li>
|
||||
<li>refer()
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a7dbf04bf7e1472c48639694f0b110602">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>remove()
|
||||
: <a class="el" href="d9/dde/classbinary__search__tree.html#af4a865ce5244608819b169fc78a41153">binary_search_tree< T ></a>
|
||||
, <a class="el" href="d5/dab/structdata__structures_1_1list__array_1_1list.html#a0499455a80156134cc79c98eabb376d9">data_structures::list_array::list</a>
|
||||
|
||||
@@ -124,6 +124,9 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
|
||||
|
||||
|
||||
<h3><a id="index_c"></a>- c -</h3><ul>
|
||||
<li>cache
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a3ee3560a6b90e6f50f6e063d690ba8e8">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>capacity
|
||||
: <a class="el" href="d2/d05/class_min_heap.html#a88b4aa3e66392a3eabbf2517a9a79a02">MinHeap</a>
|
||||
</li>
|
||||
@@ -198,6 +201,9 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
|
||||
<li>heuristic_value
|
||||
: <a class="el" href="da/d70/structmachine__learning_1_1aystar__search_1_1_ay_star_search_1_1_info.html#a331d1070d008a4f9d55775a51013baa3">machine_learning::aystar_search::AyStarSearch< Puzzle >::Info</a>
|
||||
</li>
|
||||
<li>hits
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a5f33913e7ddfbb38062362e7bd859154">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -279,6 +285,15 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
|
||||
<li>p
|
||||
: <a class="el" href="d6/dc1/classmath_1_1ncr__modulo__p_1_1_n_c_r_modulo_p.html#a57c168cd6eb85718eab97da658a698ad">math::ncr_modulo_p::NCRModuloP</a>
|
||||
</li>
|
||||
<li>pageFault
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a09cbe562b0c396329607f5d388d57c9c">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>pageFrame
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#a1aafd0444b410e0fcb66287e9954c893">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>pageMap
|
||||
: <a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html#aa4d6db56109af196ffc7e5f72bc9907c">others::lru_cache::LRUCache</a>
|
||||
</li>
|
||||
<li>pair_u
|
||||
: <a class="el" href="d8/d69/classgraph_1_1_h_k_graph.html#a86ebff8a70cbfedd05281993d5d1987b">graph::HKGraph</a>
|
||||
</li>
|
||||
|
||||
@@ -123,12 +123,12 @@ $(document).ready(function(){initNavTree('globals_func_i.html',''); initResizabl
|
||||
<li>is_square()
|
||||
: <a class="el" href="dc/d38/ordinary__least__squares__regressor_8cpp.html#a4921874435266592b222e3f2eda0e01f">ordinary_least_squares_regressor.cpp</a>
|
||||
</li>
|
||||
<li>isPrime()
|
||||
: <a class="el" href="d8/d53/modular__inverse__fermat__little__theorem_8cpp.html#a09660096b134753128952246f4f4e4bd">modular_inverse_fermat_little_theorem.cpp</a>
|
||||
</li>
|
||||
<li>IsPrime()
|
||||
: <a class="el" href="da/d7b/primality__test_8cpp.html#a2bfa6adead2bdcbf1dac94cbe08d7eaf">primality_test.cpp</a>
|
||||
</li>
|
||||
<li>isPrime()
|
||||
: <a class="el" href="d8/d53/modular__inverse__fermat__little__theorem_8cpp.html#a09660096b134753128952246f4f4e4bd">modular_inverse_fermat_little_theorem.cpp</a>
|
||||
</li>
|
||||
<li>it_ternary_search()
|
||||
: <a class="el" href="dc/dfe/ternary__search_8cpp.html#ae30dfe2894191bfeffe5b3b1854b95b0">ternary_search.cpp</a>
|
||||
</li>
|
||||
|
||||
@@ -232,6 +232,7 @@ $(document).ready(function(){initNavTree('globals_func_m.html',''); initResizabl
|
||||
, <a class="el" href="d9/df0/fast__integer__input_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">fast_integer_input.cpp</a>
|
||||
, <a class="el" href="db/df3/happy__number_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">happy_number.cpp</a>
|
||||
, <a class="el" href="d8/d90/iterative__tree__traversals_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">iterative_tree_traversals.cpp</a>
|
||||
, <a class="el" href="d3/db3/lru__cache_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">lru_cache.cpp</a>
|
||||
, <a class="el" href="d7/d35/matrix__exponentiation_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">matrix_exponentiation.cpp</a>
|
||||
, <a class="el" href="da/d9a/palindrome__of__number_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">palindrome_of_number.cpp</a>
|
||||
, <a class="el" href="dc/d1a/pascal__triangle_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">pascal_triangle.cpp</a>
|
||||
|
||||
@@ -127,15 +127,15 @@ $(document).ready(function(){initNavTree('globals_i.html',''); initResizable();
|
||||
<li>is_square()
|
||||
: <a class="el" href="dc/d38/ordinary__least__squares__regressor_8cpp.html#a4921874435266592b222e3f2eda0e01f">ordinary_least_squares_regressor.cpp</a>
|
||||
</li>
|
||||
<li>isPrime()
|
||||
: <a class="el" href="d8/d53/modular__inverse__fermat__little__theorem_8cpp.html#a09660096b134753128952246f4f4e4bd">modular_inverse_fermat_little_theorem.cpp</a>
|
||||
</li>
|
||||
<li>isprime
|
||||
: <a class="el" href="db/d0d/prime__factorization_8cpp.html#a7fe38b570a51e448430d6a0f072c2f23">prime_factorization.cpp</a>
|
||||
</li>
|
||||
<li>IsPrime()
|
||||
: <a class="el" href="da/d7b/primality__test_8cpp.html#a2bfa6adead2bdcbf1dac94cbe08d7eaf">primality_test.cpp</a>
|
||||
</li>
|
||||
<li>isPrime()
|
||||
: <a class="el" href="d8/d53/modular__inverse__fermat__little__theorem_8cpp.html#a09660096b134753128952246f4f4e4bd">modular_inverse_fermat_little_theorem.cpp</a>
|
||||
</li>
|
||||
<li>it_ternary_search()
|
||||
: <a class="el" href="dc/dfe/ternary__search_8cpp.html#ae30dfe2894191bfeffe5b3b1854b95b0">ternary_search.cpp</a>
|
||||
</li>
|
||||
|
||||
@@ -232,6 +232,7 @@ $(document).ready(function(){initNavTree('globals_m.html',''); initResizable();
|
||||
, <a class="el" href="d9/df0/fast__integer__input_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">fast_integer_input.cpp</a>
|
||||
, <a class="el" href="db/df3/happy__number_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">happy_number.cpp</a>
|
||||
, <a class="el" href="d8/d90/iterative__tree__traversals_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">iterative_tree_traversals.cpp</a>
|
||||
, <a class="el" href="d3/db3/lru__cache_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">lru_cache.cpp</a>
|
||||
, <a class="el" href="d7/d35/matrix__exponentiation_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">matrix_exponentiation.cpp</a>
|
||||
, <a class="el" href="da/d9a/palindrome__of__number_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">palindrome_of_number.cpp</a>
|
||||
, <a class="el" href="dc/d1a/pascal__triangle_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">pascal_triangle.cpp</a>
|
||||
|
||||
@@ -130,12 +130,12 @@ $(document).ready(function(){initNavTree('globals_p.html',''); initResizable();
|
||||
<li>predict_OLS_regressor()
|
||||
: <a class="el" href="dc/d38/ordinary__least__squares__regressor_8cpp.html#a4bcaaf41c66da4d3a471dacef133def7">ordinary_least_squares_regressor.cpp</a>
|
||||
</li>
|
||||
<li>prime
|
||||
: <a class="el" href="d4/d9c/primes__up__to__billion_8cpp.html#ac0f4b77b901ddb15dab4c4dee1ac6e95">primes_up_to_billion.cpp</a>
|
||||
</li>
|
||||
<li>PRIME
|
||||
: <a class="el" href="d6/dce/rabin__karp_8cpp.html#ac4add2a227a10511e0128d63952030e8">rabin_karp.cpp</a>
|
||||
</li>
|
||||
<li>prime
|
||||
: <a class="el" href="d4/d9c/primes__up__to__billion_8cpp.html#ac0f4b77b901ddb15dab4c4dee1ac6e95">primes_up_to_billion.cpp</a>
|
||||
</li>
|
||||
<li>prime_factorization()
|
||||
: <a class="el" href="db/d0d/prime__factorization_8cpp.html#a0ece0145fb29a5cf48378c23dde2da46">prime_factorization.cpp</a>
|
||||
</li>
|
||||
|
||||
107
hierarchy.html
@@ -134,60 +134,61 @@ This inheritance list is sorted roughly, but not completely, alphabetically:</di
|
||||
<tr id="row_32_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/dab/structdata__structures_1_1list__array_1_1list.html" target="_self">data_structures::list_array::list</a></td><td class="desc">Structure of List with supporting methods </td></tr>
|
||||
<tr id="row_33_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d10/structlist.html" target="_self">list</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_34_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d23/classgraph_1_1_lowest_common_ancestor.html" target="_self">graph::LowestCommonAncestor</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_35_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d05/class_min_heap.html" target="_self">MinHeap</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_36_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d29/struct_min_heap_node.html" target="_self">MinHeapNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_37_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d77/structmst.html" target="_self">mst</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_38_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/dc1/classmath_1_1ncr__modulo__p_1_1_n_c_r_modulo_p.html" target="_self">math::ncr_modulo_p::NCRModuloP</a></td><td class="desc">Class which contains all methods required for calculating nCr mod p </td></tr>
|
||||
<tr id="row_39_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html" target="_self">machine_learning::neural_network::NeuralNetwork</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_40_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d49/structdata__structures_1_1_node.html" target="_self">data_structures::Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_41_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html" target="_self">data_structures::tree_234::Node</a></td><td class="desc">2-3-4 tree node class </td></tr>
|
||||
<tr id="row_42_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d12/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node.html" target="_self">data_structures::trie_using_hashmap::Trie::Node</a></td><td class="desc">Struct representing a trie node </td></tr>
|
||||
<tr id="row_43_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d8b/struct_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_35_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html" target="_self">others::lru_cache::LRUCache</a></td><td class="desc">LRU cache class </td></tr>
|
||||
<tr id="row_36_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d05/class_min_heap.html" target="_self">MinHeap</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_37_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d29/struct_min_heap_node.html" target="_self">MinHeapNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_38_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d77/structmst.html" target="_self">mst</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_39_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/dc1/classmath_1_1ncr__modulo__p_1_1_n_c_r_modulo_p.html" target="_self">math::ncr_modulo_p::NCRModuloP</a></td><td class="desc">Class which contains all methods required for calculating nCr mod p </td></tr>
|
||||
<tr id="row_40_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/df4/classmachine__learning_1_1neural__network_1_1_neural_network.html" target="_self">machine_learning::neural_network::NeuralNetwork</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_41_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d49/structdata__structures_1_1_node.html" target="_self">data_structures::Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_42_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d40/classdata__structures_1_1tree__234_1_1_node.html" target="_self">data_structures::tree_234::Node</a></td><td class="desc">2-3-4 tree node class </td></tr>
|
||||
<tr id="row_43_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d12/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node.html" target="_self">data_structures::trie_using_hashmap::Trie::Node</a></td><td class="desc">Struct representing a trie node </td></tr>
|
||||
<tr id="row_44_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/da1/structnode.html" target="_self">node< Kind ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_45_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/db5/classoperations__on__datastructures_1_1inorder__traversal__of__bst_1_1_node.html" target="_self">operations_on_datastructures::inorder_traversal_of_bst::Node</a></td><td class="desc">A <a class="el" href="d5/db5/classoperations__on__datastructures_1_1inorder__traversal__of__bst_1_1_node.html" title="A Node structure representing a single node in BST.">Node</a> structure representing a single node in BST </td></tr>
|
||||
<tr id="row_46_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html" target="_self">others::iterative_tree_traversals::Node</a></td><td class="desc">Defines the structure of a node of the tree </td></tr>
|
||||
<tr id="row_47_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html" target="_self">range_queries::perSegTree::Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_48_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" target="_self">search::sublist_search::Node</a></td><td class="desc">A <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> structure representing a single link <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> in a linked list </td></tr>
|
||||
<tr id="row_49_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/da1/structnode.html" target="_self">node< Type ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_50_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d28/classrange__queries_1_1per_seg_tree.html" target="_self">range_queries::perSegTree</a></td><td class="desc">Range query here is range sum, but the code can be modified to make different queries like range max or min </td></tr>
|
||||
<tr id="row_51_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html" target="_self">ciphers::elliptic_curve_key_exchange::Point</a></td><td class="desc">Definition of struct <a class="el" href="d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html" title="Definition of struct Point.">Point</a> </td></tr>
|
||||
<tr id="row_52_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d5a/structgeometry_1_1jarvis_1_1_point.html" target="_self">geometry::jarvis::Point</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_53_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dc8/struct_point.html" target="_self">Point</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_54_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d1b/structquery.html" target="_self">query</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_55_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/da9/classqueue.html" target="_self">queue< Kind ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_56_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/db5/struct_queue.html" target="_self">Queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_57_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html" target="_self">data_structures::queue_using_array::Queue_Array</a></td><td class="desc"><a class="el" href="d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html" title="Queue_Array class containing the main data and also index of head and tail of the array.">Queue_Array</a> class containing the main data and also index of head and tail of the array </td></tr>
|
||||
<tr id="row_58_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d72/class_r_btree.html" target="_self">RBtree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_59_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/db4/struct_segment_intersection.html" target="_self">SegmentIntersection</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_60_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_60_" class="arrow" onclick="toggleFolder('60_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html" target="_self">range_queries::heavy_light_decomposition::SG< X ></a></td><td class="desc">Segment <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, to store heavy chains </td></tr>
|
||||
<tr id="row_60_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html" target="_self">range_queries::heavy_light_decomposition::HLD< X ></a></td><td class="desc">The Heavy-Light Decomposition class </td></tr>
|
||||
<tr id="row_61_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html" target="_self">data_structures::SkipList</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_62_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d4f/class_solution.html" target="_self">Solution</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_63_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d37/structdata__structures_1_1sparse__table_1_1_sparse__table.html" target="_self">data_structures::sparse_table::Sparse_table</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_64_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" target="_self">others::postfix_expression::Stack</a></td><td class="desc">Creates an array to be used as stack for storing values </td></tr>
|
||||
<tr id="row_65_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/dc2/classstack.html" target="_self">stack< Type ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_66_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dc4/classstack__linked_list.html" target="_self">stack_linkedList</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_67_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d7c/classstatistics_1_1stats__computer1.html" target="_self">statistics::stats_computer1< T ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_68_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dab/classstatistics_1_1stats__computer2.html" target="_self">statistics::stats_computer2< T ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_69_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d58/class_test_cases.html" target="_self">TestCases</a></td><td class="desc">Class encapsulating the necessary test cases </td></tr>
|
||||
<tr id="row_70_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d5f/classoperations__on__datastructures_1_1trie__operations_1_1_tnode.html" target="_self">operations_on_datastructures::trie_operations::Tnode</a></td><td class="desc">Class defining the structure of trie node and containing the methods to perform operations on them </td></tr>
|
||||
<tr id="row_71_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d2c/structtower.html" target="_self">tower</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_72_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_72_" class="arrow" onclick="toggleFolder('72_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" target="_self">range_queries::heavy_light_decomposition::Tree< X ></a></td><td class="desc">A Basic <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, which supports binary lifting </td></tr>
|
||||
<tr id="row_72_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html" target="_self">range_queries::heavy_light_decomposition::HLD< X ></a></td><td class="desc">The Heavy-Light Decomposition class </td></tr>
|
||||
<tr id="row_73_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/d95/classdata__structures_1_1tree__234_1_1_tree234.html" target="_self">data_structures::tree_234::Tree234</a></td><td class="desc">2-3-4 tree class </td></tr>
|
||||
<tr id="row_74_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d3e/classdata__structures_1_1trie.html" target="_self">data_structures::trie</a></td><td class="desc"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> </td></tr>
|
||||
<tr id="row_75_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html" target="_self">data_structures::trie_using_hashmap::Trie</a></td><td class="desc"><a class="el" href="d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html" title="Trie class, implementation of trie using hashmap in each trie node for all the characters of char16_t...">Trie</a> class, implementation of trie using hashmap in each trie node for all the characters of char16_t(UTF-16)type with methods to insert, delete, search, start with and to recommend words based on a given prefix </td></tr>
|
||||
<tr id="row_76_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d2f/class_trie.html" target="_self">Trie</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_77_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/d48/struct_trie_1_1_trie_node.html" target="_self">Trie::TrieNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_78_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_78_" class="arrow" onclick="toggleFolder('78_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/types/integral_constant.html">std::true_type</a> [external]</td><td class="desc"></td></tr>
|
||||
<tr id="row_78_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dfc/structstd_1_1is__arithmetic_3_01uint128__t_01_4.html" target="_self">std::is_arithmetic< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_78_1_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/d6d/structstd_1_1is__arithmetic_3_01uint256__t_01_4.html" target="_self">std::is_arithmetic< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_78_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html" target="_self">std::is_integral< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_78_3_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d47/structstd_1_1is__integral_3_01uint256__t_01_4.html" target="_self">std::is_integral< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_78_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d25/structstd_1_1is__unsigned_3_01uint128__t_01_4.html" target="_self">std::is_unsigned< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_78_5_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/d99/structstd_1_1is__unsigned_3_01uint256__t_01_4.html" target="_self">std::is_unsigned< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_79_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d9a/classuint128__t.html" target="_self">uint128_t</a></td><td class="desc">Class for 128-bit unsigned integer </td></tr>
|
||||
<tr id="row_80_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d83/classuint256__t.html" target="_self">uint256_t</a></td><td class="desc">Class for 256-bit unsigned integer </td></tr>
|
||||
<tr id="row_45_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d8b/struct_node.html" target="_self">Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_46_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/db5/classoperations__on__datastructures_1_1inorder__traversal__of__bst_1_1_node.html" target="_self">operations_on_datastructures::inorder_traversal_of_bst::Node</a></td><td class="desc">A <a class="el" href="d5/db5/classoperations__on__datastructures_1_1inorder__traversal__of__bst_1_1_node.html" title="A Node structure representing a single node in BST.">Node</a> structure representing a single node in BST </td></tr>
|
||||
<tr id="row_47_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html" target="_self">others::iterative_tree_traversals::Node</a></td><td class="desc">Defines the structure of a node of the tree </td></tr>
|
||||
<tr id="row_48_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html" target="_self">range_queries::perSegTree::Node</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_49_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" target="_self">search::sublist_search::Node</a></td><td class="desc">A <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> structure representing a single link <a class="el" href="da/d61/structsearch_1_1sublist__search_1_1_node.html" title="A Node structure representing a single link Node in a linked list.">Node</a> in a linked list </td></tr>
|
||||
<tr id="row_50_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/da1/structnode.html" target="_self">node< Type ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_51_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d28/classrange__queries_1_1per_seg_tree.html" target="_self">range_queries::perSegTree</a></td><td class="desc">Range query here is range sum, but the code can be modified to make different queries like range max or min </td></tr>
|
||||
<tr id="row_52_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html" target="_self">ciphers::elliptic_curve_key_exchange::Point</a></td><td class="desc">Definition of struct <a class="el" href="d6/d45/structciphers_1_1elliptic__curve__key__exchange_1_1_point.html" title="Definition of struct Point.">Point</a> </td></tr>
|
||||
<tr id="row_53_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d5a/structgeometry_1_1jarvis_1_1_point.html" target="_self">geometry::jarvis::Point</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_54_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dc8/struct_point.html" target="_self">Point</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_55_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d1b/structquery.html" target="_self">query</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_56_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/da9/classqueue.html" target="_self">queue< Kind ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_57_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/db5/struct_queue.html" target="_self">Queue</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_58_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html" target="_self">data_structures::queue_using_array::Queue_Array</a></td><td class="desc"><a class="el" href="d6/d04/classdata__structures_1_1queue__using__array_1_1_queue___array.html" title="Queue_Array class containing the main data and also index of head and tail of the array.">Queue_Array</a> class containing the main data and also index of head and tail of the array </td></tr>
|
||||
<tr id="row_59_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/d72/class_r_btree.html" target="_self">RBtree</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_60_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/db4/struct_segment_intersection.html" target="_self">SegmentIntersection</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_61_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_61_" class="arrow" onclick="toggleFolder('61_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d9/d35/classrange__queries_1_1heavy__light__decomposition_1_1_s_g.html" target="_self">range_queries::heavy_light_decomposition::SG< X ></a></td><td class="desc">Segment <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, to store heavy chains </td></tr>
|
||||
<tr id="row_61_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html" target="_self">range_queries::heavy_light_decomposition::HLD< X ></a></td><td class="desc">The Heavy-Light Decomposition class </td></tr>
|
||||
<tr id="row_62_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d4/d90/classdata__structures_1_1_skip_list.html" target="_self">data_structures::SkipList</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_63_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d4f/class_solution.html" target="_self">Solution</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_64_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="da/d37/structdata__structures_1_1sparse__table_1_1_sparse__table.html" target="_self">data_structures::sparse_table::Sparse_table</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_65_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" target="_self">others::postfix_expression::Stack</a></td><td class="desc">Creates an array to be used as stack for storing values </td></tr>
|
||||
<tr id="row_66_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/dc2/classstack.html" target="_self">stack< Type ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_67_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dc4/classstack__linked_list.html" target="_self">stack_linkedList</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_68_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d7c/classstatistics_1_1stats__computer1.html" target="_self">statistics::stats_computer1< T ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_69_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d8/dab/classstatistics_1_1stats__computer2.html" target="_self">statistics::stats_computer2< T ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_70_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d58/class_test_cases.html" target="_self">TestCases</a></td><td class="desc">Class encapsulating the necessary test cases </td></tr>
|
||||
<tr id="row_71_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d5f/classoperations__on__datastructures_1_1trie__operations_1_1_tnode.html" target="_self">operations_on_datastructures::trie_operations::Tnode</a></td><td class="desc">Class defining the structure of trie node and containing the methods to perform operations on them </td></tr>
|
||||
<tr id="row_72_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d2c/structtower.html" target="_self">tower</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_73_"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_73_" class="arrow" onclick="toggleFolder('73_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" target="_self">range_queries::heavy_light_decomposition::Tree< X ></a></td><td class="desc">A Basic <a class="el" href="d1/d51/classrange__queries_1_1heavy__light__decomposition_1_1_tree.html" title="A Basic Tree, which supports binary lifting.">Tree</a>, which supports binary lifting </td></tr>
|
||||
<tr id="row_73_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/d8a/classrange__queries_1_1heavy__light__decomposition_1_1_h_l_d.html" target="_self">range_queries::heavy_light_decomposition::HLD< X ></a></td><td class="desc">The Heavy-Light Decomposition class </td></tr>
|
||||
<tr id="row_74_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/d95/classdata__structures_1_1tree__234_1_1_tree234.html" target="_self">data_structures::tree_234::Tree234</a></td><td class="desc">2-3-4 tree class </td></tr>
|
||||
<tr id="row_75_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d0/d3e/classdata__structures_1_1trie.html" target="_self">data_structures::trie</a></td><td class="desc"><a href="https://en.wikipedia.org/wiki/Trie">Trie</a> implementation for small-case English alphabets <code>a-z</code> </td></tr>
|
||||
<tr id="row_76_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html" target="_self">data_structures::trie_using_hashmap::Trie</a></td><td class="desc"><a class="el" href="d3/d26/classdata__structures_1_1trie__using__hashmap_1_1_trie.html" title="Trie class, implementation of trie using hashmap in each trie node for all the characters of char16_t...">Trie</a> class, implementation of trie using hashmap in each trie node for all the characters of char16_t(UTF-16)type with methods to insert, delete, search, start with and to recommend words based on a given prefix </td></tr>
|
||||
<tr id="row_77_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dd/d2f/class_trie.html" target="_self">Trie</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_78_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="de/d48/struct_trie_1_1_trie_node.html" target="_self">Trie::TrieNode</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_79_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_79_" class="arrow" onclick="toggleFolder('79_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="elRef" target="_blank" href="http://en.cppreference.com/w/cpp/types/integral_constant.html">std::true_type</a> [external]</td><td class="desc"></td></tr>
|
||||
<tr id="row_79_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dfc/structstd_1_1is__arithmetic_3_01uint128__t_01_4.html" target="_self">std::is_arithmetic< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_79_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="dc/d6d/structstd_1_1is__arithmetic_3_01uint256__t_01_4.html" target="_self">std::is_arithmetic< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_79_2_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d2/dd4/structstd_1_1is__integral_3_01uint128__t_01_4.html" target="_self">std::is_integral< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_79_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d7/d47/structstd_1_1is__integral_3_01uint256__t_01_4.html" target="_self">std::is_integral< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_79_4_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d5/d25/structstd_1_1is__unsigned_3_01uint128__t_01_4.html" target="_self">std::is_unsigned< uint128_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_79_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="df/d99/structstd_1_1is__unsigned_3_01uint256__t_01_4.html" target="_self">std::is_unsigned< uint256_t ></a></td><td class="desc"></td></tr>
|
||||
<tr id="row_80_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="db/d9a/classuint128__t.html" target="_self">uint128_t</a></td><td class="desc">Class for 128-bit unsigned integer </td></tr>
|
||||
<tr id="row_81_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="d1/d83/classuint256__t.html" target="_self">uint256_t</a></td><td class="desc">Class for 256-bit unsigned integer </td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -37,6 +37,7 @@ var hierarchy =
|
||||
[ "data_structures::list_array::list", "d5/dab/structdata__structures_1_1list__array_1_1list.html", null ],
|
||||
[ "list", "d8/d10/structlist.html", null ],
|
||||
[ "graph::LowestCommonAncestor", "d9/d23/classgraph_1_1_lowest_common_ancestor.html", null ],
|
||||
[ "others::lru_cache::LRUCache", "d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html", null ],
|
||||
[ "MinHeap", "d2/d05/class_min_heap.html", null ],
|
||||
[ "MinHeapNode", "d5/d29/struct_min_heap_node.html", null ],
|
||||
[ "mst", "d1/d77/structmst.html", null ],
|
||||
@@ -45,8 +46,8 @@ var hierarchy =
|
||||
[ "data_structures::Node", "d9/d49/structdata__structures_1_1_node.html", null ],
|
||||
[ "data_structures::tree_234::Node", "dd/d40/classdata__structures_1_1tree__234_1_1_node.html", null ],
|
||||
[ "data_structures::trie_using_hashmap::Trie::Node", "d5/d12/structdata__structures_1_1trie__using__hashmap_1_1_trie_1_1_node.html", null ],
|
||||
[ "Node", "db/d8b/struct_node.html", null ],
|
||||
[ "node< Kind >", "d5/da1/structnode.html", null ],
|
||||
[ "Node", "db/d8b/struct_node.html", null ],
|
||||
[ "operations_on_datastructures::inorder_traversal_of_bst::Node", "d5/db5/classoperations__on__datastructures_1_1inorder__traversal__of__bst_1_1_node.html", null ],
|
||||
[ "others::iterative_tree_traversals::Node", "d2/d9a/structothers_1_1iterative__tree__traversals_1_1_node.html", null ],
|
||||
[ "range_queries::perSegTree::Node", "d5/d66/classrange__queries_1_1per_seg_tree_1_1_node.html", null ],
|
||||
|
||||
@@ -96,10 +96,10 @@ $(document).ready(function(){initNavTree('index.html',''); initResizable(); });
|
||||
<div class="contents">
|
||||
<div class="textblock"><p><a class="anchor" id="mainpage"></a></p>
|
||||
<p><a href="https://gitpod.io/#https://github.com/TheAlgorithms/C-Plus-Plus"><img src="https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod" alt="Gitpod Ready-to-Code" class="inline"/></a> <a href="https://lgtm.com/projects/g/TheAlgorithms/C-Plus-Plus/context:cpp"><img src="https://img.shields.io/lgtm/grade/cpp/g/TheAlgorithms/C-Plus-Plus.svg?logo=lgtm&logoWidth=18" alt="Language grade: C/C++" style="pointer-events: none;" class="inline"/></a> <a href="https://github.com/TheAlgorithms/C-Plus-Plus/actions/workflows/codeql_analysis.yml"><img src="https://github.com/TheAlgorithms/C-Plus-Plus/actions/workflows/codeql_analysis.yml/badge.svg" alt="CodeQL CI" style="pointer-events: none;" class="inline"/></a> <a href="https://gitter.im/TheAlgorithms"><img src="https://img.shields.io/badge/Chat-Gitter-ff69b4.svg?label=Chat&logo=gitter&style=flat-square" alt="Gitter chat" style="pointer-events: none;" class="inline"/></a> <a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/static/v1.svg?label=Contributions&message=Welcome&color=0059b3&style=flat-square" alt="contributions welcome" style="pointer-events: none;" class="inline"/></a> <img src="https://img.shields.io/github/repo-size/TheAlgorithms/C-Plus-Plus?color=red&style=flat-square" alt="GitHub repo size" class="inline"/> <a href="https://TheAlgorithms.github.io/C-Plus-Plus"><img src="https://github.com/TheAlgorithms/C-Plus-Plus/workflows/Doxygen%20CI/badge.svg" alt="Doxygen CI" style="pointer-events: none;" class="inline"/></a> <a href="https://github.com/TheAlgorithms/C-Plus-Plus/actions?query=workflow%3A%22Awesome+CI+Workflow%22"><img src="https://github.com/TheAlgorithms/C-Plus-Plus/workflows/Awesome%20CI%20Workflow/badge.svg" alt="Awesome CI" style="pointer-events: none;" class="inline"/></a> <a href="https://liberapay.com/TheAlgorithms"><img src="https://img.shields.io/liberapay/receives/TheAlgorithms.svg?logo=liberapay" alt="Income" style="pointer-events: none;" class="inline"/></a> <a href="https://discord.gg/c7MnfGFGa6"><img src="https://img.shields.io/discord/808045925556682782.svg?logo=discord&colorB=7289DA" alt="Discord chat" style="pointer-events: none;" class="inline"/></a> <a href="https://liberapay.com/TheAlgorithms/donate"><img src="https://liberapay.com/assets/widgets/donate.svg" alt="Donate" style="pointer-events: none;" class="inline"/></a></p>
|
||||
<h1><a class="anchor" id="autotoc_md84"></a>
|
||||
<h1><a class="anchor" id="autotoc_md87"></a>
|
||||
Overview</h1>
|
||||
<p>The repository is a collection of open-source implementation of a variety of algorithms implemented in C++ and licensed under <a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/LICENSE">MIT License</a>. These 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.</p>
|
||||
<h1><a class="anchor" id="autotoc_md85"></a>
|
||||
<h1><a class="anchor" id="autotoc_md88"></a>
|
||||
Features</h1>
|
||||
<ul>
|
||||
<li>The repository provides implementations of various algorithms in one of the most fundamental general purpose languages - <a href="https://en.wikipedia.org/wiki/C%2B%2B">C++</a>.</li>
|
||||
@@ -110,12 +110,12 @@ Features</h1>
|
||||
<li>Self-checks within programs ensure correct implementations with confidence.</li>
|
||||
<li>Modular implementations and OpenSource licensing enable the functions to be utilized conveniently in other applications.</li>
|
||||
</ul>
|
||||
<h1><a class="anchor" id="autotoc_md86"></a>
|
||||
<h1><a class="anchor" id="autotoc_md89"></a>
|
||||
Documentation</h1>
|
||||
<p><a href="https://TheAlgorithms.github.io/C-Plus-Plus">Online Documentation</a> 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 <a href="https://TheAlgorithms.github.io/C-Plus-Plus/files.html">Files menu</a> to see the list of all the files documented with the code.</p>
|
||||
<p><a href="https://thealgorithms.github.io/C-Plus-Plus">Documentation of Algorithms in C++</a> by <a href="https://github.com/TheAlgorithms/C-Plus-Plus/graphs/contributors">The Algorithms Contributors</a> is licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/?ref=chooser-v1">CC BY-SA 4.0</a><br />
|
||||
<a href="https://creativecommons.org/licenses/by-sa/4.0"><img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg" alt="Creative Commons License" style="pointer-events: none; height:22px!important;margin-left: 3px;vertical-align:text-bottom;" class="inline"/><img src="https://mirrors.creativecommons.org/presskit/icons/by.svg" alt="Credit must be given to the creator" style="pointer-events: none; height:22px!important;margin-left: 3px;vertical-align:text-bottom;" class="inline"/><img src="https://mirrors.creativecommons.org/presskit/icons/sa.svg" alt="Adaptations must be shared under the same terms" style="pointer-events: none; height:22px!important;margin-left: 3px;vertical-align:text-bottom;" class="inline"/></a></p>
|
||||
<h1><a class="anchor" id="autotoc_md87"></a>
|
||||
<h1><a class="anchor" id="autotoc_md90"></a>
|
||||
Contributions</h1>
|
||||
<p>As a community developed and maintained repository, we welcome new un-plagiarized quality contributions. Please read our <a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/CONTRIBUTING.md">Contribution Guidelines</a>. </p>
|
||||
</div></div><!-- PageDoc -->
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
|
||||
<area shape="rect" id="node1" href="$d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" title="Creates an array to be used as stack for storing values." alt="" coords="5,5,183,47"/>
|
||||
<area shape="rect" id="node1" href="$d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html" title="LRU cache class." alt="" coords="5,5,137,47"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
c6f13c81f1e70f3519d7fbd61697121e
|
||||
a931991e3559a3afb38bb5e6d8b25c2a
|
||||
@@ -4,18 +4,18 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: Graphical Class Hierarchy Pages: 1 -->
|
||||
<svg width="141pt" height="39pt"
|
||||
viewBox="0.00 0.00 141.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<svg width="107pt" height="39pt"
|
||||
viewBox="0.00 0.00 107.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 35)">
|
||||
<title>Graphical Class Hierarchy</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 137,-35 137,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 103,-35 103,4 -4,4"/>
|
||||
<!-- Node0 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node0</title>
|
||||
<g id="a_node1"><a xlink:href="d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" target="_top" xlink:title="Creates an array to be used as stack for storing values.">
|
||||
<polygon fill="white" stroke="black" points="0,-0.5 0,-30.5 133,-30.5 133,-0.5 0,-0.5"/>
|
||||
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::postfix_expression</text>
|
||||
<text text-anchor="middle" x="66.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Stack</text>
|
||||
<g id="a_node1"><a xlink:href="d6/dae/classothers_1_1lru__cache_1_1_l_r_u_cache.html" target="_top" xlink:title="LRU cache class.">
|
||||
<polygon fill="white" stroke="black" points="0,-0.5 0,-30.5 99,-30.5 99,-0.5 0,-0.5"/>
|
||||
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::lru_cache::</text>
|
||||
<text text-anchor="middle" x="49.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">LRUCache</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -1,3 +1,3 @@
|
||||
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
|
||||
<area shape="rect" id="node1" href="$d8/dc8/struct_point.html" title=" " alt="" coords="5,5,57,32"/>
|
||||
<area shape="rect" id="node1" href="$d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" title="Creates an array to be used as stack for storing values." alt="" coords="5,5,183,47"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
38884a151d472065dcd8a6fcae7b35c8
|
||||
c6f13c81f1e70f3519d7fbd61697121e
|
||||
@@ -4,17 +4,18 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: Graphical Class Hierarchy Pages: 1 -->
|
||||
<svg width="47pt" height="28pt"
|
||||
viewBox="0.00 0.00 47.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<svg width="141pt" height="39pt"
|
||||
viewBox="0.00 0.00 141.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 35)">
|
||||
<title>Graphical Class Hierarchy</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 43,-24 43,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 137,-35 137,4 -4,4"/>
|
||||
<!-- Node0 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node0</title>
|
||||
<g id="a_node1"><a xlink:href="d8/dc8/struct_point.html" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="0,-0.5 0,-19.5 39,-19.5 39,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="19.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">Point</text>
|
||||
<g id="a_node1"><a xlink:href="d5/d8a/classothers_1_1postfix__expression_1_1_stack.html" target="_top" xlink:title="Creates an array to be used as stack for storing values.">
|
||||
<polygon fill="white" stroke="black" points="0,-0.5 0,-30.5 133,-30.5 133,-0.5 0,-0.5"/>
|
||||
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">others::postfix_expression</text>
|
||||
<text text-anchor="middle" x="66.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">::Stack</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 993 B After Width: | Height: | Size: 1.2 KiB |
@@ -1,3 +1,3 @@
|
||||
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
|
||||
<area shape="rect" id="node1" href="$da/dd1/structquadratic__probing_1_1_entry.html" title=" " alt="" coords="5,5,141,47"/>
|
||||
<area shape="rect" id="node1" href="$d8/dc8/struct_point.html" title=" " alt="" coords="5,5,57,32"/>
|
||||
</map>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6cac1c113b0aa0693cc268a362aeb46e
|
||||
38884a151d472065dcd8a6fcae7b35c8
|
||||
@@ -4,18 +4,17 @@
|
||||
<!-- Generated by graphviz version 2.48.0 (20210717.1556)
|
||||
-->
|
||||
<!-- Title: Graphical Class Hierarchy Pages: 1 -->
|
||||
<svg width="110pt" height="39pt"
|
||||
viewBox="0.00 0.00 110.00 39.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 35)">
|
||||
<svg width="47pt" height="28pt"
|
||||
viewBox="0.00 0.00 47.00 28.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 24)">
|
||||
<title>Graphical Class Hierarchy</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-35 106,-35 106,4 -4,4"/>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-24 43,-24 43,4 -4,4"/>
|
||||
<!-- Node0 -->
|
||||
<g id="node1" class="node">
|
||||
<title>Node0</title>
|
||||
<g id="a_node1"><a xlink:href="da/dd1/structquadratic__probing_1_1_entry.html" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="0,-0.5 0,-30.5 102,-30.5 102,-0.5 0,-0.5"/>
|
||||
<text text-anchor="start" x="8" y="-18.5" font-family="Helvetica,sans-Serif" font-size="10.00">quadratic_probing::</text>
|
||||
<text text-anchor="middle" x="51" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">Entry</text>
|
||||
<g id="a_node1"><a xlink:href="d8/dc8/struct_point.html" target="_top" xlink:title=" ">
|
||||
<polygon fill="white" stroke="black" points="0,-0.5 0,-19.5 39,-19.5 39,-0.5 0,-0.5"/>
|
||||
<text text-anchor="middle" x="19.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">Point</text>
|
||||
</a>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 993 B |
@@ -1,3 +1,3 @@
|
||||
<map id="Graphical Class Hierarchy" name="Graphical Class Hierarchy">
|
||||
<area shape="rect" id="node1" href="$dd/d1b/structquery.html" title=" " alt="" coords="5,5,61,32"/>
|
||||
<area shape="rect" id="node1" href="$da/dd1/structquadratic__probing_1_1_entry.html" title=" " alt="" coords="5,5,141,47"/>
|
||||
</map>
|
||||
|
||||