TheAlgorithms-C/da/da0/segment__tree_8c_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg

143 lines
7.5 KiB
XML
Raw Normal View History

<?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.46.1 (20210213.1702)
-->
<!-- Title: main Pages: 1 -->
<svg width="337pt" height="218pt"
viewBox="0.00 0.00 337.00 218.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 214)">
<title>main</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-214 333,-214 333,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,-95.5 0,-114.5 38,-114.5 38,-95.5 0,-95.5"/>
<text text-anchor="middle" x="19" y="-102.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="../../da/da0/segment__tree_8c.html#aa8dca7b867074164d5f45b0f3851269d" target="_top" xlink:title="Test RMQ Testing Segment tree using Range Minimum Queries.">
<polygon fill="white" stroke="black" points="74,-95.5 74,-114.5 107,-114.5 107,-95.5 74,-95.5"/>
<text text-anchor="middle" x="90.5" y="-102.5" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1" class="edge">
<title>Node1&#45;&gt;Node2</title>
<path fill="none" stroke="midnightblue" d="M38.26,-105C46.07,-105 55.31,-105 63.79,-105"/>
<polygon fill="midnightblue" stroke="midnightblue" points="63.95,-108.5 73.95,-105 63.95,-101.5 63.95,-108.5"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../da/da0/segment__tree_8c.html#a93bfab032ce9dbc0c1feaeee32a885fb" target="_top" xlink:title="Utility for test A function compare for minimum between two integers This function is used as combine...">
<polygon fill="white" stroke="black" points="172.5,-190.5 172.5,-209.5 228.5,-209.5 228.5,-190.5 172.5,-190.5"/>
<text text-anchor="middle" x="200.5" y="-197.5" font-family="Helvetica,sans-Serif" font-size="10.00">minimum</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node3 -->
<g id="edge2" class="edge">
<title>Node2&#45;&gt;Node3</title>
<path fill="none" stroke="midnightblue" d="M95.54,-114.66C102.73,-130.73 119.27,-162.97 143,-181 148.89,-185.48 155.9,-188.94 162.94,-191.59"/>
<polygon fill="midnightblue" stroke="midnightblue" points="161.87,-194.93 172.46,-194.75 164.07,-188.28 161.87,-194.93"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../da/da0/segment__tree_8c.html#aae59daf9a0dc33f8cbc7a525a616ee75" target="_top" xlink:title="Builds a Segment tree It is assumed that leaves of tree already contains data.">
<polygon fill="white" stroke="black" points="150,-152.5 150,-171.5 251,-171.5 251,-152.5 150,-152.5"/>
<text text-anchor="middle" x="200.5" y="-159.5" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_build</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node2&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M102.28,-114.53C112.27,-122.95 127.82,-135.1 143,-143 147.03,-145.1 151.35,-147.04 155.72,-148.81"/>
<polygon fill="midnightblue" stroke="midnightblue" points="154.74,-152.18 165.33,-152.42 157.2,-145.62 154.74,-152.18"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../da/da0/segment__tree_8c.html#af20a9f373083d3f701e1cd92560cef01" target="_top" xlink:title="Dispose Segment Tree Frees all heap memory accquired by segment tree.">
<polygon fill="white" stroke="black" points="143,-114.5 143,-133.5 258,-133.5 258,-114.5 143,-114.5"/>
<text text-anchor="middle" x="200.5" y="-121.5" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_dispose</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node2&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M107.44,-107.8C115.17,-109.16 125.03,-110.9 135.4,-112.72"/>
<polygon fill="midnightblue" stroke="midnightblue" points="135,-116.21 145.46,-114.49 136.21,-109.31 135,-116.21"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a xlink:href="../../da/da0/segment__tree_8c.html#acecc34fd89923ab41dcee3a779622816" target="_top" xlink:title="Initializes Segment Tree Accquires memory for segment tree and fill the leaves of segment tree with d...">
<polygon fill="white" stroke="black" points="153.5,-76.5 153.5,-95.5 247.5,-95.5 247.5,-76.5 153.5,-76.5"/>
<text text-anchor="middle" x="200.5" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_init</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<title>Node2&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M107.44,-102.2C117.07,-100.5 129.99,-98.23 143.1,-95.92"/>
<polygon fill="midnightblue" stroke="midnightblue" points="143.86,-99.34 153.11,-94.16 142.65,-92.45 143.86,-99.34"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a xlink:href="../../da/da0/segment__tree_8c.html#af61bd96660cb53f49f28d60a5f1d0c91" target="_top" xlink:title="Query the segment tree This function helps in range query of segment tree This function assumes that ...">
<polygon fill="white" stroke="black" points="148,-38.5 148,-57.5 253,-57.5 253,-38.5 148,-38.5"/>
<text text-anchor="middle" x="200.5" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_query</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<title>Node2&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M102.28,-95.47C112.27,-87.05 127.82,-74.9 143,-67 147.03,-64.9 151.35,-62.96 155.72,-61.19"/>
<polygon fill="midnightblue" stroke="midnightblue" points="157.2,-64.38 165.33,-57.58 154.74,-57.82 157.2,-64.38"/>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a xlink:href="../../da/da0/segment__tree_8c.html#a1e81a9bbf01716f1b4fb27ef36a9098c" target="_top" xlink:title="For point updates This function updates the element at given index and also updates segment tree acco...">
<polygon fill="white" stroke="black" points="145.5,-0.5 145.5,-19.5 255.5,-19.5 255.5,-0.5 145.5,-0.5"/>
<text text-anchor="middle" x="200.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_update</text>
</a>
</g>
</g>
<!-- Node2&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<title>Node2&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M95.54,-95.34C102.73,-79.27 119.27,-47.03 143,-29 145.47,-27.12 148.15,-25.42 150.93,-23.88"/>
<polygon fill="midnightblue" stroke="midnightblue" points="152.61,-26.96 160.14,-19.51 149.6,-20.64 152.61,-26.96"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a xlink:href="../../dd/d93/client_8c.html#ac17020a38607ab29ce18939d5194a32a" target="_top" xlink:title="Continuous loop to send and receive over the socket.">
<polygon fill="white" stroke="black" points="294,-76.5 294,-95.5 329,-95.5 329,-76.5 294,-76.5"/>
<text text-anchor="middle" x="311.5" y="-83.5" font-family="Helvetica,sans-Serif" font-size="10.00">func</text>
</a>
</g>
</g>
<!-- Node6&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<title>Node6&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M247.73,-86C260,-86 272.84,-86 283.69,-86"/>
<polygon fill="midnightblue" stroke="midnightblue" points="283.78,-89.5 293.78,-86 283.78,-82.5 283.78,-89.5"/>
</g>
</g>
</svg>