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.49.2 (20211016.1639)
-->
<!-- Title: main Pages: 1 -->
<svg width="340pt" height="218pt"
viewBox="0.00 0.00 340.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 336,-214 336,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="173.5,-190.5 173.5,-209.5 230.5,-209.5 230.5,-190.5 173.5,-190.5"/>
<text text-anchor="middle" x="202" 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.52,-114.68C102.69,-130.78 119.2,-163.06 143,-181 149.05,-185.56 156.24,-189.06 163.47,-191.72"/>
<polygon fill="midnightblue" stroke="midnightblue" points="162.65,-195.14 173.25,-194.87 164.8,-188.48 162.65,-195.14"/>
</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 254,-171.5 254,-152.5 150,-152.5"/>
<text text-anchor="middle" x="202" 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.27,-114.56C112.24,-123 127.79,-135.16 143,-143 147.08,-145.11 151.45,-147.04 155.88,-148.81"/>
<polygon fill="midnightblue" stroke="midnightblue" points="155.02,-152.22 165.61,-152.4 157.44,-145.65 155.02,-152.22"/>
</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 261,-133.5 261,-114.5 143,-114.5"/>
<text text-anchor="middle" x="202" 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.19,-107.72C115.07,-109.09 125.2,-110.85 135.87,-112.7"/>
<polygon fill="midnightblue" stroke="midnightblue" points="135.33,-116.16 145.78,-114.42 136.53,-109.26 135.33,-116.16"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a xlink:href="../../da/da0/segment__tree_8c.html#a3513a2b7c3f1d15aa3d019af1f834cde" 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="154,-76.5 154,-95.5 250,-95.5 250,-76.5 154,-76.5"/>
<text text-anchor="middle" x="202" 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.19,-102.28C116.9,-100.59 130.02,-98.32 143.38,-96"/>
<polygon fill="midnightblue" stroke="midnightblue" points="144.33,-99.39 153.58,-94.23 143.13,-92.49 144.33,-99.39"/>
</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 256,-57.5 256,-38.5 148,-38.5"/>
<text text-anchor="middle" x="202" 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.27,-95.44C112.24,-87 127.79,-74.84 143,-67 147.08,-64.89 151.45,-62.96 155.88,-61.19"/>
<polygon fill="midnightblue" stroke="midnightblue" points="157.44,-64.35 165.61,-57.6 155.02,-57.78 157.44,-64.35"/>
</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,-0.5 145,-19.5 259,-19.5 259,-0.5 145,-0.5"/>
<text text-anchor="middle" x="202" 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.52,-95.32C102.69,-79.22 119.2,-46.94 143,-29 145.5,-27.12 148.2,-25.41 151.01,-23.88"/>
<polygon fill="midnightblue" stroke="midnightblue" points="152.74,-26.93 160.29,-19.51 149.76,-20.6 152.74,-26.93"/>
</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="297,-76.5 297,-95.5 332,-95.5 332,-76.5 297,-76.5"/>
<text text-anchor="middle" x="314.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="M250.18,-86C262.68,-86 275.73,-86 286.72,-86"/>
<polygon fill="midnightblue" stroke="midnightblue" points="286.93,-89.5 296.93,-86 286.93,-82.5 286.93,-89.5"/>
</g>
</g>
</svg>