mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-03 20:43:53 +08:00
111 lines
4.7 KiB
XML
111 lines
4.7 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 8.1.0 (20230707.0739)
|
|
-->
|
|
<!-- Title: math::monte_carlo::generate_samples Pages: 1 -->
|
|
<svg width="263pt" height="101pt"
|
|
viewBox="0.00 0.00 262.75 101.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 97.25)">
|
|
<title>math::monte_carlo::generate_samples</title>
|
|
<!-- Node1 -->
|
|
<g id="Node000001" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_Node000001"><a xlink:title="short-hand for std::functions used in this implementation">
|
|
<polygon fill="#999999" stroke="#666666" points="103,-61.88 0,-61.88 0,-31.38 103,-31.38 103,-61.88"/>
|
|
<text text-anchor="start" x="8" y="-48.38" font-family="Helvetica,sans-Serif" font-size="10.00">math::monte_carlo::</text>
|
|
<text text-anchor="middle" x="51.5" y="-37.12" font-family="Helvetica,sans-Serif" font-size="10.00">generate_samples</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node1 -->
|
|
<g id="edge1_Node000001_Node000001" class="edge">
|
|
<title>Node1->Node1</title>
|
|
<g id="a_edge1_Node000001_Node000001"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M25.74,-62.36C20.48,-71.43 29.07,-79.88 51.5,-79.88 64.12,-79.88 72.35,-77.2 76.21,-73.25"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="79.79,-73.65 77.26,-63.36 72.82,-72.98 79.79,-73.65"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="Node000002" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_Node000002"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="222.5,-93.25 171.25,-93.25 171.25,-74 222.5,-74 222.5,-93.25"/>
|
|
<text text-anchor="middle" x="196.88" y="-79.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge2_Node000001_Node000002" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<g id="a_edge2_Node000001_Node000002"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M103.45,-59.77C122.38,-64.66 143.42,-70.09 160.64,-74.53"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="159.26,-78.05 169.81,-77.16 161.01,-71.27 159.26,-78.05"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="Node000003" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_Node000003"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="254.75,-56.25 139,-56.25 139,-37 254.75,-37 254.75,-56.25"/>
|
|
<text text-anchor="middle" x="196.88" y="-42.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge3_Node000001_Node000003" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<g id="a_edge3_Node000001_Node000003"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M103.45,-46.62C111.4,-46.62 119.72,-46.62 127.97,-46.62"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="127.74,-50.13 137.74,-46.62 127.74,-43.13 127.74,-50.13"/>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="Node000004" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_Node000004"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/reserve.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="247.25,-19.25 146.5,-19.25 146.5,0 247.25,0 247.25,-19.25"/>
|
|
<text text-anchor="middle" x="196.88" y="-5.75" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::reserve</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node4 -->
|
|
<g id="edge4_Node000001_Node000004" class="edge">
|
|
<title>Node1->Node4</title>
|
|
<g id="a_edge4_Node000001_Node000004"><a xlink:title=" ">
|
|
<path fill="none" stroke="#63b8ff" d="M103.45,-33.48C117.43,-29.87 132.57,-25.96 146.46,-22.38"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="147,-25.59 155.81,-19.71 145.25,-18.82 147,-25.59"/>
|
|
</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>
|