Requirements:

* A relatively recent C++ compiler. Tested with GNU g++ 9.4.0 on Ubuntu 20.04.
* Boost libraries. Only the program_options library is used. Tested with Boost 1.71.0

Compilation (in case of g++):

g++ BM2D.cpp -std=c++11 -lboost_program_options -Wall -O3 -o BM2D

will produce a binary BM2D. Similar for BM3D. 

Running:

./BM2D -a 1.1 -n 1000 -r 100 -d 50

will produce a distance histogram (with maximal distance 50) of 1000 samples of the Mated-CRT maps with 100 vertices, based on a biased Brownian excursion in a 2d cone with opening angle 1.1.

Try

./BM2D --help

for a listing of all options.

