score.c
Go to the documentation of this file.
35/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
67 SCIP_CALL( GCGconshdlrDecompIncludeScore(gcg, name, shortname, description, scoredata, scorefree, scorecalc) );
88 * @brief searches for the score with the given shortname and returns it or NULL if score is not found
GCG_SCORE ** GCGconshdlrDecompGetScores(GCG *gcg)
Gets an array of all scores.
Definition: cons_decomp.cpp:3928
GCG_SCORE * GCGconshdlrDecompFindScoreByShortname(GCG *gcg, const char *shortname)
searches for the score with the given shortname and returns it or NULL if score is not found
Definition: cons_decomp.cpp:2385
int GCGconshdlrDecompGetNScores(GCG *gcg)
Gets the number of all scores.
Definition: cons_decomp.cpp:4091
SCIP_RETCODE GCGconshdlrDecompIncludeScore(GCG *gcg, const char *name, const char *shortname, const char *description, GCG_SCOREDATA *scoredata, GCG_DECL_SCOREFREE((*scorefree)),)
Definition: cons_decomp.cpp:2822
GCG_SCORE * GCGconshdlrDecompFindScore(GCG *gcg, const char *name)
searches for the score with the given name and returns it or NULL if score is not found
Definition: cons_decomp.cpp:2357
constraint handler for structure detection
#define SCIP_CALL(x)
GCG interface methods.
void GCGscoreSetData(GCG_SCORE *score, GCG_SCOREDATA *scoredata)
Definition: score.c:133
GCG_SCORE * GCGfindScoreByShortname(GCG *gcg, const char *shortname)
searches for the score with the given shortname and returns it or NULL if score is not found
Definition: score.c:91
SCIP_RETCODE GCGincludeScore(GCG *gcg, const char *name, const char *shortname, const char *description, GCG_SCOREDATA *scoredata, GCG_DECL_SCOREFREE((*scorefree)), GCG_DECL_SCORECALC((*scorecalc)))
creates a score and includes it in GCG
Definition: score.c:50
GCG_SCORE * GCGfindScore(GCG *gcg, const char *name)
searches for the score with the given name and returns it or NULL if score is not found
Definition: score.c:76
#define NULL
Definition: class_conspartition.cpp:44
#define SCIPerrorMessage
public methods for score
Definition: score_bender.cpp:52
Definition: struct_score.h:49
Definition: struct_gcg.h:55
data structures for score
SCIP_INVALIDDATA
SCIP_OKAY
enum SCIP_Retcode SCIP_RETCODE