MRPTree v0.5.0.0 examples 0.5.0.0
MR 2^P Trees (MRPTree)
Loading...
Searching...
No Matches
hello_world_adaptive.cpp File Reference

Minimal example for MR_rect_tree with adaptive sampling. More...

Go to the source code of this file.

Detailed Description

Minimal example for MR_rect_tree with adaptive sampling.

Author
Mitch Richling http://www.mitchr.me/
Date
2024-07-13
Standards
C++23
Details


This program writes a simple tabular file containing the tree's data – one sample per line with space separated coordinates and values. These may be interrupted as points in 3D, and graphed by tools like GNU Plot. On Windows running MSYS2, the following command sequence will produce a graph on the screen:

make hello_world_adaptive ./hello_world_adaptive.exe gnuplot.exe ../examples/hello_world_adaptive.gp

Definition in file hello_world_adaptive.cpp.