OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Functions | Variables
Hypervolume Namespace Reference

Functions

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

Variables

int n
 
POINT ref
 
FRONTfs
 
int fr = 0
 
int frmax = -1
 
int maxm = 0
 
int maxn = 0
 

Function Documentation

◆ dominates2way()

int Hypervolume::dominates2way ( POINT  p,
POINT  q 
)

Definition at line 95 of file hypervolume.cpp.

References BEATS, fr, n, and POINT::objectives.

Referenced by makeDominatedBit().

◆ exclhv()

double Hypervolume::exclhv ( FRONT  ps,
int  p 
)

Definition at line 292 of file hypervolume.cpp.

References fr, fs, hv(), inclhv(), makeDominatedBit(), FRONT::nPoints, and FRONT::points.

Referenced by hv().

Here is the call graph for this function:

◆ FromFile()

double Hypervolume::FromFile ( std::string  file,
const std::vector< double > &  referencePoint 
)

◆ greater()

int Hypervolume::greater ( const void *  v1,
const void *  v2 
)

Definition at line 78 of file hypervolume.cpp.

References BEATS, fr, n, and POINT::objectives.

Referenced by FromFile(), and hv().

◆ hv()

double Hypervolume::hv ( FRONT  ps)

Definition at line 306 of file hypervolume.cpp.

References exclhv(), fabs(), greater(), hv2(), hv3_AVL(), n, FRONT::nPoints, POINT::objectives, FRONT::points, and ref.

Referenced by exclhv(), and FromFile().

Here is the call graph for this function:

◆ hv2()

double Hypervolume::hv2 ( FRONT  ps)

Definition at line 161 of file hypervolume.cpp.

References fabs(), FRONT::nPoints, POINT::objectives, FRONT::points, and ref.

Referenced by FromFile(), and hv().

Here is the call graph for this function:

◆ hv3_AVL()

double Hypervolume::hv3_AVL ( FRONT  ps)

◆ inclhv()

double Hypervolume::inclhv ( POINT  p)

Definition at line 282 of file hypervolume.cpp.

References fabs(), n, POINT::objectives, and ref.

Referenced by exclhv().

Here is the call graph for this function:

◆ makeDominatedBit()

void Hypervolume::makeDominatedBit ( FRONT  ps,
int  p 
)

Definition at line 117 of file hypervolume.cpp.

References dominates2way(), fr, frmax, fs, maxm, maxn, n, FRONT::nPoints, POINT::objectives, FRONT::points, and WORSE.

Referenced by exclhv().

Here is the call graph for this function:

Variable Documentation

◆ fr

int Hypervolume::fr = 0

Definition at line 60 of file hypervolume.cpp.

Referenced by dominates2way(), exclhv(), greater(), and makeDominatedBit().

◆ frmax

int Hypervolume::frmax = -1

Definition at line 61 of file hypervolume.cpp.

Referenced by makeDominatedBit().

◆ fs

FRONT* Hypervolume::fs

Definition at line 59 of file hypervolume.cpp.

Referenced by exclhv(), FromFile(), and makeDominatedBit().

◆ maxm

int Hypervolume::maxm = 0

Definition at line 62 of file hypervolume.cpp.

Referenced by FromFile(), and makeDominatedBit().

◆ maxn

int Hypervolume::maxn = 0

Definition at line 63 of file hypervolume.cpp.

Referenced by FromFile(), and makeDominatedBit().

◆ n

int Hypervolume::n

Definition at line 56 of file hypervolume.cpp.

Referenced by dominates2way(), FromFile(), greater(), hv(), inclhv(), and makeDominatedBit().

◆ ref

POINT Hypervolume::ref

Definition at line 57 of file hypervolume.cpp.

Referenced by FromFile(), hv(), hv2(), hv3_AVL(), and inclhv().