Main Page   Namespace List   Alphabetical List   Compound List   File List   Compound Members   File Members  

interface.cpp File Reference

PSI User Interface. More...

#include "interface.h"

Functions

void See_model ()
 Give HBF data in memory. More...

void OpenModel (const string path_model)
 Opening protocol of input models (discrete and continuous). More...

void See_simu ()
 Probability estimated results. More...

void Bye ()
 PSI goodbye message. More...

void Credits ()
 PSI credits message. More...

psi_options Menu ()
 PSI interface menu. More...

void Conversion ()
 Conversion from HBF 'column' format to HBF 'row' format. More...

void Stat ()
 Statistics results of coalesce time. More...

void Unif ()
 Uniformization of continuous time model. More...

void Walk ()
 Aliasing representation for discrete distributions. More...

void Sorry ()
 Temporary unvailable option. More...

bool ExistsFile (const string file_name)
 Test if a file exists or not. More...

bool Overwrite (string file_name)
 Permisson of overwrite an existing path. More...


Detailed Description

PSI User Interface.

Author:
- Florent.Morata@imag.fr
Date:
November 27, 2002.

Function Documentation

void Bye  
 

PSI goodbye message.

void Conversion  
 

Conversion from HBF 'column' format to HBF 'row' format.

Returns:
Corresponding file of new (classical) HBF format.

void Credits  
 

PSI credits message.

bool ExistsFile const string    file_name
 

Test if a file exists or not.

Returns:
true if the file exists, false otherwise.

psi_options Menu  
 

PSI interface menu.

Returns:
an psi_options corresponding to the asked PSI action.

void OpenModel const string    path_model
 

Opening protocol of input models (discrete and continuous).

bool Overwrite string    file_name
 

Permisson of overwrite an existing path.

Parameters:
file_name  a string corresponding to the output test file.
Returns:
True if user want to overwrite an existing file, false otherwise.

void See_model  
 

Give HBF data in memory.

void See_simu  
 

Probability estimated results.

void Sorry  
 

Temporary unvailable option.

void Stat  
 

Statistics results of coalesce time.

We give an input 'sample' file to obtain classical statistics results of CFTP algorithm iterations.

void Unif  
 

Uniformization of continuous time model.

It returns a 'unif' file which contains discrete equivalent model (in terms of stationary distribution).

void Walk  
 

Aliasing representation for discrete distributions.

User has choice to 'row' or 'column' storage of Walker arrays. But be careful !!! Only 'column' storage is adapted to PSI simulation.


Generated on Tue Dec 10 12:44:21 2002 for PSI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002