NOMAD Source
Version 4.0.0 Beta
|
Evaluation at a point. More...
#include <functional>
#include "../Eval/BBOutput.hpp"
#include "../Math/Double.hpp"
#include "../Param/EvalParameters.hpp"
#include "../nomad_nsbegin.hpp"
#include "../nomad_nsend.hpp"
Go to the source code of this file.
Classes | |
class | Eval |
Class for the representation of an evaluation at a point. More... | |
Typedefs | |
typedef std::unique_ptr< Eval > | EvalUPtr |
Definition for evaluation unique pointer. More... | |
Enumerations | |
enum | EvalStatusType { EvalStatusType::EVAL_NOT_STARTED, EvalStatusType::EVAL_FAILED, EvalStatusType::EVAL_ERROR, EvalStatusType::EVAL_USER_REJECTED, EvalStatusType::EVAL_CONS_H_OVER, EvalStatusType::EVAL_OK, EvalStatusType::EVAL_IN_PROGRESS, EvalStatusType::EVAL_STATUS_UNDEFINED } |
Type for an evaluation status. More... | |
Functions | |
std::string | enumStr (const EvalStatusType evalStatus) |
Utility to convert an eval status to a string. More... | |
std::ostream & | operator<< (std::ostream &out, const EvalStatusType &evalStatus) |
Output raw eval status. More... | |
std::istream & | operator>> (std::istream &is, EvalStatusType &evalStatus) |
Input eval status. More... | |
|
strong |
Type for an evaluation status.
Idea to implement: Eval diffentiates between a BB evaluation that failed (failure of the black box) and an evaluation that was interrupted (failure cause is external to the black box).
There is also states for evaluations that are not yet started, and evaluations that are currently running.
Definition at line 36 of file Eval.hpp.
std::string enumStr | ( | const EvalStatusType | evalStatus | ) |
Utility to convert an eval status to a string.
std::ostream& operator<< | ( | std::ostream & | out, |
const EvalStatusType & | evalStatus | ||
) |
Output raw eval status.
Does not do the same as enumStr.
std::istream& operator>> | ( | std::istream & | is, |
EvalStatusType & | evalStatus | ||
) |
Input eval status.