OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Classes | Typedefs | Enumerations
Types.h File Reference
#include <map>
#include <utility>
#include <vector>
#include "boost/tuple/tuple.hpp"
#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_tnamedReqVar_t
 
typedef std::map< std::string, reqVarInfo_treqVarContainer_t
 
typedef boost::tuple< std::string, double, double > DVar_t
 type of design variables More...
 
typedef std::pair< std::string, DVar_tnamedDVar_t
 
typedef std::map< std::string, DVar_tDVarContainer_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 boost::tuple<std::string, double, double> DVar_t

type of design variables

Definition at line 84 of file Types.h.

◆ DVarContainer_t

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

Definition at line 92 of file Types.h.

◆ namedDVar_t

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

Definition at line 91 of file Types.h.

◆ namedReqVar_t

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

Definition at line 78 of file Types.h.

◆ namedVariable_t

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

Definition at line 45 of file Types.h.

◆ namedVariableCollection_t

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

Definition at line 46 of file Types.h.

◆ Param_t

Definition at line 48 of file Types.h.

◆ reqVarContainer_t

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

Definition at line 79 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 49 of file Types.h.

Enumeration Type Documentation

◆ DVar_tIdx

enum DVar_tIdx
Enumerator
VAR_NAME 
LOWER_BOUND 
UPPER_BOUND 

Definition at line 85 of file Types.h.

◆ InfoType_t

enum InfoType_t
Enumerator
EVALUATE 
DERIVATE 

Definition at line 42 of file Types.h.

◆ Position_t

enum Position_t
Enumerator
TIME 
POSITION 

Definition at line 43 of file Types.h.

◆ Role_t

enum Role_t

roles a processor can attain

Enumerator
WORKER 
OPTIMIZER 
POLLER 
UNASSIGNED 

Definition at line 35 of file Types.h.