GOBNILP  f164d83
metadata.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * GOBNILP Copyright (C) 2012-2017 James Cussens, Mark Bartlett *
3  * *
4  * This program is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU General Public License as *
6  * published by the Free Software Foundation; either version 3 of the *
7  * License, or (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
12  * General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, see *
16  * <http://www.gnu.org/licenses>. *
17  * *
18  * Additional permission under GNU GPL version 3 section 7 *
19  * *
20  * If you modify this Program, or any covered work, by linking or *
21  * combining it with SCIP (or a modified version of that library), *
22  * containing parts covered by the terms of the ZIB Academic License, *
23  * the licensors of this Program grant you additional permission to *
24  * convey the resulting work. *
25  * *
26  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
27 
32 #ifndef __SCIP_METADATA_H__
33 #define __SCIP_METADATA_H__
34 
35 #include "scip/scip.h"
36 #include "parent_set_data.h"
37 #include "pedigree_data.h"
38 #include "property_data.h"
39 
40 extern SCIP_RETCODE MD_initialiseMetadata(SCIP* scip);
41 
42 extern SCIP_RETCODE MD_setParentSetData(SCIP* scip, ParentSetData* psd);
43 extern ParentSetData* MD_getParentSetData(SCIP* scip);
44 
45 extern SCIP_RETCODE MD_setPedigreeData(SCIP* scip, PedigreeData* pd);
46 extern PedigreeData* MD_getPedigreeData(SCIP* scip);
47 
48 extern SCIP_RETCODE MD_setPropertyData(SCIP* scip, PropertyData* pd);
49 extern PropertyData* MD_getPropertyData(SCIP* scip);
50 
51 #endif
Function and type declarations for property_data.c.
Function and type declarations for parent_set_data.c.
Problem data that relates solely to pedigree-based constraints.
Definition: pedigree_data.h:38
The basic data needed to record a collection of parent sets associated with a problem.
Definition: parent_set_data.h:48
PropertyData * MD_getPropertyData(SCIP *scip)
Gets the property information associated with the problem.
Definition: metadata.c:331
SCIP_RETCODE MD_setPedigreeData(SCIP *scip, PedigreeData *pd)
Sets the pedigree data associated with the problem.
Definition: metadata.c:267
SCIP_RETCODE MD_initialiseMetadata(SCIP *scip)
Initialised the metadata, so that information can be stored in it.
Definition: metadata.c:197
SCIP_RETCODE MD_setPropertyData(SCIP *scip, PropertyData *pd)
Sets the property data associated with the problem.
Definition: metadata.c:308
PedigreeData * MD_getPedigreeData(SCIP *scip)
Gets the pedigree information associated with the problem.
Definition: metadata.c:290
Problem data that is not directly related to the parent sets.
Definition: property_data.h:38
SCIP_RETCODE MD_setParentSetData(SCIP *scip, ParentSetData *psd)
Sets the parent set data associated with the problem.
Definition: metadata.c:226
Function and type declarations for pedigree_data.c.
ParentSetData * MD_getParentSetData(SCIP *scip)
Gets the parent set information associated with the problem.
Definition: metadata.c:249