roadrunner
2.6.0
Fast simulator for SBML models
|
Options for loading SBML into RoadRunner. More...
#include <rrRoadRunnerOptions.h>
Public Types | |
enum | LLVM_BACKEND_VALUES { MCJIT = (0x1 << 14) , LLJIT = (0x1 << 15) } |
enum | LLJIT_OPTIMIZATION_LEVELS { NONE = (0x1 << 16) , LESS = (0x1 << 17) , DEFAULT = (0x1 << 18) , AGGRESSIVE = (0x1 << 19) } |
enum | ModelGeneratorOpt { CONSERVED_MOIETIES = (0x1 << 0) , RECOMPILE = (0x1 << 1) , READ_ONLY = (0x1 << 2) , MUTABLE_INITIAL_CONDITIONS = (0x1 << 3) , OPTIMIZE_GVN = (0x1 << 4) , OPTIMIZE_CFG_SIMPLIFICATION = (0x1 << 5) , OPTIMIZE_INSTRUCTION_COMBINING = (0x1 << 6) , OPTIMIZE_DEAD_INST_ELIMINATION = (0x1 << 7) , OPTIMIZE_DEAD_CODE_ELIMINATION = (0x1 << 8) , OPTIMIZE_INSTRUCTION_SIMPLIFIER = (0x1 << 9) , OPTIMIZE , USE_MCJIT = (0x1 << 10) , LLVM_SYMBOL_CACHE = (0x1 << 11) , TURN_ON_VALIDATION = (0x1 << 12) } |
enum | LoadOpt { NO_DEFAULT_SELECTIONS = (0x1 << 0) , NO_DEFAULT_STEADY_STATE_SELECTIONS = (0x1 << 1) } |
![]() | |
using | item = std::pair< std::string, Setting > |
Public Member Functions | |
LoadSBMLOptions () | |
initializes the struct with the default options. | |
LoadSBMLOptions (const Dictionary *dict) | |
creates an object from an existing dictionary. | |
void | setItem (const std::string &key, const rr::Setting &value) override |
sets an item in the internal unordered std::map. | |
Setting | getItem (const std::string &key) const override |
gets an item from the internal unordered std::map. | |
bool | hasKey (const std::string &key) const override |
is there a key matching this name. More... | |
size_t | deleteItem (const std::string &key) override |
remove a value | |
std::vector< std::string > | getKeys () const override |
list of keys in this object. | |
bool | getConservedMoietyConversion () const |
void | setConservedMoietyConversion (bool val) |
void | setValidation (bool val) |
void | setLLVMBackend (LoadSBMLOptions::LLVM_BACKEND_VALUES val) |
void | setLLJitOptimizationLevel (LLJIT_OPTIMIZATION_LEVELS levels) |
![]() | |
BasicDictionary (std::initializer_list< item > initializerList) | |
~BasicDictionary () override=default | |
Pure virtual interface, you should never have to delete an instance of this type directly. | |
![]() | |
virtual | ~Dictionary () |
Pure virtual interface, you should never have to delete an instance of this type directly. | |
Static Public Member Functions | |
static std::vector< LLVM_BACKEND_VALUES > | getAllLLVMBackendValues () |
static std::vector< LLJIT_OPTIMIZATION_LEVELS > | getAllLLJitOptimizationValues () |
Public Attributes | |
std::uint16_t | version |
the version this struct | |
std::uint16_t | size |
sizeof this struct | |
std::uint32_t | modelGeneratorOpt |
std::uint32_t | loadFlags |
Additional Inherited Members | |
![]() | |
typedef std::unordered_map< std::string, Setting > | VariantMap |
![]() | |
VariantMap | items |
Options for loading SBML into RoadRunner.
Future version may add additional fields to the end of this struct, this way we can maintain binary compatibility with older RoadRunner versions.
|
overridevirtual |
is there a key matching this name.
Reimplemented from rr::BasicDictionary.