RVLSI Application. More...

#include <rvlsiapp.h>

Inheritance diagram for RVLSIApp:
[legend]
Collaboration diagram for RVLSIApp:
[legend]

Public Member Functions

 RVLSIApp (const R::RString &name, int argc, char *argv[])
 
R::RConfigGetVLSIConfig (void)
 
virtual void CreateConfig (void)
 
virtual void Init (void)
 
R::RProblem2DCreateSession (const R::RString &file)
 
R::RProblem2DGetSession (void) const
 
void DeleteSession (void)
 
R::RString GetLogFileName (void) const
 
void SetLogFileName (const R::RString &name)
 
R::RString GetDebugFileName (void) const
 
void SetDebugFileName (const R::RString &name)
 
void WriteLog (const R::RString &str)
 
void Apply (void)
 
virtual ~RVLSIApp (void)
 

Public Attributes

bool Step
 
bool ComputeFreePolygons
 
bool UseFreePolygons
 
bool AllOrientations
 
R::RParamStructHeurDist
 
R::RParamStructHeurArea
 
R::RParamStructSelectDist
 
R::RParamStructSelectWeight
 
R::RString Heuristic
 
size_t MaxGen
 
size_t StepGen
 
size_t PopSize
 
bool WeightedDistances
 

Protected Attributes

R::RTextFileLog
 
R::RDebugXMLDebug
 
R::RProblem2DSession
 
R::RString LogFileName
 
R::RString DebugFileName
 
R::RConfig VLSIConfig
 

Additional Inherited Members

Detailed Description

RVLSI Application.

The RVLSIApp class represents a generic application running a session.

Constructor & Destructor Documentation

RVLSIApp ( const R::RString name,
int  argc,
char *  argv[] 
)

Construct the application.

Parameters
nameName of the application.
argcNumber of arguments.
argvArguments.
virtual ~RVLSIApp ( void  )
virtual

Destruct the application.

Member Function Documentation

R::RConfig* GetVLSIConfig ( void  )

Get a pointer over the configuration of GALILEI.

virtual void CreateConfig ( void  )
virtual

Create the configuration structure. New parameters can be added by defining a new method.

Reimplemented from RApplication.

virtual void Init ( void  )
virtual

Initialization of the application.

R::RProblem2D* CreateSession ( const R::RString file)

Create the session.

Parameters
fileFile containing the VLSI session.
R::RProblem2D* GetSession ( void  ) const

Get the session.

void DeleteSession ( void  )

Delete the session.

R::RString GetLogFileName ( void  ) const

Get the name of the log file.

void SetLogFileName ( const R::RString name)

Set the name of the log file.

Parameters
nameName.
R::RString GetDebugFileName ( void  ) const
Returns
the name of the debug file.
void SetDebugFileName ( const R::RString name)

Set the name of the debug file.

Parameters
nameName.
void WriteLog ( const R::RString str)

Write to the log file something (if a log file is defined).

void Apply ( void  )

Apply the configuration.

Member Data Documentation

R::RTextFile* Log
protected

A log file.

R::RDebugXML* Debug
protected

Debug file.

R::RProblem2D* Session
protected

The Session.

R::RString LogFileName
protected

The Log file.

R::RString DebugFileName
protected

The debug file.

R::RConfig VLSIConfig
protected

Main configuration of VSLI.

bool Step

Run the heuristics in step mode.

bool ComputeFreePolygons

Calculate free polygons.

bool UseFreePolygons

Use free polygons.

bool AllOrientations

Test all possible orientation.

R::RParamStruct* HeurDist

PROMETHEE Parameters for Heuristic Distance.

R::RParamStruct* HeurArea

PROMETHEE Parameters for Heuristic Area.

R::RParamStruct* SelectDist

PROMETHEE Parameters for Selection Distance.

R::RParamStruct* SelectWeight

PROMETHEE Parameters for Selection Weight.

R::RString Heuristic

Heuristic to used for the GA.

size_t MaxGen

Maximum number of generation.

size_t StepGen

Step of generation.

size_t PopSize

Size of the Population.

bool WeightedDistances

Should the distances computed be weighted?.