You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example generates a set of random 2D points by <code>std::generate</code>. Then performs the quickhull algorithm on it.
319
319
Left and right most points are found by <code>std::minmax_element</code>.
320
320
On each step points on the right side of oriented line are copied by <code>std::copy_if</code> and the farthest point is found by <code>std::max_element</code>.
321
-
Correctness of the convex hull is checked by <code>std::any_of</code> algorithm with counting iterators.
321
+
Correctness of the convex hull is checked by <code>std::any_of</code> algorithm with counting iterator (Threading Building Blocks (TBB) 2019 is required).
322
322
The output of the example application is a CSV file with points of the convex hull.
<p>To use Parallel STL, set up the environment by calling the <i><code>pstlvars</code></i> script (if you use a command line) or set the <code>%PSTLROOT%</code>
366
-
environment variable pointing to the <code><pstl_installdir></code> folder (in Microsoft* Visual Studio* IDE on Windows* OS)
367
-
and add the <code><pstl_installdir>/pstl/include</code> folder to the compiler include paths.
368
-
</p>
365
+
<p>Read <ahref="https://software.intel.com/en-us/get-started-with-pstl">Getting Started with Parallel STL</a> for general instructions on setting up and using Parallel STL.</p>
369
366
<p>Use the <ahref="Makefile">Makefile</a> to build the example on the command line.</p>
370
367
<p>Use the <ahref="msvs/convex_hull.sln">msvs/convex_hull.sln</a> project file to build the example in the Microsoft* Visual Studio* IDE (Windows* systems only).</p>
<p>To use Parallel STL, set up the environment by calling the <i><code>pstlvars</code></i> script (if you use a command line) or set the <code>%PSTLROOT%</code>
361
-
environment variable pointing to the <code><pstl_installdir></code> folder (in Microsoft* Visual Studio* IDE on Windows* OS)
362
-
and add the <code><pstl_installdir>/pstl/include</code> folder to the compiler include paths.
363
-
</p>
360
+
<p>Read <ahref="https://software.intel.com/en-us/get-started-with-pstl">Getting Started with Parallel STL</a> for general instructions on setting up and using Parallel STL.</p>
364
361
<p>Use the <ahref="Makefile">Makefile</a> to build the example on the command line.</p>
365
362
<p>Use the <ahref="msvs/dot_product.sln">msvs/dot_product.sln</a> project file to build the example in the Microsoft* Visual Studio* IDE (Windows* systems only).</p>
<p>To use Parallel STL, set up the environment by calling the <i><code>pstlvars</code></i> script (if you use a command line) or set the <code>%PSTLROOT%</code>
370
-
environment variable pointing to the <code><pstl_installdir></code> folder (in Microsoft* Visual Studio* IDE on Windows* OS)
371
-
and add the <code><pstl_installdir>/pstl/include</code> folder to the compiler include paths.
372
-
</p>
369
+
<p>Read <ahref="https://software.intel.com/en-us/get-started-with-pstl">Getting Started with Parallel STL</a> for general instructions on setting up and using Parallel STL.</p>
373
370
<p>Use the <ahref="Makefile">Makefile</a> to build the example on the command line.</p>
374
371
<p>Use the <ahref="msvs/gamma_correction.sln">msvs/gamma_correction.sln</a> project file to build the example in the Microsoft* Visual Studio* IDE (Windows* systems only).</p>
0 commit comments