TheAlgorithms-C/da/da0/segment__tree_8c_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg

173 lines
8.2 KiB
XML
Raw Permalink 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 9.0.0 (20230911.1827)
-->
<!-- Title: test Pages: 1 -->
<svg width="262pt" height="212pt"
viewBox="0.00 0.00 261.50 212.25" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<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[
.node, .edge {opacity: 0.7;}
.node.selected, .edge.selected {opacity: 1;}
.edge:hover path { stroke: red; }
.edge:hover polygon { stroke: red; fill: red; }
]]></style>
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
<svg id="graph" class="graph">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 208.25)">
<title>test</title>
<!-- Node1 -->
<g id="Node000001" class="node">
<title>Node1</title>
<g id="a_Node000001"><a xlink:title="Test RMQ Testing Segment tree using Range Minimum Queries.">
<polygon fill="#999999" stroke="#666666" points="32.5,-111.25 0,-111.25 0,-92 32.5,-92 32.5,-111.25"/>
<text text-anchor="middle" x="16.25" y="-97.75" font-family="Helvetica,sans-Serif" font-size="10.00">test</text>
</a>
</g>
</g>
<!-- Node2 -->
<g id="Node000002" class="node">
<title>Node2</title>
<g id="a_Node000002"><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="#666666" points="153.5,-204.25 97.75,-204.25 97.75,-185 153.5,-185 153.5,-204.25"/>
<text text-anchor="middle" x="125.62" y="-190.75" font-family="Helvetica,sans-Serif" font-size="10.00">minimum</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node2 -->
<g id="edge1_Node000001_Node000002" class="edge">
<title>Node1&#45;&gt;Node2</title>
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M21.49,-111.71C28.76,-127.78 45.11,-159.18 68.5,-176.62 73.91,-180.66 80.26,-183.81 86.71,-186.27"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="85.47,-189.54 96.06,-189.31 87.63,-182.89 85.47,-189.54"/>
</a>
</g>
</g>
<!-- Node3 -->
<g id="Node000003" class="node">
<title>Node3</title>
<g id="a_Node000003"><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="#666666" points="176,-167.25 75.25,-167.25 75.25,-148 176,-148 176,-167.25"/>
<text text-anchor="middle" x="125.62" y="-153.75" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_build</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node3 -->
<g id="edge2_Node000001_Node000003" class="edge">
<title>Node1&#45;&gt;Node3</title>
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M28.34,-111.54C38.26,-119.98 53.52,-131.94 68.5,-139.62 71.18,-141 73.99,-142.3 76.86,-143.52"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="75.4,-146.71 85.99,-147.04 77.92,-140.18 75.4,-146.71"/>
</a>
</g>
</g>
<!-- Node4 -->
<g id="Node000004" class="node">
<title>Node4</title>
<g id="a_Node000004"><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="#666666" points="182.75,-130.25 68.5,-130.25 68.5,-111 182.75,-111 182.75,-130.25"/>
<text text-anchor="middle" x="125.62" y="-116.75" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_dispose</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3_Node000001_Node000004" class="edge">
<title>Node1&#45;&gt;Node4</title>
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.63,-104.35C39.4,-105.54 47.85,-107.04 56.87,-108.64"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="56.14,-112.06 66.59,-110.36 57.36,-105.17 56.14,-112.06"/>
</a>
</g>
</g>
<!-- Node5 -->
<g id="Node000005" class="node">
<title>Node5</title>
<g id="a_Node000005"><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="#666666" points="172.25,-93.25 79,-93.25 79,-74 172.25,-74 172.25,-93.25"/>
<text text-anchor="middle" x="125.62" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_init</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node5 -->
<g id="edge4_Node000001_Node000005" class="edge">
<title>Node1&#45;&gt;Node5</title>
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M32.63,-99.05C41.96,-97.48 54.51,-95.38 67.34,-93.23"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="67.83,-96.7 77.11,-91.59 66.67,-89.79 67.83,-96.7"/>
</a>
</g>
</g>
<!-- Node7 -->
<g id="Node000007" class="node">
<title>Node7</title>
<g id="a_Node000007"><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="#666666" points="177.88,-56.25 73.38,-56.25 73.38,-37 177.88,-37 177.88,-56.25"/>
<text text-anchor="middle" x="125.62" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_query</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node7 -->
<g id="edge6_Node000001_Node000007" class="edge">
<title>Node1&#45;&gt;Node7</title>
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M28.78,-91.67C38.74,-83.48 53.81,-72.05 68.5,-64.62 71.19,-63.27 74,-61.98 76.88,-60.77"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="77.93,-64.12 86.02,-57.27 75.43,-57.58 77.93,-64.12"/>
</a>
</g>
</g>
<!-- Node8 -->
<g id="Node000008" class="node">
<title>Node8</title>
<g id="a_Node000008"><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="#666666" points="180.5,-19.25 70.75,-19.25 70.75,0 180.5,0 180.5,-19.25"/>
<text text-anchor="middle" x="125.62" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">segment_tree_update</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node8 -->
<g id="edge7_Node000001_Node000008" class="edge">
<title>Node1&#45;&gt;Node8</title>
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M21.53,-91.68C28.85,-75.82 45.27,-44.84 68.5,-27.62 69.84,-26.64 71.23,-25.7 72.67,-24.81"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="74.02,-28.05 81.31,-20.36 70.81,-21.83 74.02,-28.05"/>
</a>
</g>
</g>
<!-- Node6 -->
<g id="Node000006" class="node">
<title>Node6</title>
<g id="a_Node000006"><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="#666666" points="253.5,-93.25 218.75,-93.25 218.75,-74 253.5,-74 253.5,-93.25"/>
<text text-anchor="middle" x="236.12" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">func</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node6 -->
<g id="edge5_Node000005_Node000006" class="edge">
<title>Node5&#45;&gt;Node6</title>
<g id="a_edge5_Node000005_Node000006"><a xlink:title=" ">
<path fill="none" stroke="#63b8ff" d="M172.64,-83.62C184.35,-83.62 196.58,-83.62 207.08,-83.62"/>
<polygon fill="#63b8ff" stroke="#63b8ff" points="206.97,-87.13 216.97,-83.63 206.97,-80.13 206.97,-87.13"/>
</a>
</g>
</g>
</g>
</svg>
</svg>
<style type='text/css'>
<![CDATA[
[data-mouse-over-selected='false'] { opacity: 0.7; }
[data-mouse-over-selected='true'] { opacity: 1.0; }
]]>
</style>
<script type="application/ecmascript"><![CDATA[
document.addEventListener('DOMContentLoaded', (event) => {
highlightEdges();
highlightAdjacentNodes();
});
]]></script>
</svg>