mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-23 13:22:47 +08:00
268 lines
11 KiB
XML
268 lines
11 KiB
XML
<?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 12.1.0 (20240811.2233)
|
|
-->
|
|
<!-- Title: machine_learning/adaline_learning.cpp Pages: 1 -->
|
|
<!--zoomable 94 -->
|
|
|
|
<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>
|
|
|
|
<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="arrowUp" transform="translate(30 24)">
|
|
<use xlink:href="#rim"/>
|
|
<path pointer-events="none" 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" transform="rotate(90) translate(36 -43)">
|
|
<use xlink:href="#rim"/>
|
|
<path pointer-events="none" 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" transform="rotate(180) translate(-30 -48)">
|
|
<use xlink:href="#rim"/>
|
|
<path pointer-events="none" 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" transform="rotate(270) translate(-36 17)">
|
|
<use xlink:href="#rim"/>
|
|
<path pointer-events="none" 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="application/ecmascript">
|
|
var viewWidth = 557;
|
|
var viewHeight = 94;
|
|
var sectionId = 'dynsection-0';
|
|
</script>
|
|
<script type="application/ecmascript" xlink:href="../../svg.min.js"/>
|
|
<svg id="graph" class="graph">
|
|
<g id="viewport">
|
|
<title>machine_learning/adaline_learning.cpp</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title="Adaptive Linear Neuron (ADALINE) implementation">
|
|
<polygon fill="#999999" stroke="#666666" points="330.62,-85.75 205.12,-85.75 205.12,-55.25 330.62,-55.25 330.62,-85.75"/>
|
|
<text text-anchor="start" x="213.12" y="-72.25" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning/adaline</text>
|
|
<text text-anchor="middle" x="267.88" y="-61" font-family="Helvetica,sans-Serif" font-size="10.00">_learning.cpp</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="37.75,-19.25 0,-19.25 0,0 37.75,0 37.75,-19.25"/>
|
|
<text text-anchor="middle" x="18.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">array</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1_Node000001_Node000002" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<g id="a_edge1_Node000001_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M204.69,-56.46C162.93,-47.53 106.76,-34.95 48.92,-19.65"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="50.13,-16.35 39.56,-17.15 48.32,-23.11 50.13,-16.35"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="104,-19.25 55.75,-19.25 55.75,0 104,0 104,-19.25"/>
|
|
<text text-anchor="middle" x="79.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge2_Node000001_Node000003" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<g id="a_edge2_Node000001_Node000003"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M220.92,-54.8C188.13,-44.53 145.05,-31.04 115.17,-21.68"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="116.45,-18.41 105.86,-18.76 114.35,-25.09 116.45,-18.41"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="Node000004" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_Node000004"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="166.12,-19.25 121.62,-19.25 121.62,0 166.12,0 166.12,-19.25"/>
|
|
<text text-anchor="middle" x="143.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">climits</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node4 -->
|
|
<g id="edge3_Node000001_Node000004" class="edge">
|
|
<title>Node1->Node4</title>
|
|
<g id="a_edge3_Node000001_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M236.9,-54.8C217.38,-45.53 192.34,-33.63 173.15,-24.52"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="174.79,-21.43 164.26,-20.3 171.79,-27.75 174.79,-21.43"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="Node000005" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_Node000005"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="227.38,-19.25 184.38,-19.25 184.38,0 227.38,0 227.38,-19.25"/>
|
|
<text text-anchor="middle" x="205.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cmath</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node5 -->
|
|
<g id="edge4_Node000001_Node000005" class="edge">
|
|
<title>Node1->Node5</title>
|
|
<g id="a_edge4_Node000001_Node000005"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M252.55,-54.95C243.84,-46.67 232.88,-36.27 223.77,-27.62"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="226.19,-25.09 216.53,-20.74 221.37,-30.17 226.19,-25.09"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="Node000006" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_Node000006"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="290.12,-19.25 245.62,-19.25 245.62,0 290.12,0 290.12,-19.25"/>
|
|
<text text-anchor="middle" x="267.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node6 -->
|
|
<g id="edge5_Node000001_Node000006" class="edge">
|
|
<title>Node1->Node6</title>
|
|
<g id="a_edge5_Node000001_Node000006"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M267.88,-54.95C267.88,-47.71 267.88,-38.84 267.88,-30.94"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="271.38,-31.21 267.88,-21.21 264.38,-31.21 271.38,-31.21"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node7 -->
|
|
<g id="Node000007" class="node">
|
|
<title>Node7</title>
|
|
<g id="a_Node000007"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="347.88,-19.25 307.88,-19.25 307.88,0 347.88,0 347.88,-19.25"/>
|
|
<text text-anchor="middle" x="327.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">ctime</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node7 -->
|
|
<g id="edge6_Node000001_Node000007" class="edge">
|
|
<title>Node1->Node7</title>
|
|
<g id="a_edge6_Node000001_Node000007"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M282.71,-54.95C291.14,-46.67 301.74,-36.27 310.56,-27.62"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="312.86,-30.26 317.55,-20.76 307.96,-25.27 312.86,-30.26"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node8 -->
|
|
<g id="Node000008" class="node">
|
|
<title>Node8</title>
|
|
<g id="a_Node000008"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="419.62,-19.25 366.12,-19.25 366.12,0 419.62,0 419.62,-19.25"/>
|
|
<text text-anchor="middle" x="392.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node8 -->
|
|
<g id="edge7_Node000001_Node000008" class="edge">
|
|
<title>Node1->Node8</title>
|
|
<g id="a_edge7_Node000001_Node000008"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M299.1,-54.8C318.77,-45.53 344.02,-33.63 363.36,-24.52"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="364.78,-27.73 372.34,-20.3 361.8,-21.39 364.78,-27.73"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node9 -->
|
|
<g id="Node000009" class="node">
|
|
<title>Node9</title>
|
|
<g id="a_Node000009"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="488.12,-19.25 437.62,-19.25 437.62,0 488.12,0 488.12,-19.25"/>
|
|
<text text-anchor="middle" x="462.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">numeric</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node9 -->
|
|
<g id="edge8_Node000001_Node000009" class="edge">
|
|
<title>Node1->Node9</title>
|
|
<g id="a_edge8_Node000001_Node000009"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M316.58,-54.8C350.64,-44.51 395.4,-31 426.4,-21.64"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="427.14,-25.07 435.7,-18.83 425.12,-18.37 427.14,-25.07"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node10 -->
|
|
<g id="Node000010" class="node">
|
|
<title>Node10</title>
|
|
<g id="a_Node000010"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="549.38,-19.25 506.38,-19.25 506.38,0 549.38,0 549.38,-19.25"/>
|
|
<text text-anchor="middle" x="527.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node10 -->
|
|
<g id="edge9_Node000001_Node000010" class="edge">
|
|
<title>Node1->Node10</title>
|
|
<g id="a_edge9_Node000001_Node000010"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M330.78,-56.67C374.3,-47.58 433.78,-34.71 494.88,-19.64"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="495.57,-23.07 504.43,-17.27 493.88,-16.28 495.57,-23.07"/>
|
|
</a>
|
|
</g>
|
|
</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()"/>
|
|
<use id="arrowup" xlink:href="#arrowUp" x="0" y="0" onmousedown="handlePan(0,-1)"/>
|
|
<use id="arrowright" xlink:href="#arrowRight" x="0" y="0" onmousedown="handlePan(1,0)"/>
|
|
<use id="arrowdown" xlink:href="#arrowDown" x="0" y="0" onmousedown="handlePan(0,1)"/>
|
|
<use id="arrowleft" xlink:href="#arrowLeft" x="0" y="0" onmousedown="handlePan(-1,0)"/>
|
|
</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="adaline__learning_8cpp__incl_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>
|
|
|
|
<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>
|