Command Line Interface

It is also possible to run the code straight from the command line.

greedypermutation

Compute a greedy permutation of the points in the pointsfile.

The output will be saved to the file specified by outfile.

By default it will run the Clarkson algorithm. If –algorithm quadratic is specified, then the quadratic algorithm will be used.

The –tree and `–notree flags determine if the tree is included in the output. This is managed by appending the index of the predecessor after a semicolon.

greedypermutation [OPTIONS] POINTSFILE

Options

--outfile <outfile>

Where to store the output.

--algorithm <algorithm>

Which algorithm to use: quadratic or clarkson.

Options

clarkson|quadratic

--tree, --notree

Include the entire tree in the output or not.

Arguments

POINTSFILE

Required argument