#include <rvlsiapp.h>
Public Member Functions | |
RVLSIApp (const R::RString &name, int argc, char *argv[]) | |
R::RConfig * | GetVLSIConfig (void) |
virtual void | CreateConfig (void) |
virtual void | Init (void) |
R::RProblem2D * | CreateSession (const R::RString &file) |
R::RProblem2D * | GetSession (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::RParamStruct * | HeurDist |
R::RParamStruct * | HeurArea |
R::RParamStruct * | SelectDist |
R::RParamStruct * | SelectWeight |
R::RString | Heuristic |
size_t | MaxGen |
size_t | StepGen |
size_t | PopSize |
bool | WeightedDistances |
Protected Attributes | |
R::RTextFile * | Log |
R::RDebugXML * | Debug |
R::RProblem2D * | Session |
R::RString | LogFileName |
R::RString | DebugFileName |
R::RConfig | VLSIConfig |
Additional Inherited Members |
Detailed Description
Constructor & Destructor Documentation
RVLSIApp | ( | const R::RString & | name, |
int | argc, | ||
char * | argv[] | ||
) |
Construct the application.
- Parameters
-
name Name of the application. argc Number of arguments. argv Arguments.
|
virtual |
Destruct the application.
Member Function Documentation
R::RConfig* GetVLSIConfig | ( | void | ) |
Get a pointer over the configuration of GALILEI.
|
virtual |
Create the configuration structure. New parameters can be added by defining a new method.
Reimplemented from RApplication.
|
virtual |
Initialization of the application.
R::RProblem2D* CreateSession | ( | const R::RString & | file | ) |
Create the session.
- Parameters
-
file File 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
-
name Name.
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
-
name Name.
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
|
protected |
A log file.
|
protected |
Debug file.
|
protected |
The Session.
|
protected |
The Log file.
|
protected |
The debug file.
|
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?.