EvolvingObjects
Stopping criteria

A stopping criterion is called a "continue". More...

Classes

class  eoContinue< EOT >
 Termination condition for the genetic algorithm Takes the population as input, returns true for continue, false for termination. More...
class  eoCtrlCContinue< EOT >
 Ctrl C handling: this eoContinue tells whether the user pressed Ctrl C. More...
class  eoEvalContinue< EOT >
 Continues until a number of evaluations has been made. More...
class  eoFitContinue< EOT >
 Continues until the optimum fitness level is reached. More...
class  eoGenContinue< EOT >
 Generational continuator: continues until a number of generations is reached. More...
class  eoSecondsElapsedContinue< EOT >
 Timed continuator: continues until a number of seconds is used. More...
class  eoSIGContinue< EOT >
 A continuator that stops if a given signal is received during the execution. More...
class  eoSteadyFitContinue< EOT >
 A continuator: does a minimum number of generations, then stops whenever a given number of generations takes place without improvement. More...
class  eoTimeContinue< EOT >
 Termination condition until a running time is reached. More...
class  eoSignal< EOT >
 eoSignal inherits from eoCheckPoint including signals handling (see signal(7)) More...

Functions

void signal_handler (int sig)
void set_bool (int)

Variables

bool ask_for_stop = false
bool existCtrlCContinue = false
bool ask_for_stop
bool existCtrlCContinue
bool existSIGContinue
bool call_func
std::map< int, bool > signals_called
std::map< int, bool > signals_called

Detailed Description

A stopping criterion is called a "continue".

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This is a functor that is called at each generation end and that return true if one should stop the search.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Contact: http://eodev.sourceforge.net

Autors: todos@geneura.ugr.es, http://geneura.ugr.es Marc.Schoenauer@polytechnique.fr mak@dhi.dk Caner.Candan@univ-angers.fr

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Contact: http://eodev.sourceforge.net

Authors: todos@geneura.ugr.es, http://geneura.ugr.es Marc.Schoenauer@polytechnique.fr mak@dhi.dk Caner.Candan@univ-angers.fr

 All Classes Namespaces Files Functions Variables Typedefs Friends