mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-12 03:28:29 +08:00
111 lines
5.4 KiB
XML
111 lines
5.4 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 7.0.6 (20230106.0513)
|
|
-->
|
|
<!-- Title: math::monte_carlo::integral_monte_carlo Pages: 1 -->
|
|
<svg width="407pt" height="107pt"
|
|
viewBox="0.00 0.00 407.00 107.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 103)">
|
|
<title>math::monte_carlo::integral_monte_carlo</title>
|
|
<!-- Node1 -->
|
|
<g id="node1" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_node1"><a xlink:title="Compute an approximation of an integral using Monte Carlo integration.">
|
|
<polygon fill="#999999" stroke="#666666" points="107,-45.5 0,-45.5 0,-15.5 107,-15.5 107,-45.5"/>
|
|
<text text-anchor="start" x="8" y="-33.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::monte_carlo::</text>
|
|
<text text-anchor="middle" x="53.5" y="-22.5" font-family="Helvetica,sans-Serif" font-size="10.00">integral_monte_carlo</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node1 -->
|
|
<g id="edge6" class="edge">
|
|
<title>Node1->Node1</title>
|
|
<path fill="none" stroke="#63b8ff" d="M28.63,-45.78C23.1,-54.91 31.39,-63.5 53.5,-63.5 65.59,-63.5 73.55,-60.93 77.38,-57.11"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="80.85,-57.55 78.24,-47.28 73.88,-56.94 80.85,-57.55"/>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="node2" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_node2"><a xlink:href="../../db/d40/integral__approximation2_8cpp.html#a71249ee535f16f8ed2e9cc8f0199a2cf" target="_top" xlink:title="short-hand for std::functions used in this implementation">
|
|
<polygon fill="white" stroke="#666666" points="247,-67.5 143,-67.5 143,-37.5 247,-37.5 247,-67.5"/>
|
|
<text text-anchor="start" x="151" y="-55.5" font-family="Helvetica,sans-Serif" font-size="10.00">math::monte_carlo::</text>
|
|
<text text-anchor="middle" x="195" y="-44.5" font-family="Helvetica,sans-Serif" font-size="10.00">generate_samples</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<path fill="none" stroke="#63b8ff" d="M107.24,-38.82C115.11,-40.06 123.28,-41.35 131.33,-42.62"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="130.65,-46.05 141.08,-44.15 131.74,-39.14 130.65,-46.05"/>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="node6" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_node6"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/size.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="238.5,-19 151.5,-19 151.5,0 238.5,0 238.5,-19"/>
|
|
<text text-anchor="middle" x="195" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::size</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node6 -->
|
|
<g id="edge7" class="edge">
|
|
<title>Node1->Node6</title>
|
|
<path fill="none" stroke="#63b8ff" d="M107.24,-22.56C117.89,-20.96 129.11,-19.27 139.81,-17.66"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="140.3,-21.12 149.67,-16.17 139.26,-14.2 140.3,-21.12"/>
|
|
</g>
|
|
<!-- Node2->Node2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>Node2->Node2</title>
|
|
<path fill="none" stroke="#63b8ff" d="M170.13,-67.78C164.6,-76.91 172.89,-85.5 195,-85.5 207.09,-85.5 215.05,-82.93 218.88,-79.11"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="222.35,-79.55 219.74,-69.28 215.38,-78.94 222.35,-79.55"/>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="node3" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_node3"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/algorithm/min.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="367,-99 315,-99 315,-80 367,-80 367,-99"/>
|
|
<text text-anchor="middle" x="341" y="-87" font-family="Helvetica,sans-Serif" font-size="10.00">std::min</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>Node2->Node3</title>
|
|
<path fill="none" stroke="#63b8ff" d="M247.17,-65.65C266.01,-70.49 286.92,-75.86 304.12,-80.28"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="302.81,-83.56 313.36,-82.66 304.55,-76.78 302.81,-83.56"/>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="node4" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_node4"><a target="_blank" xlink:href="http://en.cppreference.com/w/cpp/container/vector/push_back.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="399,-62 283,-62 283,-43 399,-43 399,-62"/>
|
|
<text text-anchor="middle" x="341" y="-50" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::push_back</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node4 -->
|
|
<g id="edge4" class="edge">
|
|
<title>Node2->Node4</title>
|
|
<path fill="none" stroke="#63b8ff" d="M247.17,-52.5C254.98,-52.5 263.14,-52.5 271.24,-52.5"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="271.11,-56 281.11,-52.5 271.11,-49 271.11,-56"/>
|
|
</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/reserve.html#" xlink:title=" ">
|
|
<polygon fill="white" stroke="#666666" points="391.5,-25 290.5,-25 290.5,-6 391.5,-6 391.5,-25"/>
|
|
<text text-anchor="middle" x="341" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00">std::vector::reserve</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2->Node5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>Node2->Node5</title>
|
|
<path fill="none" stroke="#63b8ff" d="M247.17,-39.35C261.21,-35.75 276.4,-31.84 290.34,-28.26"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="290.94,-31.72 299.75,-25.84 289.19,-24.94 290.94,-31.72"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|