NOMAD Source
Version 4.0.0 Beta
|
Go to the documentation of this file.
53 #ifndef __NOMAD400_BB_OUTPUT_TYPE__
54 #define __NOMAD400_BB_OUTPUT_TYPE__
60 #include "../nomad_nsbegin.hpp"
132 return os <<
"BBO_UNDEFINED";
144 for (it = bboutputtypelist.begin(); it != bboutputtypelist.end(); ++it)
158 #include "../nomad_nsend.hpp"
160 #endif // __NOMAD400_BB_OUTPUT_TYPE__
size_t getNbConstraints(const BBOutputTypeList &bbotList)
Count the number of constraints.
bool isConstraint(const BBOutputType &bbot)
Verify if the BBOutputType defines a constraint.
BBOutputTypeList stringToBBOutputTypeList(const std::string &s)
Utility for BBOutputType.
std::vector< BBOutputType > BBOutputTypeList
Definition for the list of blackbox output types.
BBOutputType
Blackbox output types.
bool BBOutputTypeIsConstraint(const BBOutputType &bbotType)
Helper to test if a BBOutputType is a constraint (PB, EB, ....)
std::ostream & operator<<(std::ostream &os, const BBOutputType &bbot)
Read and interpret BBOutputType.
BBOutputType stringToBBOutputType(const std::string &s)
Utility for BBOutputType.
std::string BBOutputTypeListToString(const BBOutputTypeList &bbotList)
Utility for BBOutputType.
BBOutputTypeList::const_iterator BBOutputTypeListIt
@ BBO_UNDEFINED
Output ignored.
@ EB
Extreme barrier constraint.
@ CNT_EVAL
Output set to 0 or 1 to count the blackbox evaluation or not.
@ PB
Progressive barrier constraint.
size_t getNbObj(const BBOutputTypeList &bbotList)
Count the number of objectives.