OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Namespaces | Macros | Functions | Variables
hypervolume.cpp File Reference
#include <stdio.h>
#include <stdbool.h>
#include <math.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "wfg.h"
#include "avl.h"
#include <string>
#include "hypervolume.h"
Include dependency graph for hypervolume.cpp:

Go to the source code of this file.

Namespaces

 Hypervolume
 

Macros

#define MAXIMISING   true
 
#define BEATS(x, y)   (x < y)
 
#define WORSE(x, y)   (BEATS(y,x) ? (x) : (y))
 

Functions

double Hypervolume::hv (FRONT)
 
int Hypervolume::greater (const void *v1, const void *v2)
 
int Hypervolume::dominates2way (POINT p, POINT q)
 
void Hypervolume::makeDominatedBit (FRONT ps, int p)
 
double Hypervolume::hv2 (FRONT ps)
 
double Hypervolume::hv3_AVL (FRONT ps)
 
double Hypervolume::inclhv (POINT p)
 
double Hypervolume::exclhv (FRONT ps, int p)
 
double Hypervolume::FromFile (std::string file, const std::vector< double > &referencePoint)
 

Variables

int Hypervolume::n
 
POINT Hypervolume::ref
 
FRONTHypervolume::fs
 
int Hypervolume::fr = 0
 
int Hypervolume::frmax = -1
 
int Hypervolume::maxm = 0
 
int Hypervolume::maxn = 0
 

Macro Definition Documentation

#define BEATS (   x,
 
)    (x < y)

Definition at line 50 of file hypervolume.cpp.

Referenced by Hypervolume::dominates2way(), and Hypervolume::greater().

#define MAXIMISING   true

Definition at line 45 of file hypervolume.cpp.

#define WORSE (   x,
 
)    (BEATS(y,x) ? (x) : (y))

Definition at line 53 of file hypervolume.cpp.

Referenced by Hypervolume::makeDominatedBit().