Scippy

GCG

Branch-and-Price & Column Generation for Everyone

scoretype.c File Reference
#include "scoretype.h"

Go to the source code of this file.

Functions

const char * GCGscoretypeGetDescription (SCORETYPE sctype)
 returns the description of the given scoretype More...
 
const char * GCGscoretypeGetShortName (SCORETYPE sctype)
 Gets the shortname of the given scoretype. More...
 

Variables

const char * scoretype_shortnames []
 
const char * scoretype_descriptions []
 

Function Documentation

◆ GCGscoretypeGetDescription()

const char* GCGscoretypeGetDescription ( SCORETYPE  sctype)

returns the description of the given scoretype

Returns
description of the scoretype

Definition at line 73 of file scoretype.c.

References scoretype_descriptions.

Referenced by gcg::GCGdialogShowLegend(), and writeTexTitlepage().

◆ GCGscoretypeGetShortName()

const char* GCGscoretypeGetShortName ( SCORETYPE  sctype)

Gets the shortname of the given scoretype.

Returns
the shortname of the given Scoretype

Definition at line 80 of file scoretype.c.

References scoretype_shortnames.

Referenced by gcg::GCGdialogShowLegend(), gcg::GCGdialogShowMenu(), and gcg::GCGdialogSortBy().

Variable Documentation

◆ scoretype_shortnames

const char* scoretype_shortnames[]
Initial value:
=
{
"maxwhi",
"border",
"classi",
"forswh",
"spfwh",
"fawh",
"spfawh",
"bender",
"strode"
}

Definition at line 38 of file scoretype.c.

Referenced by GCGscoretypeGetShortName().

◆ scoretype_descriptions

const char* scoretype_descriptions[]
Initial value:
=
{
"maximum white area score (white area is nonblock and nonborder area)",
"minimum border score (i.e. minimizes fraction of border area score)",
"classical score",
"maximum foreseeing white area score (considering copied linking vars and their master conss; white area is nonblock and nonborder area)",
"setpartitioning maximum foreseeing white area score (convex combination of maximum foreseeing white area score and rewarding if master contains only setppc and cardinality constraints)",
"maximum foreseeing white area score with aggregation infos (considering copied linking vars and their master conss; white area is nonblock and nonborder area)",
"setpartitioning maximum foreseeing white area score with aggregation information (convex combination of maximum foreseeing white area score and rewarding if a master contains only setppc and cardinality constraints)",
"experimental score to evaluate benders decompositions",
"strong decomposition score",
}

Definition at line 51 of file scoretype.c.

Referenced by GCGscoretypeGetDescription().