solution.h
Go to the documentation of this file.
1 
9 #ifndef _SOLUTION_H_
10 #define _SOLUTION_H_
11 
12 #include "vector.h"
13 #include "out-object.h"
14 
18 typedef struct Solution {
20  Vector(OutObject) outobjects;
21 } Solution;
22 
27 void initSolution(Solution* sol);
28 
33 void freeSolution(Solution* sol);
34 
35 #endif // _SOLUTION_H_
Contains all the attributes and relations that compose an OutObject.
Definition: out-object.h:17
void initSolution(Solution *sol)
Initilialize the Solution.
Definition: solution.c:10
Contains the definition of the OutObject.
void freeSolution(Solution *sol)
Free the Solution previously initialized by initSolution.
Definition: solution.c:14
Vector(OutObject) outobjects
An array of OutObject, each one representing a solution.
struct Solution Solution
Contains all the possible solutions.
Contains the definition of the vectors (dynamic & generic arrays)
Contains all the possible solutions.
Definition: solution.h:18