Detailed Description
max white score
Definition in file score_maxwhite.cpp.
#include "gcg/class_partialdecomp.h"#include "gcg/class_detprobdata.h"#include "gcg/cons_decomp.h"#include "gcg/cons_decomp.hpp"#include "gcg/score_maxwhite.h"Go to the source code of this file.
Data Structures | |
| struct | GCG_ScoreData |
Macros | |
| #define | SCORE_NAME "max white" |
| #define | SCORE_SHORTNAME "maxwhi" |
| #define | SCORE_DESC "maximum white area score (white area is nonblock and nonborder area)" |
| #define | scoreFreeMaxwhite NULL |
Functions | |
| static | GCG_DECL_SCORECALC (scoreCalcMaxwhite) |
| SCIP_RETCODE | GCGincludeScoreMaxwhite (GCG *gcg) |
Macro Definition Documentation
◆ SCORE_NAME
| #define SCORE_NAME "max white" |
Definition at line 43 of file score_maxwhite.cpp.
◆ SCORE_SHORTNAME
| #define SCORE_SHORTNAME "maxwhi" |
Definition at line 44 of file score_maxwhite.cpp.
◆ SCORE_DESC
| #define SCORE_DESC "maximum white area score (white area is nonblock and nonborder area)" |
Definition at line 45 of file score_maxwhite.cpp.
◆ scoreFreeMaxwhite
| #define scoreFreeMaxwhite NULL |
destructor of score to free user data (called when GCG is exiting)
Definition at line 70 of file score_maxwhite.cpp.
Referenced by GCGincludeScoreMaxwhite().
Function Documentation
◆ GCG_DECL_SCORECALC()
|
static |
Definition at line 73 of file score_maxwhite.cpp.
References gcg::PARTIALDECOMP::calcBlockAreaScore(), GCG_DECL_SCORECALC, GCGconshdlrDecompFindScore(), GCGconshdlrDecompGetPartialdecFromID(), and gcg::PARTIALDECOMP::getScore().
◆ GCGincludeScoreMaxwhite()
| SCIP_RETCODE GCGincludeScoreMaxwhite | ( | GCG * | gcg | ) |
creates the max white score and includes it in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 100 of file score_maxwhite.cpp.
References GCGincludeScore(), GCGincludeScoreMaxwhite(), SCIP_CALL(), SCORE_DESC, SCORE_NAME, SCORE_SHORTNAME, and scoreFreeMaxwhite.
Referenced by GCGincludeGcgPlugins(), and GCGincludeScoreMaxwhite().