TheAlgorithms-C/d7/d98/spirograph_8c_a3c04138a5bfe5d72780bb7e82a18e627_cgraph.svg

273 lines
15 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.3 (20211023.0002)
-->
<!-- Title: main Pages: 1 -->
<!--zoomable 218 -->
<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 = 651;
var viewHeight = 218;
var sectionId = 'dynsection-1';
</script>
<script xlink:href="../../svgpan.js"/>
<svg id="graph" class="graph">
<g id="viewport">
<title>main</title>
<polygon fill="white" stroke="transparent" points="-4,4 -4,-214 647,-214 647,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,-114.5 0,-133.5 38,-133.5 38,-114.5 0,-114.5"/>
<text text-anchor="middle" x="19" y="-121.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="../../d7/d98/spirograph_8c.html#a708a4c1a4d0c4acc4c447310dd4db27f" target="_top" xlink:title="Test function to save resulting points to a CSV file.">
<polygon fill="white" stroke="black" points="76.5,-161.5 76.5,-180.5 109.5,-180.5 109.5,-161.5 76.5,-161.5"/>
<text text-anchor="middle" x="93" y="-168.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="M34.57,-133.51C44.36,-139.9 57.48,-148.47 68.71,-155.79"/>
<polygon fill="midnightblue" stroke="midnightblue" points="66.92,-158.81 77.2,-161.34 70.74,-152.94 66.92,-158.81"/>
</g>
<!-- Node4 -->
<g id="node4" class="node">
<title>Node4</title>
<g id="a_node4"><a xlink:href="../../dd/d8c/adaline__learning_8c.html#a05cc9a0acb524fde727a4d7b4a747ee6" target="_top" xlink:title="test function to predict points in a 2D coordinate system above the line &#160;as +1 and others as &#45;1.">
<polygon fill="white" stroke="black" points="74,-95.5 74,-114.5 112,-114.5 112,-95.5 74,-95.5"/>
<text text-anchor="middle" x="93" y="-102.5" font-family="Helvetica,sans-Serif" font-size="10.00">test2</text>
</a>
</g>
</g>
<!-- Node1&#45;&gt;Node4 -->
<g id="edge3" class="edge">
<title>Node1&#45;&gt;Node4</title>
<path fill="none" stroke="midnightblue" d="M38.17,-119.21C45.95,-117.15 55.23,-114.7 63.87,-112.42"/>
<polygon fill="midnightblue" stroke="midnightblue" points="64.81,-115.79 73.59,-109.86 63.02,-109.03 64.81,-115.79"/>
</g>
<!-- Node3 -->
<g id="node3" class="node">
<title>Node3</title>
<g id="a_node3"><a xlink:href="../../d7/d98/spirograph_8c.html#a0daa148091ec953809fc172289f773d3" target="_top" xlink:title="Generate spirograph curve into arrays x and y such that the i^th point in 2D is represented by (x[i],...">
<polygon fill="white" stroke="black" points="157,-190.5 157,-209.5 221,-209.5 221,-190.5 157,-190.5"/>
<text text-anchor="middle" x="189" y="-197.5" font-family="Helvetica,sans-Serif" font-size="10.00">spirograph</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="M109.52,-175.79C119.84,-178.97 133.92,-183.31 147.29,-187.44"/>
<polygon fill="midnightblue" stroke="midnightblue" points="146.26,-190.79 156.85,-190.39 148.33,-184.1 146.26,-190.79"/>
</g>
<!-- Node5 -->
<g id="node5" class="node">
<title>Node5</title>
<g id="a_node5"><a xlink:href="../../da/d2a/group__adaline.html#gaa52120912e32d2893fe1c6d78da5befd" target="_top" xlink:title="Update the weights of the model using supervised learning for an array of vectors.">
<polygon fill="white" stroke="black" points="158,-152.5 158,-171.5 220,-171.5 220,-152.5 158,-152.5"/>
<text text-anchor="middle" x="189" y="-159.5" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_fit</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node5 -->
<g id="edge4" class="edge">
<title>Node4&#45;&gt;Node5</title>
<path fill="none" stroke="midnightblue" d="M109.58,-114.56C120.35,-121.17 135.03,-130.15 148,-138 152.94,-140.99 158.22,-144.17 163.28,-147.21"/>
<polygon fill="midnightblue" stroke="midnightblue" points="161.65,-150.31 172.02,-152.45 165.25,-144.31 161.65,-150.31"/>
</g>
<!-- Node7 -->
<g id="node7" class="node">
<title>Node7</title>
<g id="a_node7"><a xlink:href="../../da/d2a/group__adaline.html#gac70b578aee679005fd336073969c3d94" target="_top" xlink:title="predict the output of the model for given set of features">
<polygon fill="white" stroke="black" points="426,-114.5 426,-133.5 510,-133.5 510,-114.5 426,-114.5"/>
<text text-anchor="middle" x="468" y="-121.5" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_predict</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node7 -->
<g id="edge10" class="edge">
<title>Node4&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M112.11,-103.49C158.52,-99.94 285.42,-92.29 390,-105 401.84,-106.44 414.48,-109.08 426.03,-111.94"/>
<polygon fill="midnightblue" stroke="midnightblue" points="425.29,-115.37 435.85,-114.49 427.05,-108.59 425.29,-115.37"/>
</g>
<!-- Node9 -->
<g id="node9" class="node">
<title>Node9</title>
<g id="a_node9"><a xlink:href="../../da/d2a/group__adaline.html#gadb1a7acb555ad62daaf3806bf2fed036" target="_top" xlink:title="Operator to print the weights of the model.">
<polygon fill="white" stroke="black" points="266,-114.5 266,-133.5 390,-133.5 390,-114.5 266,-114.5"/>
<text text-anchor="middle" x="328" y="-121.5" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_get_weights_str</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node9 -->
<g id="edge9" class="edge">
<title>Node4&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M112.28,-106.49C142.84,-108.98 205.87,-114.12 255.77,-118.19"/>
<polygon fill="midnightblue" stroke="midnightblue" points="255.63,-121.69 265.88,-119.02 256.2,-114.71 255.63,-121.69"/>
</g>
<!-- Node10 -->
<g id="node10" class="node">
<title>Node10</title>
<g id="a_node10"><a xlink:href="../../da/d2a/group__adaline.html#ga6f35caa3084772cc126ac7b20f67f665" target="_top" xlink:title="delete dynamically allocated memory">
<polygon fill="white" stroke="black" points="148,-38.5 148,-57.5 230,-57.5 230,-38.5 148,-38.5"/>
<text text-anchor="middle" x="189" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">delete_adaline</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node10 -->
<g id="edge11" class="edge">
<title>Node4&#45;&gt;Node10</title>
<path fill="none" stroke="midnightblue" d="M109.58,-95.44C120.35,-88.83 135.03,-79.85 148,-72 152.94,-69.01 158.22,-65.83 163.28,-62.79"/>
<polygon fill="midnightblue" stroke="midnightblue" points="165.25,-65.69 172.02,-57.55 161.65,-59.69 165.25,-65.69"/>
</g>
<!-- Node11 -->
<g id="node11" class="node">
<title>Node11</title>
<g id="a_node11"><a xlink:href="../../da/d2a/group__adaline.html#gacd88962c5f6341e43cbc69b4a7d3485b" target="_top" xlink:title="Default constructor.">
<polygon fill="white" stroke="black" points="152.5,-0.5 152.5,-19.5 225.5,-19.5 225.5,-0.5 152.5,-0.5"/>
<text text-anchor="middle" x="189" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">new_adaline</text>
</a>
</g>
</g>
<!-- Node4&#45;&gt;Node11 -->
<g id="edge12" class="edge">
<title>Node4&#45;&gt;Node11</title>
<path fill="none" stroke="midnightblue" d="M98.73,-95.4C106.88,-79.7 124.94,-48.35 148,-29 149.77,-27.51 151.68,-26.12 153.66,-24.8"/>
<polygon fill="midnightblue" stroke="midnightblue" points="155.78,-27.63 162.7,-19.61 152.29,-21.56 155.78,-27.63"/>
</g>
<!-- Node6 -->
<g id="node6" class="node">
<title>Node6</title>
<g id="a_node6"><a xlink:href="../../da/d2a/group__adaline.html#ga20d3642e0a87f36fdb7bf91b023cd166" target="_top" xlink:title="Update the weights of the model using supervised learning for one feature vector.">
<polygon fill="white" stroke="black" points="278,-152.5 278,-171.5 378,-171.5 378,-152.5 278,-152.5"/>
<text text-anchor="middle" x="328" y="-159.5" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_fit_sample</text>
</a>
</g>
</g>
<!-- Node5&#45;&gt;Node6 -->
<g id="edge5" class="edge">
<title>Node5&#45;&gt;Node6</title>
<path fill="none" stroke="midnightblue" d="M220.07,-162C234.09,-162 251.29,-162 267.76,-162"/>
<polygon fill="midnightblue" stroke="midnightblue" points="267.89,-165.5 277.89,-162 267.89,-158.5 267.89,-165.5"/>
</g>
<!-- Node5&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<title>Node5&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M220.07,-153.66C238.48,-148.55 262.37,-141.93 282.89,-136.23"/>
<polygon fill="midnightblue" stroke="midnightblue" points="283.96,-139.57 292.66,-133.52 282.09,-132.82 283.96,-139.57"/>
</g>
<!-- Node6&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<title>Node6&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M363.82,-152.41C381.64,-147.51 403.52,-141.48 422.54,-136.24"/>
<polygon fill="midnightblue" stroke="midnightblue" points="423.48,-139.62 432.19,-133.59 421.62,-132.87 423.48,-139.62"/>
</g>
<!-- Node8 -->
<g id="node8" class="node">
<title>Node8</title>
<g id="a_node8"><a xlink:href="../../da/d2a/group__adaline.html#ga43576566b020c4157d4fb28f0dd45cfa" target="_top" xlink:title="Heaviside activation function">
<polygon fill="white" stroke="black" points="546,-114.5 546,-133.5 643,-133.5 643,-114.5 546,-114.5"/>
<text text-anchor="middle" x="594.5" y="-121.5" font-family="Helvetica,sans-Serif" font-size="10.00">adaline_activation</text>
</a>
</g>
</g>
<!-- Node7&#45;&gt;Node8 -->
<g id="edge7" class="edge">
<title>Node7&#45;&gt;Node8</title>
<path fill="none" stroke="midnightblue" d="M510.11,-124C518.36,-124 527.17,-124 535.86,-124"/>
<polygon fill="midnightblue" stroke="midnightblue" points="535.96,-127.5 545.96,-124 535.96,-120.5 535.96,-127.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="spirograph_8c_a3c04138a5bfe5d72780bb7e82a18e627_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>