RealVectorBounds.h
The lower and upper bounds for an Rn space.
Definition: RealVectorBounds.h:48
std::vector< double > getDifference() const
Get the difference between the high and low bounds for each dimension: result[i] = high[i] - low[i].
Definition: RealVectorBounds.cpp:62
double getVolume() const
Compute the volume of the space enclosed by the bounds.
Definition: RealVectorBounds.cpp:71
void setLow(double value)
Set the lower bound in each dimension to a specific value.
Definition: RealVectorBounds.cpp:42
void setHigh(double value)
Set the upper bound in each dimension to a specific value.
Definition: RealVectorBounds.cpp:47
RealVectorBounds(unsigned int dim)
Constructor; dim represents the dimension of the space these bounds are for.
Definition: RealVectorBounds.h:51
void resize(std::size_t size)
Change the number of dimensions for the bounds.
Definition: RealVectorBounds.cpp:83
void check() const
Check if the bounds are valid (same length for low and high, high[i] > low[i]). Throw an exception if...
Definition: RealVectorBounds.cpp:89
Main namespace. Contains everything in this library.
Definition: ConstrainedSpaceInformation.h:53