OPAL (Object Oriented Parallel Accelerator Library)  2024.1
OPAL
wfg.h
Go to the documentation of this file.
1 #ifndef _WFG_H_
2 #define _WFG_H_
3 
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <string.h>
7 
8 typedef double OBJECTIVE;
9 
10 typedef struct
11 {
13  struct avl_node_t * tnode;
14 } POINT;
15 
16 typedef struct
17 {
18  int nPoints;
19  int n;
21 } FRONT;
22 
23 typedef struct
24 {
25  int nFronts;
27 } FILECONTENTS;
28 
29 FILECONTENTS *readFile(const char[]);
30 
31 extern void printContents(FILECONTENTS *);
32 
33 #endif
OBJECTIVE * objectives
Definition: wfg.h:12
int n
Definition: wfg.h:19
FRONT * fronts
Definition: wfg.h:26
void printContents(FILECONTENTS *f)
Definition: read.cpp:19
double OBJECTIVE
Definition: wfg.h:8
Definition: avl.h:52
FILECONTENTS * readFile(const char filename[])
Definition: read.cpp:40
int nPoints
Definition: wfg.h:18
struct avl_node_t * tnode
Definition: wfg.h:13
Definition: wfg.h:10
Definition: wfg.h:16
int nFronts
Definition: wfg.h:25
POINT * points
Definition: wfg.h:20