lucid  0.0.1
Lifting-based Uncertain Control Invariant Dynamics
Loading...
Searching...
No Matches
lucid::constants Namespace Reference

Constants values used in the lucid library. More...

Variables

constexpr bool GUROBI_BUILD
 Whether Lucid is built with the Gurobi library.
 
constexpr bool ALGLIB_BUILD
 Whether Lucid is built with the Alglib library.
 
constexpr bool HIGHS_BUILD
 Whether Lucid is built with the Highs library.
 
constexpr bool SOPLEX_BUILD
 Whether Lucid is built with the Soplex library.
 
constexpr bool PSOCPP_BUILD
 Whether Lucid is built with the pso-cpp library.
 
constexpr bool MATPLOTLIB_BUILD
 Whether Lucid is built with the Matplotlib library.
 
constexpr bool CUDA_BUILD
 Whether Lucid is built with CUDA support.
 
constexpr bool OMP_BUILD
 Whether Lucid is built with OpenMP support.
 
constexpr bool DEBUG_BUILD
 Whether Lucid is built in debug mode.
 
constexpr bool RELEASE_BUILD
 Whether Lucid is built in relase mode.
 
constexpr bool RUNTIME_CHECKS_ENABLED
 Whether runtime checks are enabled.
 
constexpr bool ASSERT_CHECKS_ENABLED
 Whether runtime assertions are enabled.
 
constexpr bool LOG_ENABLED
 Whether logging is enabled.
 

Detailed Description

Constants values used in the lucid library.

Usually dependent on the build configuration.

Variable Documentation

◆ ASSERT_CHECKS_ENABLED

bool lucid::constants::ASSERT_CHECKS_ENABLED
constexpr
Initial value:
=
true

Whether runtime assertions are enabled.

Assertions are possibly expensive internal consistency checks used to verify the correctness of the code.

◆ RUNTIME_CHECKS_ENABLED

bool lucid::constants::RUNTIME_CHECKS_ENABLED
constexpr
Initial value:
=
true

Whether runtime checks are enabled.

Runtime checks are responsible for throwing a LucidInvalidArgumentException when function preconditions are violated.