type_score.h File Reference
Detailed Description
type definitions for score
Definition in file type_score.h.
Go to the source code of this file.
Macros | |
| #define | GCG_DECL_SCOREFREE(x) SCIP_RETCODE x (GCG* gcg, GCG_SCORE* score) |
| #define | GCG_DECL_SCORECALC(x) SCIP_RETCODE x (GCG* gcg, GCG_SCORE* score, int partialdecid, SCIP_Real* scorevalue) |
Typedefs | |
| typedef struct GCG_Score | GCG_SCORE |
| typedef struct GCG_ScoreData | GCG_SCOREDATA |
Macro Definition Documentation
◆ GCG_DECL_SCOREFREE
| #define GCG_DECL_SCOREFREE | ( | x | ) | SCIP_RETCODE x (GCG* gcg, GCG_SCORE* score) |
destructor of score to free score data (called when GCG is exiting)
input:
- gcg : GCG main data structure
- score : score data structure
Definition at line 55 of file type_score.h.
◆ GCG_DECL_SCORECALC
| #define GCG_DECL_SCORECALC | ( | x | ) | SCIP_RETCODE x (GCG* gcg, GCG_SCORE* score, int partialdecid, SCIP_Real* scorevalue) |
calculates the score value of partialdecid and stores it in scorevalue
input:
- gcg : GCG data structure
- score : score data structure
- partialdecid : id of partialdec to calculate its score
- scorevalue : value of the score
Definition at line 66 of file type_score.h.
Typedef Documentation
◆ GCG_SCORE
score data structure
Definition at line 45 of file type_score.h.
◆ GCG_SCOREDATA
| typedef struct GCG_ScoreData GCG_SCOREDATA |
score specific data
Definition at line 46 of file type_score.h.