StateVariable class
#include <gtopt/state_variable.hpp>
Base classes
- struct LPVariable
Public types
- struct Key
- using DependentVariable = LPVariable
-
using LPKey = gtopt::
LPKey
Public static functions
- static auto key(const ScenarioLP& scenario, const StageLP& stage, std::string_view class_name, Uid element_uid, std::string_view col_name) noexcept -> Key -> constexpr auto
- static auto key(const StageLP& stage, std::string_view class_name, Uid element_uid, std::string_view col_name) noexcept -> Key -> constexpr auto
-
static auto key(std::string_view class_name,
Uid uid,
std::string_view col_name,
PhaseIndex phase_index,
StageUid stage_uid,
SceneIndex scene_index = SceneIndex {unknown_
index}, ScenarioUid scenario_uid = ScenarioUid {unknown_ uid}) noexcept -> Key -> constexpr auto
Public functions
- auto add_dependent_variable(const ScenarioLP& scenario, const StageLP& stage, ColIndex col) -> const DependentVariable & -> constexpr auto
- auto add_dependent_variable(LPKey lp_key, ColIndex col) -> const DependentVariable & -> constexpr auto
- auto col() const noexcept -> ColIndex -> constexpr auto
- auto dependent_variables() const noexcept -> std::span< const DependentVariable > -> constexpr auto
- auto lp_key() const noexcept -> const LPKey & -> constexpr auto
- auto phase_index() const noexcept -> PhaseIndex -> constexpr auto
- auto scene_index() const noexcept -> SceneIndex -> constexpr auto
- auto StateVariable(LPKey lp_key, ColIndex col) -> constexpr explicit noexcept