TheAlgorithms-C/d7/d98/spirograph_8c_a3c04138a5bfe5d72780bb7e82a18e627_cgraph.svg

273 lines
14 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.50.0 (20211204.2007)
-->
<!-- 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 = 642;
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 638,-214 638,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="156.5,-190.5 156.5,-209.5 218.5,-209.5 218.5,-190.5 156.5,-190.5"/>
<text text-anchor="middle" x="187.5" 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.69,-175.92C119.88,-179.11 133.64,-183.43 146.71,-187.52"/>
<polygon fill="midnightblue" stroke="midnightblue" points="145.9,-190.94 156.49,-190.59 148,-184.26 145.9,-190.94"/>
</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="157,-152.5 157,-171.5 218,-171.5 218,-152.5 157,-152.5"/>
<text text-anchor="middle" x="187.5" 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.69,-114.67C124.13,-123.57 145.76,-136.9 162.39,-147.14"/>
<polygon fill="midnightblue" stroke="midnightblue" points="160.69,-150.21 171.04,-152.47 164.36,-144.25 160.69,-150.21"/>
</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="421,-114.5 421,-133.5 503,-133.5 503,-114.5 421,-114.5"/>
<text text-anchor="middle" x="462" 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.14,-103.47C158.05,-99.92 282.46,-92.38 385,-105 396.69,-106.44 409.17,-109.08 420.57,-111.94"/>
<polygon fill="midnightblue" stroke="midnightblue" points="419.7,-115.33 430.26,-114.49 421.48,-108.56 419.7,-115.33"/>
</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="263,-114.5 263,-133.5 385,-133.5 385,-114.5 263,-114.5"/>
<text text-anchor="middle" x="324" 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.35,-106.52C142.48,-109.02 203.93,-114.12 252.72,-118.17"/>
<polygon fill="midnightblue" stroke="midnightblue" points="252.67,-121.68 262.93,-119.02 253.25,-114.7 252.67,-121.68"/>
</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 227,-57.5 227,-38.5 148,-38.5"/>
<text text-anchor="middle" x="187.5" 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.69,-95.33C124.13,-86.43 145.76,-73.1 162.39,-62.86"/>
<polygon fill="midnightblue" stroke="midnightblue" points="164.36,-65.75 171.04,-57.53 160.69,-59.79 164.36,-65.75"/>
</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,-0.5 152,-19.5 223,-19.5 223,-0.5 152,-0.5"/>
<text text-anchor="middle" x="187.5" 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.76,-95.44C106.96,-79.8 125.09,-48.53 148,-29 149.75,-27.51 151.64,-26.1 153.61,-24.77"/>
<polygon fill="midnightblue" stroke="midnightblue" points="155.71,-27.6 162.56,-19.52 152.16,-21.56 155.71,-27.6"/>
</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="275,-152.5 275,-171.5 373,-171.5 373,-152.5 275,-152.5"/>
<text text-anchor="middle" x="324" 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="M218.02,-162C231.65,-162 248.35,-162 264.39,-162"/>
<polygon fill="midnightblue" stroke="midnightblue" points="264.79,-165.5 274.79,-162 264.79,-158.5 264.79,-165.5"/>
</g>
<!-- Node5&#45;&gt;Node9 -->
<g id="edge8" class="edge">
<title>Node5&#45;&gt;Node9</title>
<path fill="none" stroke="midnightblue" d="M218.02,-153.66C236.01,-148.58 259.33,-141.99 279.42,-136.31"/>
<polygon fill="midnightblue" stroke="midnightblue" points="280.62,-139.61 289.29,-133.52 278.71,-132.88 280.62,-139.61"/>
</g>
<!-- Node6&#45;&gt;Node7 -->
<g id="edge6" class="edge">
<title>Node6&#45;&gt;Node7</title>
<path fill="none" stroke="midnightblue" d="M359.32,-152.41C376.79,-147.53 398.24,-141.54 416.93,-136.32"/>
<polygon fill="midnightblue" stroke="midnightblue" points="418,-139.65 426.69,-133.59 416.12,-132.91 418,-139.65"/>
</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="539,-114.5 539,-133.5 634,-133.5 634,-114.5 539,-114.5"/>
<text text-anchor="middle" x="586.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="M503.11,-124C511.34,-124 520.14,-124 528.82,-124"/>
<polygon fill="midnightblue" stroke="midnightblue" points="528.92,-127.5 538.92,-124 528.91,-120.5 528.92,-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>