mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-11 11:07:27 +08:00
288 lines
15 KiB
XML
288 lines
15 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 2.49.1 (20210923.0004)
|
|
-->
|
|
<!-- Title: test3 Pages: 1 -->
|
|
<!--zoomable 256 -->
|
|
<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 = 689;
|
|
var viewHeight = 256;
|
|
var sectionId = 'dynsection-4';
|
|
</script>
|
|
<script xlink:href="../../svgpan.js"/>
|
|
<svg id="graph" class="graph">
|
|
<g id="viewport">
|
|
<title>test3</title>
|
|
<polygon fill="white" stroke="transparent" points="-4,4 -4,-252 685,-252 685,4 -4,4"/>
|
|
<!-- Node1 -->
|
|
<g id="node1" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_node1"><a xlink:title=" ">
|
|
<polygon fill="#bfbfbf" stroke="black" points="0,-145.5 0,-164.5 38,-164.5 38,-145.5 0,-145.5"/>
|
|
<text text-anchor="middle" x="19" y="-152.5" font-family="Helvetica,sans-Serif" font-size="10.00">test3</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="node2" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_node2"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/io/manip/endl.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="611,-228.5 611,-247.5 665,-247.5 665,-228.5 611,-228.5"/>
|
|
<text text-anchor="middle" x="638" y="-235.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::endl</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<path fill="none" stroke="midnightblue" d="M30.28,-164.51C40.54,-173.42 57.16,-186.33 74,-193 220.91,-251.19 268.38,-231.86 426,-243 487.33,-247.33 558.9,-243.84 600.95,-240.92"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="601.26,-244.4 610.98,-240.19 600.75,-237.42 601.26,-244.4"/>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="node3" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_node3"><a xlink:href="../../d6/d30/classmachine__learning_1_1adaline.html#a74e3c6c037b67895014414c5d75465e5" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="74,-164.5 74,-183.5 221,-183.5 221,-164.5 74,-164.5"/>
|
|
<text text-anchor="middle" x="147.5" y="-171.5" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::adaline::fit</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge2" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<path fill="none" stroke="midnightblue" d="M38.12,-157.72C47.65,-159.15 60.03,-161.01 73,-162.96"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="72.58,-166.44 82.99,-164.46 73.62,-159.51 72.58,-166.44"/>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="node6" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_node6"><a xlink:href="../../d6/d30/classmachine__learning_1_1adaline.html#ab11242d9ad5b03a75911e29b04f78fd3" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="257,-115 257,-145 390,-145 390,-115 257,-115"/>
|
|
<text text-anchor="start" x="265" y="-133" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::adaline</text>
|
|
<text text-anchor="middle" x="323.5" y="-122" font-family="Helvetica,sans-Serif" font-size="10.00">::predict</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node6 -->
|
|
<g id="edge13" class="edge">
|
|
<title>Node1->Node6</title>
|
|
<path fill="none" stroke="midnightblue" d="M38.02,-153.51C78.14,-150.19 176.83,-142.04 246.68,-136.27"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="247.09,-139.74 256.76,-135.43 246.51,-132.77 247.09,-139.74"/>
|
|
</g>
|
|
<!-- Node11 -->
|
|
<g id="node11" class="node">
|
|
<title>Node11</title>
|
|
<g id="a_node11"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/numeric/random/rand.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="120,-88.5 120,-107.5 175,-107.5 175,-88.5 120,-88.5"/>
|
|
<text text-anchor="middle" x="147.5" y="-95.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::rand</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node11 -->
|
|
<g id="edge14" class="edge">
|
|
<title>Node1->Node11</title>
|
|
<path fill="none" stroke="midnightblue" d="M33.72,-145.4C44.35,-138.26 59.65,-128.65 74,-122 85.35,-116.74 98.18,-112.09 109.86,-108.33"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="111.25,-111.56 119.77,-105.25 109.18,-104.88 111.25,-111.56"/>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="node4" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_node4"><a xlink:href="../../d6/d30/classmachine__learning_1_1adaline.html#ac8a9c2aaaa63b0f27ea176857e1e7d56" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="426,-203 426,-233 559,-233 559,-203 426,-203"/>
|
|
<text text-anchor="start" x="434" y="-221" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::adaline</text>
|
|
<text text-anchor="middle" x="492.5" y="-210" font-family="Helvetica,sans-Serif" font-size="10.00">::check_size_match</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3->Node4 -->
|
|
<g id="edge3" class="edge">
|
|
<title>Node3->Node4</title>
|
|
<path fill="none" stroke="midnightblue" d="M221.16,-183.39C233.13,-184.93 245.41,-186.51 257,-188 309.99,-194.81 369.71,-202.45 415.62,-208.31"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="415.43,-211.82 425.8,-209.61 416.32,-204.87 415.43,-211.82"/>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="node5" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_node5"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="595,-187.5 595,-206.5 681,-206.5 681,-187.5 595,-187.5"/>
|
|
<text text-anchor="middle" x="638" y="-194.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3->Node5 -->
|
|
<g id="edge12" class="edge">
|
|
<title>Node3->Node5</title>
|
|
<path fill="none" stroke="midnightblue" d="M221.17,-177.25C303.22,-180.95 440.71,-187.23 559,-193 567.37,-193.41 576.25,-193.85 584.9,-194.29"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="584.74,-197.79 594.9,-194.8 585.09,-190.8 584.74,-197.79"/>
|
|
</g>
|
|
<!-- Node3->Node6 -->
|
|
<g id="edge6" class="edge">
|
|
<title>Node3->Node6</title>
|
|
<path fill="none" stroke="midnightblue" d="M186.26,-164.45C205.76,-159.52 230.18,-153.34 252.95,-147.59"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="254.09,-150.91 262.92,-145.07 252.37,-144.12 254.09,-150.91"/>
|
|
</g>
|
|
<!-- Node4->Node2 -->
|
|
<g id="edge4" class="edge">
|
|
<title>Node4->Node2</title>
|
|
<path fill="none" stroke="midnightblue" d="M559.37,-227.18C573.65,-229.17 588.23,-231.2 600.85,-232.96"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="600.55,-236.45 610.94,-234.37 601.52,-229.52 600.55,-236.45"/>
|
|
</g>
|
|
<!-- Node4->Node5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>Node4->Node5</title>
|
|
<path fill="none" stroke="midnightblue" d="M559.37,-208.36C567.96,-207.1 576.66,-205.83 584.98,-204.61"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="585.52,-208.07 594.91,-203.16 584.51,-201.14 585.52,-208.07"/>
|
|
</g>
|
|
<!-- Node6->Node4 -->
|
|
<g id="edge9" class="edge">
|
|
<title>Node6->Node4</title>
|
|
<path fill="none" stroke="midnightblue" d="M353.21,-145.13C381.01,-159.78 423.33,-182.08 453.83,-198.15"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="452.41,-201.36 462.89,-202.92 455.67,-195.16 452.41,-201.36"/>
|
|
</g>
|
|
<!-- Node7 -->
|
|
<g id="node7" class="node">
|
|
<title>Node7</title>
|
|
<g id="a_node7"><a xlink:href="../../d6/d30/classmachine__learning_1_1adaline.html#a082f758fb55fe19f22b3df66f89b2325" target="_top" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="426,-77 426,-107 559,-107 559,-77 426,-77"/>
|
|
<text text-anchor="start" x="434" y="-95" font-family="Helvetica,sans-Serif" font-size="10.00">machine_learning::adaline</text>
|
|
<text text-anchor="middle" x="492.5" y="-84" font-family="Helvetica,sans-Serif" font-size="10.00">::activation</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node6->Node7 -->
|
|
<g id="edge7" class="edge">
|
|
<title>Node6->Node7</title>
|
|
<path fill="none" stroke="midnightblue" d="M390.02,-115.09C398.59,-113.14 407.42,-111.13 416.13,-109.15"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="416.92,-112.56 425.89,-106.93 415.36,-105.73 416.92,-112.56"/>
|
|
</g>
|
|
<!-- Node8 -->
|
|
<g id="node8" class="node">
|
|
<title>Node8</title>
|
|
<g id="a_node8"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/begin.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="446,-38.5 446,-57.5 539,-57.5 539,-38.5 446,-38.5"/>
|
|
<text text-anchor="middle" x="492.5" y="-45.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::begin</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node6->Node8 -->
|
|
<g id="edge8" class="edge">
|
|
<title>Node6->Node8</title>
|
|
<path fill="none" stroke="midnightblue" d="M344.95,-114.96C364.82,-100.94 396.25,-80.25 426,-67 431.14,-64.71 436.62,-62.62 442.15,-60.73"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="443.63,-63.93 452.08,-57.54 441.49,-57.26 443.63,-63.93"/>
|
|
</g>
|
|
<!-- Node9 -->
|
|
<g id="node9" class="node">
|
|
<title>Node9</title>
|
|
<g id="a_node9"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/end.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="450,-0.5 450,-19.5 535,-19.5 535,-0.5 450,-0.5"/>
|
|
<text text-anchor="middle" x="492.5" y="-7.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::end</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node6->Node9 -->
|
|
<g id="edge10" class="edge">
|
|
<title>Node6->Node9</title>
|
|
<path fill="none" stroke="midnightblue" d="M335.55,-114.96C352.55,-92.88 387.24,-51.85 426,-29 430.41,-26.4 435.21,-24.13 440.12,-22.17"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="441.44,-25.41 449.67,-18.74 439.07,-18.82 441.44,-25.41"/>
|
|
</g>
|
|
<!-- Node10 -->
|
|
<g id="node10" class="node">
|
|
<title>Node10</title>
|
|
<g id="a_node10"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/inner_product.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="black" points="444,-126.5 444,-145.5 541,-145.5 541,-126.5 444,-126.5"/>
|
|
<text text-anchor="middle" x="492.5" y="-133.5" font-family="Helvetica,sans-Serif" font-size="10.00">std::inner_product</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node6->Node10 -->
|
|
<g id="edge11" class="edge">
|
|
<title>Node6->Node10</title>
|
|
<path fill="none" stroke="midnightblue" d="M390.02,-132.35C404.51,-132.87 419.75,-133.42 433.9,-133.93"/>
|
|
<polygon fill="midnightblue" stroke="midnightblue" points="433.85,-137.43 443.97,-134.29 434.11,-130.44 433.85,-137.43"/>
|
|
</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="adaline__learning_8cpp_a992bdf1fdb0b9d414bcf7981d2d87aa9_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>
|