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

Referenced by makeDominatedBit().

◆ exclhv()

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

Definition at line 292 of file hypervolume.cpp.

References fr, fs, hv(), inclhv(), and makeDominatedBit().

Referenced by hv().

Here is the call graph for this function:

◆ FromFile()

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

Definition at line 336 of file hypervolume.cpp.

References avl_alloc_tree(), fs, greater(), hv(), hv2(), hyper_opt, maxm, maxn, n, readFile(), and ref.

Referenced by Population< Individual_t >::computeHypervolume().

Here is the call graph for this function:

◆ greater()

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

Definition at line 78 of file hypervolume.cpp.

References BEATS, fr, and n.

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, 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(), and ref.

Referenced by FromFile(), and hv().

Here is the call graph for this function:

◆ hv3_AVL()

double Hypervolume::hv3_AVL ( FRONT ps)

Definition at line 173 of file hypervolume.cpp.

References avl_clear_tree(), avl_init_node(), avl_insert_after(), avl_insert_top(), avl_search_closest(), avl_unlink_node(), avl_node_t::item, avl_node_t::next, avl_node_t::prev, and ref.

Referenced by hv().

Here is the call graph for this function:

◆ inclhv()

double Hypervolume::inclhv ( POINT p)

Definition at line 282 of file hypervolume.cpp.

References fabs(), n, 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, 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().