Empirical
Classes | Namespaces | Functions
Range.h File Reference

A simple way to track value ranges. More...

#include <limits>
#include "../base/assert.h"
#include "../base/vector.h"

Go to the source code of this file.

Classes

class  emp::Range< T >
 A range of values from a lower limit to and upper limit, of any provided type. More...
 

Namespaces

 emp
 If we are in emscripten, make sure to include the header.
 

Functions

template<typename T >
Range< T > emp::MakeRange (T _l, T _u)
 Build a new range with auto-detected type. More...
 
Range< int > emp::IntRange (int _l, int _u)
 Build a new range of type int. More...
 
Range< double > emp::DRange (double _l, double _u)
 Build a new range of type double. More...
 

Detailed Description

A simple way to track value ranges.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2016-2018
Note
Status: BETA