QHV
Compute HyperVolumes sequentially
|
Simple point interface. Contains simple point manipulation functions. More...
#include <stdio.h>
#include <math.h>
#include <float.h>
#include "emmintrin.h"
#include "macros.h"
#include "pointStruct.h"
Go to the source code of this file.
Macros | |
#define | Eps 0.0000000001 |
#define | equal(A, B, I) (fabs((A)->x[I] - (B)->x[I]) < Eps) |
#define | objective(Z, A, O) HV(Z, A) |
Functions | |
void | parsePoint (char *S, point *p, double max) |
void | randomPoint (point *p) |
while (i< D) | |
if (V[1]< V[0]) V[0] | |
Variables | |
point | cZero |
point | cOne |
static point * | pvt |
static point unsigned int | oct |
static point unsigned int point * | zero |
int | i = 0 |
B = 1 | |
static point unsigned int point * | one |
static point * | a |
res = 0 | |
__m128d * | o = (__m128d*)&(one->x[0]) |
__m128d * | z = (__m128d*)&(zero->x[0]) |
double * | V = (double*) &c |
A volume value for every dimension + 1. | |
int | d = 0 |
c = _mm_set1_pd(1) | |
static point * | pt |
__m128d | s |
__m128d * | p = (__m128d*)&(pt->x[0]) |
static point * | A |
__m128d * | b = (__m128d*)&(B->x[0]) |
__m128d * | r = (__m128d*)&(res->x[0]) |
Simple point interface. Contains simple point manipulation functions.
Definition in file point.h.
#define equal | ( | A, | |
B, | |||
I | |||
) | (fabs((A)->x[I] - (B)->x[I]) < Eps) |
#define objective | ( | Z, | |
A, | |||
O | |||
) | HV(Z, A) |
void parsePoint | ( | char * | S, |
point * | p, | ||
double | max | ||
) |
void randomPoint | ( | point * | p | ) |