OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
reqVarInfo Struct Reference

#include <Types.h>

Collaboration diagram for reqVarInfo:

Public Member Functions

template<class Archive>
void serialize (Archive &ar, const unsigned int)

Public Attributes

InfoType_t type
std::vector< double > value
bool is_valid

Detailed Description

type of an expression value is either a single double in case of objectives and for constraints we include the value of LHS and RHS. a requested variable has the following form:

  • type of the request (derivation, evaluation, ...)

  • vector value (objectives just a single value; constraints return three values: actual value, lhs value, rhs value)

  • boolean denoting the status of the evaluation and if the returned result is valid

Definition at line 65 of file Types.h.

Member Function Documentation

◆ serialize()

template<class Archive>
void reqVarInfo::serialize ( Archive & ar,
const unsigned int  )
inline

Definition at line 71 of file Types.h.

References is_valid, type, and value.

Member Data Documentation

◆ is_valid

bool reqVarInfo::is_valid

Definition at line 68 of file Types.h.

Referenced by serialize().

◆ type

InfoType_t reqVarInfo::type

Definition at line 66 of file Types.h.

Referenced by serialize().

◆ value

std::vector<double> reqVarInfo::value

Definition at line 67 of file Types.h.

Referenced by serialize().


The documentation for this struct was generated from the following file: