Scippy

GCG

Branch-and-Price & Column Generation for Everyone

scoretype.h File Reference

Detailed Description

miscellaneous methods for working with SCORETYPE

Author
Erik Muehmer

Definition in file scoretype.h.

#include "type_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...
 

Function Documentation

◆ GCGscoretypeGetDescription()

const char* GCGscoretypeGetDescription ( SCORETYPE  sctype)

returns the description of the given scoretype

Returns
description of the scoretype
Parameters
sctypescoretype

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
Parameters
sctypescoretype

Definition at line 80 of file scoretype.c.

References scoretype_shortnames.

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