Detailed Description
parameter settings for visualization readers
Definition in file params_visu.c.
#include "gcg/params_visu.h"#include "gcg/type_decomp.h"#include "gcg/cons_decomp.h"#include "gcg/relax_gcg.h"#include "scip/scip.h"#include <limits.h>#include <string.h>Go to the source code of this file.
Data Structures | |
| struct | GCG_ParamData |
Macro Definition Documentation
◆ PARAM_NAME
| #define PARAM_NAME "paramsvisu" |
Definition at line 48 of file params_visu.c.
◆ PARAM_DESC
| #define PARAM_DESC "parameters for visualization" |
Definition at line 49 of file params_visu.c.
◆ COLOR_WHITE
| #define COLOR_WHITE "#FFFFFF" |
standard white
Definition at line 52 of file params_visu.c.
◆ COLOR_BLUE1
| #define COLOR_BLUE1 "#ACBCE9" |
very light blue
Definition at line 53 of file params_visu.c.
◆ COLOR_BLUE2
| #define COLOR_BLUE2 "#718CDB" |
light blue
Definition at line 54 of file params_visu.c.
◆ COLOR_BLUE3
| #define COLOR_BLUE3 "#3C64DD" |
middle blue
Definition at line 55 of file params_visu.c.
◆ COLOR_BLUE4
| #define COLOR_BLUE4 "#1340C7" |
dark blue
Definition at line 56 of file params_visu.c.
◆ COLOR_BLUE5
| #define COLOR_BLUE5 "#1F377D" |
very dark blue
Definition at line 57 of file params_visu.c.
◆ COLOR_ORANGE1
| #define COLOR_ORANGE1 "#FFD88F" |
very light orange
Definition at line 58 of file params_visu.c.
◆ COLOR_ORANGE2
| #define COLOR_ORANGE2 "#FFCB69" |
light orange
Definition at line 59 of file params_visu.c.
◆ COLOR_ORANGE3
| #define COLOR_ORANGE3 "#FFB72D" |
orange
Definition at line 60 of file params_visu.c.
◆ COLOR_BROWN1
| #define COLOR_BROWN1 "#B38208" |
light brown
Definition at line 61 of file params_visu.c.
◆ COLOR_BROWN2
| #define COLOR_BROWN2 "#886100" |
brown
Definition at line 62 of file params_visu.c.
◆ COLOR_BROWN3
| #define COLOR_BROWN3 "#443000" |
dark brown
Definition at line 63 of file params_visu.c.
◆ COLOR_BLACK
| #define COLOR_BLACK "#000000" |
standard black
Definition at line 64 of file params_visu.c.
◆ DEFAULT_COLOR_MASTERVARS
| #define DEFAULT_COLOR_MASTERVARS COLOR_BLUE4 |
for mastervars (in block area)
Definition at line 67 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorMastervars().
◆ DEFAULT_COLOR_MASTERCONSS
| #define DEFAULT_COLOR_MASTERCONSS COLOR_BLUE4 |
for masterconss
Definition at line 68 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorMasterconss().
◆ DEFAULT_COLOR_LINKING
| #define DEFAULT_COLOR_LINKING COLOR_ORANGE3 |
for linking areas
Definition at line 69 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorLinking().
◆ DEFAULT_COLOR_STAIRLINKING
| #define DEFAULT_COLOR_STAIRLINKING COLOR_BROWN2 |
for stairlinking areas
Definition at line 70 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorStairlinking().
◆ DEFAULT_COLOR_BLOCK
| #define DEFAULT_COLOR_BLOCK COLOR_BLUE2 |
for finished blocks
Definition at line 71 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorBlock().
◆ DEFAULT_COLOR_OPEN
| #define DEFAULT_COLOR_OPEN COLOR_ORANGE1 |
for open (not assigned) elements
Definition at line 72 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorOpen().
◆ DEFAULT_COLOR_NONZERO
| #define DEFAULT_COLOR_NONZERO COLOR_BLACK |
for nonzero dots
Definition at line 73 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorNonzero().
◆ DEFAULT_COLOR_LINE
| #define DEFAULT_COLOR_LINE COLOR_BLACK |
for outlines of blocks
Definition at line 74 of file params_visu.c.
Referenced by GCGcreateParamsVisu(), and GCGvisuGetColorLine().
◆ GREY_COLOR_MASTERVARS
| #define GREY_COLOR_MASTERVARS "#323232" |
for mastervars (in block area)
Definition at line 77 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ GREY_COLOR_MASTERCONS
| #define GREY_COLOR_MASTERCONS "#666666" |
◆ GREY_COLOR_LINKING
| #define GREY_COLOR_LINKING "#4C4C4C" |
◆ GREY_COLOR_STAIRLINKING
| #define GREY_COLOR_STAIRLINKING "#191919" |
for stairlinking areas
Definition at line 80 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ GREY_COLOR_BLOCK
| #define GREY_COLOR_BLOCK "#d3d3d3" |
for finished blocks
Definition at line 81 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ GREY_COLOR_OPEN
| #define GREY_COLOR_OPEN "#7F7F7F" |
for open (not assigned) elements
Definition at line 82 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ GREY_COLOR_NONZERO
| #define GREY_COLOR_NONZERO COLOR_BLACK |
◆ GREY_COLOR_LINE
| #define GREY_COLOR_LINE COLOR_BLACK |
for outlines of blocks
Definition at line 84 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_VISU_DRAFTMODE
| #define DEFAULT_VISU_DRAFTMODE FALSE |
if true no nonzeros are shown in visualizations
Definition at line 87 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_VISU_COLORSCHEME
| #define DEFAULT_VISU_COLORSCHEME COLORSCHEME_DEFAULT |
is of type VISU_COLORSCHEME
Definition at line 88 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_VISU_RADIUS
| #define DEFAULT_VISU_RADIUS 2 |
possible scale: 1-10
Definition at line 89 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_VISU_USEGP
| #define DEFAULT_VISU_USEGP FALSE |
if true gnuplot is used for visualizations, otherwise LaTeX/Tikz
Definition at line 90 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_PDFREADER
| #define DEFAULT_PDFREADER "evince" |
< name of pdf reader, must be callable by system
Definition at line 102 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_REPORT_MAXNDECOMPS
| #define DEFAULT_REPORT_MAXNDECOMPS 20 |
maximum number of decomps to be shown in report
Definition at line 106 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_REPORT_SHOWTYPE
| #define DEFAULT_REPORT_SHOWTYPE 0 |
what type of decomps to show (GCG_DECTYPE, but 0 corresponds to 'show all')
Definition at line 107 of file params_visu.c.
◆ DEFAULT_REPORT_SHOWTITLEPAGE
| #define DEFAULT_REPORT_SHOWTITLEPAGE TRUE |
if true a titlepage is included
Definition at line 109 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_REPORT_SHOWTOC
| #define DEFAULT_REPORT_SHOWTOC TRUE |
if true a table of contents is included
Definition at line 110 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ DEFAULT_REPORT_SHOWSTATISTICS
| #define DEFAULT_REPORT_SHOWSTATISTICS TRUE |
if true statistics are included for each decomp
Definition at line 111 of file params_visu.c.
Referenced by GCGcreateParamsVisu().
◆ paramInitVisu
| #define paramInitVisu NULL |
Definition at line 693 of file params_visu.c.
Function Documentation
◆ GCGvisuGetDraftmode()
gets whether draftmode is on draftmode lets visualizations omit nonzeros
- Returns
- true if draftmode is on
- Parameters
-
gcg GCG data structure
Definition at line 156 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuGetDraftmode(), and GCG_ParamData::visudraftmode.
Referenced by GCGvisuGetDraftmode(), writeGpPartialdec(), and writeTexPartialdec().
◆ GCGvisuSetDraftmode()
sets draftmode draftmode lets visualizations omit nonzeros
- Parameters
-
gcg GCG data structure setmode true iff draftmode should be on
Definition at line 173 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetDraftmode(), and GCG_ParamData::visudraftmode.
Referenced by GCGvisuSetDraftmode().
◆ GCGvisuGetColorscheme()
| VISU_COLORSCHEME GCGvisuGetColorscheme | ( | GCG * | gcg | ) |
gets the colorscheme for visualizations
- Returns
- current colorscheme
- Parameters
-
gcg GCG data structure
Definition at line 188 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuGetColorscheme(), and GCG_ParamData::visucolorscheme.
Referenced by GCGvisuGetColorBlock(), GCGvisuGetColorLine(), GCGvisuGetColorLinking(), GCGvisuGetColorMasterconss(), GCGvisuGetColorMastervars(), GCGvisuGetColorNonzero(), GCGvisuGetColorOpen(), GCGvisuGetColorscheme(), and GCGvisuGetColorStairlinking().
◆ GCGvisuSetColorscheme()
| void GCGvisuSetColorscheme | ( | GCG * | gcg, |
| VISU_COLORSCHEME | newscheme ) |
sets colorscheme for visualizations
- Parameters
-
gcg GCG data structure newscheme new colorscheme
Definition at line 204 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorscheme(), and GCG_ParamData::visucolorscheme.
Referenced by GCGvisuSetColorscheme().
◆ GCGvisuGetColorMasterconss()
| const char * GCGvisuGetColorMasterconss | ( | GCG * | gcg | ) |
gets color for mastercons block in current color scheme
- Returns
- mastercons color
- Parameters
-
gcg GCG data structure
Definition at line 220 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_MASTERCONSS, GCGgetParamsVisu(), GCGvisuGetColorMasterconss(), GCGvisuGetColorscheme(), GCG_ParamData::greycolormasterconss, and GCG_ParamData::mancolormasterconss.
Referenced by GCGvisuGetColorMasterconss(), writeGpPartialdec(), and writeTexHeader().
◆ GCGvisuGetColorMastervars()
| const char * GCGvisuGetColorMastervars | ( | GCG * | gcg | ) |
gets color for mastervar block in current color scheme
- Returns
- mastervar color
- Parameters
-
gcg GCG data structure
Definition at line 247 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_MASTERVARS, GCGgetParamsVisu(), GCGvisuGetColorMastervars(), GCGvisuGetColorscheme(), GCG_ParamData::greycolormastervars, and GCG_ParamData::mancolormastervars.
Referenced by GCGvisuGetColorMastervars(), and writeTexHeader().
◆ GCGvisuGetColorLinking()
| const char * GCGvisuGetColorLinking | ( | GCG * | gcg | ) |
gets color for linking blocks in current color scheme
- Returns
- linking color
- Parameters
-
gcg GCG data structure
Definition at line 274 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_LINKING, GCGgetParamsVisu(), GCGvisuGetColorLinking(), GCGvisuGetColorscheme(), GCG_ParamData::greycolorlinking, and GCG_ParamData::mancolorlinking.
Referenced by GCGvisuGetColorLinking(), writeGpPartialdec(), and writeTexHeader().
◆ GCGvisuGetColorStairlinking()
| const char * GCGvisuGetColorStairlinking | ( | GCG * | gcg | ) |
gets color for stairlinking blocks in current color scheme
- Returns
- stairlinking color
- Parameters
-
gcg GCG data structure
Definition at line 301 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_STAIRLINKING, GCGgetParamsVisu(), GCGvisuGetColorscheme(), GCGvisuGetColorStairlinking(), GCG_ParamData::greycolorstairlinking, and GCG_ParamData::mancolorstairlinking.
Referenced by GCGvisuGetColorStairlinking(), writeGpPartialdec(), and writeTexHeader().
◆ GCGvisuGetColorBlock()
| const char * GCGvisuGetColorBlock | ( | GCG * | gcg | ) |
gets color for normal decomp blocks in current color scheme
- Returns
- block color
- Parameters
-
gcg GCG data structure
Definition at line 328 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_BLOCK, GCGgetParamsVisu(), GCGvisuGetColorBlock(), GCGvisuGetColorscheme(), GCG_ParamData::greycolorblock, and GCG_ParamData::mancolorblock.
Referenced by GCGvisuGetColorBlock(), writeGpPartialdec(), and writeTexHeader().
◆ GCGvisuGetColorOpen()
| const char * GCGvisuGetColorOpen | ( | GCG * | gcg | ) |
gets color for open blocks in current color scheme
- Returns
- open color
- Parameters
-
gcg GCG data structure
Definition at line 355 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_OPEN, GCGgetParamsVisu(), GCGvisuGetColorOpen(), GCGvisuGetColorscheme(), GCG_ParamData::greycoloropen, and GCG_ParamData::mancoloropen.
Referenced by GCGvisuGetColorOpen(), writeGpPartialdec(), and writeTexHeader().
◆ GCGvisuGetColorNonzero()
| const char * GCGvisuGetColorNonzero | ( | GCG * | gcg | ) |
gets color for non-zero points in current color scheme
- Returns
- non-zero color
- Parameters
-
gcg GCG data structure
Definition at line 382 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_NONZERO, GCGgetParamsVisu(), GCGvisuGetColorNonzero(), GCGvisuGetColorscheme(), GCG_ParamData::greycolornonzero, and GCG_ParamData::mancolornonzero.
Referenced by GCGvisuGetColorNonzero(), writeGpNonzeros(), and writeTexHeader().
◆ GCGvisuGetColorLine()
| const char * GCGvisuGetColorLine | ( | GCG * | gcg | ) |
gets color for lines in current color scheme
- Returns
- line color
- Parameters
-
gcg GCG data structure
Definition at line 409 of file params_visu.c.
References assert(), COLORSCHEME_GREY, COLORSCHEME_MANUAL, DEFAULT_COLOR_LINE, GCGgetParamsVisu(), GCGvisuGetColorLine(), GCGvisuGetColorscheme(), GCG_ParamData::greycolorline, and GCG_ParamData::mancolorline.
Referenced by drawGpBox(), GCGvisuGetColorLine(), and writeTexHeader().
◆ GCGvisuSetColorManMasterconss()
| void GCGvisuSetColorManMasterconss | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets color for mastercons block in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 435 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManMasterconss(), and GCG_ParamData::mancolormasterconss.
Referenced by GCGvisuSetColorManMasterconss().
◆ GCGvisuSetColorManMastervars()
| void GCGvisuSetColorManMastervars | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets manual color for mastervar block in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 450 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManMastervars(), and GCG_ParamData::mancolormastervars.
Referenced by GCGvisuSetColorManMastervars().
◆ GCGvisuSetColorManLinking()
| void GCGvisuSetColorManLinking | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets manual color for linking blocks in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 465 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManLinking(), and GCG_ParamData::mancolorlinking.
Referenced by GCGvisuSetColorManLinking().
◆ GCGvisuSetColorManStairlinking()
| void GCGvisuSetColorManStairlinking | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets manual color for stairlinking blocks in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 480 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManStairlinking(), and GCG_ParamData::mancolorstairlinking.
Referenced by GCGvisuSetColorManStairlinking().
◆ GCGvisuSetColorManBlock()
| void GCGvisuSetColorManBlock | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets manual color for normal decomp blocks in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 495 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManBlock(), and GCG_ParamData::mancolorblock.
Referenced by GCGvisuSetColorManBlock().
◆ GCGvisuSetColorManOpen()
| void GCGvisuSetColorManOpen | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets manual color for open blocks in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 510 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManOpen(), and GCG_ParamData::mancoloropen.
Referenced by GCGvisuSetColorManOpen().
◆ GCGvisuSetColorManNonzero()
| void GCGvisuSetColorManNonzero | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets manual color for non-zero points in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 524 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManNonzero(), and GCG_ParamData::mancolornonzero.
Referenced by GCGvisuSetColorManNonzero().
◆ GCGvisuSetColorManLine()
| void GCGvisuSetColorManLine | ( | GCG * | gcg, |
| const char * | newcolor ) |
sets manual color for lines in current color scheme
- Parameters
-
gcg GCG data structure newcolor new color
Definition at line 539 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuSetColorManLine(), and GCG_ParamData::mancolorline.
Referenced by GCGvisuSetColorManLine().
◆ GCGvisuGetNonzeroRadius()
| float GCGvisuGetNonzeroRadius | ( | GCG * | gcg, |
| int | maxindx, | ||
| int | maxindy, | ||
| float | scalingfactor ) |
gets appropriate radius for nonzeros needs highest indices of both axes for scaling
- Returns
- radius
- Parameters
-
gcg GCG data structure maxindx highest index x-axis maxindy highest index y-axis scalingfactor percentage to scale radius, 1 if no scaling
Definition at line 555 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGvisuGetNonzeroRadius(), scalingfactor, and GCG_ParamData::visuradius.
Referenced by GCGvisuGetNonzeroRadius(), writeGpPartialdec(), and writeTexPartialdec().
◆ GCGgetUseGp()
if true gp reader should be used for sub-visualizations, otherwise tex reader
- Returns
- true if gp reader should be used, false if tex reader should be used
- Parameters
-
gcg GCG data structure
Definition at line 593 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGgetUseGp(), and GCG_ParamData::visuusegp.
Referenced by GCGgetUseGp(), reportAllDecompositions(), and writeTexHeader().
◆ GCGVisuGetPdfReader()
| const char * GCGVisuGetPdfReader | ( | GCG * | gcg | ) |
gets the name of the pdf reader that should be used
- Returns
- name of pdf reader
- Parameters
-
gcg GCG data structure
Definition at line 610 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGVisuGetPdfReader(), and GCG_ParamData::pdfreader.
Referenced by GCGVisuGetPdfReader(), and gcg::PARTIALDECOMP::showVisualization().
◆ GCGreportGetMaxNDecomps()
| int GCGreportGetMaxNDecomps | ( | GCG * | gcg | ) |
gets the max number of decomps to be included in reports
- Returns
- max number of decomps
- Parameters
-
gcg GCG data structure
Definition at line 627 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGreportGetMaxNDecomps(), and GCG_ParamData::rep_maxndecomps.
Referenced by GCGreportGetMaxNDecomps(), and GCGwriteTexReport().
◆ GCGreportGetShowTitlepage()
gets whether a titlepage should be included in reports
- Returns
- true iff title page should be generated
- Parameters
-
gcg GCG data structure
Definition at line 644 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGreportGetShowTitlepage(), and GCG_ParamData::rep_showtitle.
Referenced by GCGreportGetDecompTypeToShow(), GCGreportGetShowTitlepage(), and reportAllDecompositions().
◆ GCGreportGetShowToc()
gets whether a table of contents should be included in reports
- Returns
- true iff table of contents should be generated
- Parameters
-
gcg GCG data structure
Definition at line 661 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGreportGetShowToc(), and GCG_ParamData::rep_showtoc.
Referenced by GCGreportGetDecompTypeToShow(), GCGreportGetShowToc(), and reportAllDecompositions().
◆ GCGreportGetShowStatistics()
gets whether statistics should be included for each decomp in reports
- Returns
- true iff statistics for each decomp should be generated
- Parameters
-
gcg GCG data structure
Definition at line 678 of file params_visu.c.
References assert(), GCGgetParamsVisu(), GCGreportGetShowStatistics(), and GCG_ParamData::rep_statistics.
Referenced by GCGreportGetDecompTypeToShow(), GCGreportGetShowStatistics(), and reportAllDecompositions().
◆ GCGVisuFreeParams()
| void GCGVisuFreeParams | ( | GCG * | gcg, |
| GCG_PARAMDATA * | paramdata ) |
frees all visualization parameters
- Parameters
-
gcg GCG data structure paramdata input empty paramdata, oputput new set of param data
Definition at line 696 of file params_visu.c.
References assert(), GCGgetOrigprob(), GCGVisuFreeParams(), GCG_ParamData::greycolorblock, GCG_ParamData::greycolorline, GCG_ParamData::greycolorlinking, GCG_ParamData::greycolormasterconss, GCG_ParamData::greycolormastervars, GCG_ParamData::greycolornonzero, GCG_ParamData::greycoloropen, GCG_ParamData::greycolorstairlinking, origprob, and SCIPfreeMemory().
Referenced by GCGreportGetDecompTypeToShow(), GCGVisuFreeParams(), and SCIP_DECL_RELAXFREE().
◆ GCGcreateParamsVisu()
| SCIP_RETCODE GCGcreateParamsVisu | ( | GCG * | gcg, |
| GCG_PARAMDATA ** | paramdata ) |
includes the visualization parameters into GCG & initializes them
includes the visualization parameters into GCG
- Returns
- SCIP return code
- Parameters
-
gcg GCG data structure paramdata input empty paramdata, output new set of param data
Definition at line 720 of file params_visu.c.
References assert(), DEFAULT_COLOR_BLOCK, DEFAULT_COLOR_LINE, DEFAULT_COLOR_LINKING, DEFAULT_COLOR_MASTERCONSS, DEFAULT_COLOR_MASTERVARS, DEFAULT_COLOR_NONZERO, DEFAULT_COLOR_OPEN, DEFAULT_COLOR_STAIRLINKING, DEFAULT_PDFREADER, DEFAULT_REPORT_MAXNDECOMPS, DEFAULT_REPORT_SHOWSTATISTICS, DEFAULT_REPORT_SHOWTITLEPAGE, DEFAULT_REPORT_SHOWTOC, DEFAULT_VISU_COLORSCHEME, DEFAULT_VISU_DRAFTMODE, DEFAULT_VISU_RADIUS, DEFAULT_VISU_USEGP, GCGcreateParamsVisu(), GCGgetOrigprob(), GREY_COLOR_BLOCK, GREY_COLOR_LINE, GREY_COLOR_LINKING, GREY_COLOR_MASTERCONS, GREY_COLOR_MASTERVARS, GREY_COLOR_NONZERO, GREY_COLOR_OPEN, GREY_COLOR_STAIRLINKING, origprob, and SCIP_CALL().
Referenced by GCGcreateParamsVisu(), and initRelaxdata().