parQHV
Compute HyperVolumes using threads
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Macros
constants.h
1
/*
2
*
3
* Copyright (c) Year(s), 2013, Luis M. S. Russo and Alexandre
4
* P. Francisco / KDBIO / INESC-ID, <qhv@kdbio.inesc-id.pt>
5
*
6
* Any published media that is related with to use of the distributed
7
* software, or derived software, must contain a reference to "Extending
8
* quick hypervolume. Luís M. S. Russo, Alexandre P. Francisco:
9
* J. Heuristics 22(3): 245-271 (2016)".
10
*
11
* Permission to use, copy, modify, and/or distribute this software for
12
* any purpose with or without fee is hereby granted, provided that the
13
* above copyright notice and this permission notice appear in all
14
* copies.
15
*
16
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
17
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
18
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
19
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
20
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
21
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
22
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
* PERFORMANCE OF THIS SOFTWARE.
24
*
25
*/
26
27
#ifndef CONSTANTS_H
28
#define CONSTANTS_H
29
30
#define NPOINTS 1001
31
33
#if D == 2
34
#define N 1
35
#define HSOL N-N
36
#elif D == 3
37
#define N 8 // Never Set larger than 31 for IEC
38
#define HSOL N-0
39
#elif D == 4
40
#define N 8
41
#define HSOL N-0
42
#elif D == 5
43
#define N 8
44
#define HSOL N-0
45
#elif D == 6
46
#define N 9
47
#define HSOL N-0
48
#elif D == 7
49
#define N 9
50
#define HSOL N-0
51
#elif D == 8
52
#define N 10
53
#define HSOL N-0
54
#elif D == 9
55
#define N 10
56
#define HSOL N-0
57
#elif D == 10
58
#define N 10
59
#define HSOL N-0
60
#elif D == 11
61
#define N 10
62
#define HSOL N-0
63
#elif D == 12
64
#define N 10
65
#define HSOL N-0
66
#elif D == 13
67
#define N 12
68
#define HSOL N-0
69
#elif D == 14
70
#define N 10
71
#define HSOL N-0
72
#elif D == 15
73
#define N 10
74
#define HSOL N-0
75
#else
76
#error Wrong D
77
#endif
/* D == ? */
78
79
80
#endif
/* CONSTANTS_H */
constants.h
Generated on Fri Sep 23 2016 11:31:07 for parQHV by
1.8.8