GOBNILP
f164d83
|
Function declarations for metadata.c. More...
#include "scip/scip.h"
#include "parent_set_data.h"
#include "pedigree_data.h"
#include "property_data.h"
Go to the source code of this file.
Functions | |
ParentSetData * | MD_getParentSetData (SCIP *scip) |
Gets the parent set information associated with the problem. More... | |
PedigreeData * | MD_getPedigreeData (SCIP *scip) |
Gets the pedigree information associated with the problem. More... | |
PropertyData * | MD_getPropertyData (SCIP *scip) |
Gets the property information associated with the problem. More... | |
SCIP_RETCODE | MD_initialiseMetadata (SCIP *scip) |
Initialised the metadata, so that information can be stored in it. More... | |
SCIP_RETCODE | MD_setParentSetData (SCIP *scip, ParentSetData *psd) |
Sets the parent set data associated with the problem. More... | |
SCIP_RETCODE | MD_setPedigreeData (SCIP *scip, PedigreeData *pd) |
Sets the pedigree data associated with the problem. More... | |
SCIP_RETCODE | MD_setPropertyData (SCIP *scip, PropertyData *pd) |
Sets the property data associated with the problem. More... | |
Function declarations for metadata.c.
ParentSetData* MD_getParentSetData | ( | SCIP * | scip | ) |
Gets the parent set information associated with the problem.
Note that this will return the actual stored data structure, not a copy.
scip | The SCIP instance the metadata belongs to. |
References CONSHDLR_NAME.
Referenced by BN_addMECNonRepetitionConstraint(), BN_addNonRepetitionConstraint(), BN_doIterativePrint(), BN_printcountsols(), BN_printScores(), BN_readProblem(), and SCIP_DECL_HEUREXEC().
PedigreeData* MD_getPedigreeData | ( | SCIP * | scip | ) |
Gets the pedigree information associated with the problem.
Note that this will return the actual stored data structure, not a copy.
scip | The SCIP instance the metadata belongs to. |
References CONSHDLR_NAME.
Referenced by assignSexVariables(), PD_addPedigreeSpecificConstraints(), PD_getCurrentPedigreeVarValues(), and PD_printSolutionPedigreeFormat().
PropertyData* MD_getPropertyData | ( | SCIP * | scip | ) |
Gets the property information associated with the problem.
Note that this will return the actual stored data structure, not a copy.
scip | The SCIP instance the metadata belongs to. |
References CONSHDLR_NAME.
SCIP_RETCODE MD_initialiseMetadata | ( | SCIP * | scip | ) |
Initialised the metadata, so that information can be stored in it.
This function must be called before attempting to add data using MD_setParentSetData().
scip | The SCIP instance to which the metadata will belong. |
References CONSHDLR_NAME.
Referenced by BN_includePlugins().
SCIP_RETCODE MD_setParentSetData | ( | SCIP * | scip, |
ParentSetData * | psd | ||
) |
Sets the parent set data associated with the problem.
This method should only be called once, when the metadata first becomes available for storage. If the information needs changing at a later date, call MD_getParentSetData() and modify the data structure directly.
scip | The SCIP instance the metdata relates to. |
psd | The parent set data for the problem |
References createBlankConstraint(), getConshdlrDataIfExists(), PARENT_SET_NAME, and PS_copyParentSetData().
Referenced by readProblemInNonCIPFormat().
SCIP_RETCODE MD_setPedigreeData | ( | SCIP * | scip, |
PedigreeData * | pd | ||
) |
Sets the pedigree data associated with the problem.
This method should only be called once, when the metadata first becomes available for storage. If the information needs changing at a later date, call MD_getPedigreeData() and modify the data structure directly.
scip | The SCIP instance the metdata relates to. |
pd | The pedigree data for the problem |
References createBlankConstraint(), getConshdlrDataIfExists(), PE_copyPedigreeData(), and PEDIGREE_NAME.
Referenced by PD_addPedigreeSpecificConstraints().
SCIP_RETCODE MD_setPropertyData | ( | SCIP * | scip, |
PropertyData * | prop | ||
) |
Sets the property data associated with the problem.
This method should only be called once, when the metadata first becomes available for storage. If the information needs changing at a later date, call MD_getPropertyData() and modify the data structure directly.
scip | The SCIP instance the metdata relates to. |
prop | The property data for the problem |
References createBlankConstraint(), getConshdlrDataIfExists(), PR_copyPropertyData(), and PROPERTY_NAME.
Referenced by readProblemInNonCIPFormat().