MiscVisualization Class Reference

Detailed Description

Definition at line 47 of file class_miscvisualization.h.

#include <class_miscvisualization.h>

Public Member Functions

 MiscVisualization ()
 
 ~MiscVisualization ()
 
SCIP_RETCODE GCGgetVisualizationFilename (SCIP *scip, SeeedPtr seeed, const char *extension, char *filename)
 
char * GCGgetFilePath (SCIP *scip, FILE *file)
 
void GCGshowVisualization (SCIP *scip, char *filename)
 
SeeedpoolGCGgetSeeedpoolForSeeed (SCIP *scip, int seeedid)
 

Constructor & Destructor Documentation

MiscVisualization::MiscVisualization ( )

constructor

Definition at line 52 of file class_miscvisualization.cpp.

MiscVisualization::~MiscVisualization ( )

destructor

Definition at line 55 of file class_miscvisualization.cpp.

Member Function Documentation

char * MiscVisualization::GCGgetFilePath ( SCIP *  scip,
FILE *  file 
)

gives the path of the file

Returns
path of file

gives the path of the file

Parameters
scipscip data structure
filefile

Definition at line 107 of file class_miscvisualization.cpp.

Referenced by GCGtexWriteMakefileAndReadme(), GCGwriteTexReport(), and SCIP_DECL_READERWRITE().

Seeedpool * MiscVisualization::GCGgetSeeedpoolForSeeed ( SCIP *  scip,
int  seeedid 
)
SCIP_RETCODE MiscVisualization::GCGgetVisualizationFilename ( SCIP *  scip,
SeeedPtr  seeed,
const char *  extension,
char *  filename 
)

gives a consistent filename for a (single) seeed visualization that includes the probname and seeedID

Returns
standardized filename
Parameters
scipscip data structure
seeedseeed that is to be visualized
extensionfile extension (to be included in the name)
filenamefilename output

Definition at line 61 of file class_miscvisualization.cpp.

References gcg::Seeed::getDetectorChainString(), gcg::Seeed::getID(), and gcg::Seeed::getNBlocks().

Referenced by DECwriteAllDecomps(), GCGwriteTexFamilyTree(), GCGwriteTexReport(), GCGwriteTexVisualization(), SCIP_DECL_READERWRITE(), and gcg::Seeed::showVisualisation().

void MiscVisualization::GCGshowVisualization ( SCIP *  scip,
char *  filename 
)

compiles visualization files in gp or tex format and opens the resulting pdf file with the

Returns
path of file
Parameters
scipscip data structure
filenamefilename (including path)