8 #ifndef INCLUDE_MOLASSEMBLER_DISTANCE_GEOMETRY_VALUE_BOUNDS_H
9 #define INCLUDE_MOLASSEMBLER_DISTANCE_GEOMETRY_VALUE_BOUNDS_H
15 namespace Molassembler {
17 namespace DistanceGeometry {
40 : lower(passLower), upper(passUpper)
43 throw std::runtime_error(
"Passed lower value is not smaller than the upper value!");
bool operator!=(const ValueBounds &other) const
Negates operator ==.
bool operator==(const ValueBounds &other) const
Returns whether the bounds exactly equal another set of bounds.
Data class for bounded values.
Definition: ValueBounds.h:23
constexpr ValueBounds(double passLower, double passUpper)
Main constructor.
Definition: ValueBounds.h:39
ValueBounds()
Default constructor yields double lowest/max pair.