Detailed Description
max foreseeing white score
Definition in file score_forswh.cpp.
#include "gcg/class_partialdecomp.h"#include "gcg/class_detprobdata.h"#include "gcg/cons_decomp.h"#include "gcg/cons_decomp.hpp"#include "gcg/score_forswh.h"Go to the source code of this file.
Data Structures | |
| struct | GCG_ScoreData |
Macros | |
| #define | SCORE_NAME "max foreseeing white" |
| #define | SCORE_SHORTNAME "forswh" |
| #define | SCORE_DESC "maximum foreseeing white area score (considering copied linking vars and their master conss; white area is nonblock and nonborder area)" |
| #define | scoreFreeForswh NULL |
Functions | |
| static | GCG_DECL_SCORECALC (scoreCalcForswh) |
| SCIP_RETCODE | GCGincludeScoreForswh (GCG *gcg) |
Macro Definition Documentation
◆ SCORE_NAME
| #define SCORE_NAME "max foreseeing white" |
Definition at line 44 of file score_forswh.cpp.
◆ SCORE_SHORTNAME
| #define SCORE_SHORTNAME "forswh" |
Definition at line 45 of file score_forswh.cpp.
◆ SCORE_DESC
| #define SCORE_DESC "maximum foreseeing white area score (considering copied linking vars and their master conss; white area is nonblock and nonborder area)" |
Definition at line 46 of file score_forswh.cpp.
◆ scoreFreeForswh
| #define scoreFreeForswh NULL |
destructor of score to free user data (called when GCG is exiting)
Definition at line 70 of file score_forswh.cpp.
Function Documentation
◆ GCG_DECL_SCORECALC()
|
static |
Definition at line 73 of file score_forswh.cpp.
References b, GCGconshdlrDecompGetPartialdecFromID(), gcg::PARTIALDECOMP::getConssForBlock(), gcg::DETPROBDATA::getConssForVar(), gcg::PARTIALDECOMP::getDetprobdata(), gcg::PARTIALDECOMP::getLinkingvars(), gcg::PARTIALDECOMP::getNBlocks(), gcg::PARTIALDECOMP::getNConss(), gcg::PARTIALDECOMP::getNConssForBlock(), gcg::DETPROBDATA::getNConssForVar(), gcg::PARTIALDECOMP::getNLinkingvars(), gcg::PARTIALDECOMP::getNMasterconss(), gcg::PARTIALDECOMP::getNStairlinkingvars(), gcg::PARTIALDECOMP::getNTotalStairlinkingvars(), gcg::PARTIALDECOMP::getNVars(), gcg::PARTIALDECOMP::getNVarsForBlock(), SCIP_INVALID, SCIP_OKAY, and SCIP_Real.
◆ GCGincludeScoreForswh()
| SCIP_RETCODE GCGincludeScoreForswh | ( | GCG * | gcg | ) |
creates the max foreseeing white score and includes it in SCIP
- Parameters
-
gcg GCG data structure
Definition at line 185 of file score_forswh.cpp.
References GCGincludeScore(), NULL, SCIP_CALL, SCIP_OKAY, SCORE_DESC, SCORE_NAME, SCORE_SHORTNAME, and scoreFreeForswh.
Referenced by GCGincludeGcgPlugins().