From fc46d20e8411fe4b67269733f69d8a9dded4a42f Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Tue, 10 Nov 2015 13:39:56 +0100 Subject: Add angle sets (disjoint ranges) - initial support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By adding a new angleset class, things get much easier to read. Also, the part of the previous commit that dealt with combining the individual ranges was kind of stupid. Things missing: o) functions to remove angle ranges from a set o) deferred add functions, that allow adding multiple ranges without calling the O(n²) function angleset::combine() in between. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a8ca74c..e14ca93 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,15 @@ Both points together made writing the correct conditions for upper and lower bou of the result ranges a pain, and I'm pretty certain there might still be the one or the other bug hidden. +##Compilation +The easiest way to compile this program is by using the included cmake file. Simply run cmake, +followed by make. The default build should use sane CFLAGS, and have the NDEBUG macro defined. + +If you, for whatever reason, prefer to compile manually, just link all the +.cpp files together in one executable. If you don't want to waste a lot of processor cycles, +make sure to define the NDEBUG macro, as otherwise some quite CPU-heavy assertion checks are in +place. For most compilers this can be done by passing the "-DNDEBUG" command line argument. + ##Usage Using this program is quite easy: Just supply the input as command line parameters in this order: a1, a2, alpha, b1min, b1max, b2min, b2max, betamin, betamax -- cgit v1.2.3