OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Classes | Typedefs | Enumerations
Types.h File Reference
#include <iomanip>
#include <istream>
#include <limits>
#include <map>
#include <ostream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "Expression/Expression.h"
Include dependency graph for Types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  reqVarInfo
 

Typedefs

typedef std::pair< std::string, double > namedVariable_t
 
typedef std::map< std::string, double > namedVariableCollection_t
 
typedef namedVariableCollection_t Param_t
 
typedef namedVariableCollection_t variableDictionary_t
 
typedef struct reqVarInfo reqVarInfo_t
 
typedef std::pair< std::string, reqVarInfo_t > namedReqVar_t
 
typedef std::map< std::string, reqVarInfo_t > reqVarContainer_t
 
typedef std::tuple< std::string, double, double > DVar_t
 type of design variables
 
typedef std::pair< std::string, DVar_t > namedDVar_t
 
typedef std::map< std::string, DVar_t > DVarContainer_t
 

Enumerations

enum  Role_t { WORKER , OPTIMIZER , POLLER , UNASSIGNED }
 roles a processor can attain More...
 
enum  InfoType_t { EVALUATE , DERIVATE }
 
enum  Position_t { TIME , POSITION }
 
enum  DVar_tIdx { VAR_NAME , LOWER_BOUND , UPPER_BOUND }
 

Typedef Documentation

◆ DVar_t

typedef std::tuple<std::string, double, double> DVar_t

type of design variables

Definition at line 99 of file Types.h.

◆ DVarContainer_t

typedef std::map<std::string, DVar_t> DVarContainer_t

Definition at line 108 of file Types.h.

◆ namedDVar_t

typedef std::pair<std::string, DVar_t> namedDVar_t

Definition at line 107 of file Types.h.

◆ namedReqVar_t

typedef std::pair<std::string, reqVarInfo_t> namedReqVar_t

Definition at line 95 of file Types.h.

◆ namedVariable_t

typedef std::pair<std::string, double> namedVariable_t

Definition at line 49 of file Types.h.

◆ namedVariableCollection_t

typedef std::map<std::string, double> namedVariableCollection_t

Definition at line 50 of file Types.h.

◆ Param_t

Definition at line 52 of file Types.h.

◆ reqVarContainer_t

typedef std::map<std::string, reqVarInfo_t> reqVarContainer_t

Definition at line 96 of file Types.h.

◆ reqVarInfo_t

typedef struct reqVarInfo reqVarInfo_t

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

◆ variableDictionary_t

Definition at line 53 of file Types.h.

Enumeration Type Documentation

◆ DVar_tIdx

enum DVar_tIdx
Enumerator
VAR_NAME 
LOWER_BOUND 
UPPER_BOUND 

Definition at line 101 of file Types.h.

◆ InfoType_t

enum InfoType_t
Enumerator
EVALUATE 
DERIVATE 

Definition at line 46 of file Types.h.

◆ Position_t

enum Position_t
Enumerator
TIME 
POSITION 

Definition at line 47 of file Types.h.

◆ Role_t

enum Role_t

roles a processor can attain

Enumerator
WORKER 
OPTIMIZER 
POLLER 
UNASSIGNED 

Definition at line 39 of file Types.h.