OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
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
Definition: wfg.h:16
int nPoints
Definition: wfg.h:18
Definition: avl.h:52
int nFronts
Definition: wfg.h:25
struct avl_node_t * tnode
Definition: wfg.h:13
POINT * points
Definition: wfg.h:20
int n
Definition: wfg.h:19
OBJECTIVE * objectives
Definition: wfg.h:12
FILECONTENTS * readFile(const char filename[])
Definition: read.cpp:40
FRONT * fronts
Definition: wfg.h:26
Definition: wfg.h:10
void printContents(FILECONTENTS *f)
Definition: read.cpp:19
double OBJECTIVE
Definition: wfg.h:8