main.h File Reference

This file contains the main methods to start the PSO algorithm. More...

#include <string>
#include "general/general_objects.h"
#include "statistics/statistics.h"
Include dependency graph for main.h:

Go to the source code of this file.

Namespaces

 highprecisionpso
 base namespace for this project.
 

Functions

bool highprecisionpso::AllowedToRun ()
 If run check is activated then This method checks whether the program is currently allowed to run. More...
 
Statistics * highprecisionpso::DoPso (Statistics *statistics)
 This method proceeds the activities of the PSO algorithm. More...
 
Statistics * highprecisionpso::InitAndDoPso ()
 This method initializes the particles and starts the swarm. More...
 
int main (int argc, char *argv[])
 The main starting method to start the PSO program. More...
 
Statistics * highprecisionpso::RestoreAndDoPso ()
 Loads information from the backup file and restarts the particle swarm. More...
 
void highprecisionpso::Shutdown ()
 Stores all data and generates a shutdown file to ease restarting of this particle swarm execution. More...
 
int highprecisionpso::StartTasks (char *argv[])
 Restarts all particle swarms which are correctly terminated in the folder specified in argument 2 of the supplied char * array. More...
 
void highprecisionpso::WriteCurrentState (std::string filename)
 Writes a backup file with the specified file name and stores there all needed data to restart the particle swarm. More...
 

Variables

const ProgramVersion highprecisionpso::PSO_PROGRAM_VERSION
 Describes the current version of this PSO program. More...
 

Detailed Description

This file contains the main methods to start the PSO algorithm.

Author
Alexander Raß (alexa.nosp@m.nder.nosp@m..rass.nosp@m.@fau.nosp@m..de)
Date
June, 2013

Function Documentation

int main ( int  argc,
char *  argv[] 
)

The main starting method to start the PSO program.

Parameters
argcThe number of arguments in argv.
argv[]The supplied arguments.
Returns
0 if execution was successful and something different otherwise.