Hypervolumes.h File Reference

Go to the source code of this file.

Namespaces

 shark
 AbstractMultiObjectiveOptimizer.
 

Macros

#define HV(type, vol10, vol100)
 

Macro Definition Documentation

◆ HV

#define HV (   type,
  vol10,
  vol100 
)
Value:
double optimal_hyper_volume(type const &, std::size_t mu) { \
switch(mu){ \
case 10: return vol10; \
case 100: return vol100; \
} \
throw SHARKEXCEPTION("No known hypervolume for " #type \
" for mu = " + std::to_string(mu)); \
}

Definition at line 11 of file Hypervolumes.h.