OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
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

namespace  Hypervolume

Macros

#define MAXIMISING   true
#define BEATS(x, y)
#define WORSE(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

◆ BEATS

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

Definition at line 50 of file hypervolume.cpp.

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

◆ MAXIMISING

#define MAXIMISING   true

Definition at line 45 of file hypervolume.cpp.

◆ WORSE

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

Definition at line 53 of file hypervolume.cpp.

Referenced by Hypervolume::makeDominatedBit().