32 #ifndef __PEDIGREE_DATA_H__ 33 #define __PEDIGREE_DATA_H__ 35 #include <scip/scip.h> int * ages
The ages of each individual.
Definition: pedigree_data.h:45
char * sexes
The initially supplied sex of each individual.
Definition: pedigree_data.h:47
Problem data that relates solely to pedigree-based constraints.
Definition: pedigree_data.h:38
SCIP_RETCODE PE_deallocatePedigreeData(SCIP *scip, PedigreeData **pd)
Deallocates the memory associated with a PedigreeData structure.
Definition: pedigree_data.c:41
SCIP_VAR ** SexVars
Variable recording whether each individual is female.
Definition: pedigree_data.h:43
SCIP_RETCODE PE_parse(SCIP *scip, char *str, PedigreeData **pd)
Parses a PedigreeData structure from a sting.
Definition: pedigree_data.c:156
SCIP_RETCODE PE_writeToFile(SCIP *scip, FILE *file, PedigreeData *pd)
Writes a PedigreeData structure to file.
Definition: pedigree_data.c:100
int n
The number of individuals with pedigree data.
Definition: pedigree_data.h:41
SCIP_RETCODE PE_copyPedigreeData(SCIP *scip, PedigreeData *original, PedigreeData **duplicate)
Makes a deep copy of a PedigreeData structure.
Definition: pedigree_data.c:62