XCLE



Abstract genotype interface

Instructions manual


RIGEL: Representation-Independant Genetic Engine Library
Copyright (C) 2000-2005 Yann LANDRIN-SCHWEITZER, a.k.a. Varkhan


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.1 of the License, or
(at your option) any later version.

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


Author: Yann LANDRIN-SCHWEITZER, a.k.a. Varkhan
Contact: varkhan@varkhan.net
Homepage: http://www.varkhan.net/


Interface format structure


Macro RIGEL_Genotype_Object

RIGEL_Genotype_Object
This macro should be defined to the memory-space type of the genotype in the EA/ES.

Note:
The genotype should be a pointer to a structure, and RIGEL_Genotype_Object defined to this structure name.




Macro RIGEL_PARADIGM_NODELETE

RIGEL_PARADIGM_NODELETE
Interface paradigm flag preventing deletion of intermediary productions (by stochastic operators).



Macro RIGEL_PARADIGM_MUTALLOC

RIGEL_PARADIGM_MUTALLOC
Interface paradigm flag forcing copy of objects before passing them to the mutation operator.



Macro RIGEL_PARADIGM_XOVALLOC

RIGEL_PARADIGM_XOVALLOC
Interface paradigm flag forcing copy of objects before passing them to the crossover operator.



Macro RIGEL_PARADIGM_MIGALLOC

RIGEL_PARADIGM_MIGALLOC
Interface paradigm flag forcing copy of objects before passing them to the migration operator.



Macro RIGEL_PARADIGM_EVSTATIC

RIGEL_PARADIGM_EVSTATIC
Interface paradigm flag preventing re-evaluation of inherited indivuduals at each generation.



Function RIGEL_InitInterface

RIGEL_Interface RIGEL_InitInterface() ;
Initializes an interface with default values.

Returns:
An interface with sensible default values.




Function RIGEL_LoadInterface

RIGEL_Interface RIGEL_LoadInterface(char * module) ;
Loads an interface and associated callbacks from a module file.

Args:
module: filename to load


Returns:
NULL: if some error occured
else the loaded interface.


Errors:
ENOMEM: if no memory was available

Note:
.





Generated by textdoc2html - 2006-03-04