XCLE



Genetic engine

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


Function RIGEL_Initialize

RIGEL_Population RIGEL_Initialize(RIGEL_Interface iface, RIGEL_Parameters param) ;
.

Args:
_ iface
_ param


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_Evaluate

RIGEL_Population RIGEL_Evaluate(RIGEL_Population pop) ;
.

Args:
_ pop


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_Generation

RIGEL_Population RIGEL_Generation(RIGEL_Population pop) ;
.

Args:
_ pop


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_Terminate

void RIGEL_Terminate(RIGEL_Population pop) ;
.

Args:
_ pop


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_Getparameters

RIGEL_Parameters RIGEL_Getparameters(RIGEL_Population pop) ;
.

Args:
_ pop


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_SetParameters

RIGEL_Population RIGEL_SetParameters(RIGEL_Population pop, RIGEL_Parameters param) ;
.

Args:
_ pop
_ param


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_GetIdentByRank

unsigned long RIGEL_GetIdentByRank(RIGEL_Population pop, unsigned long rank) ;
.

Args:
_ pop
_ rank


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_GetIdentByEval

unsigned long RIGEL_GetIdentByEval(RIGEL_Population pop, double emin, double emax) ;
.

Args:
_ pop
_ emin
_ emax


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_GetGenealogy

unsigned long RIGEL_GetGenealogy(RIGEL_Population pop, unsigned long ident, unsigned long * line, unsigned long gmax) ;
.

Args:
_ pop
_ ident
_ line
_ gmax


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_GetItemByIdent

RIGEL_Genotype RIGEL_GetItemByIdent(RIGEL_Population pop, unsigned long ident) ;
.

Args:
_ pop
_ ident


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.




Function RIGEL_GetItemByRank

RIGEL_Genotype RIGEL_GetItemByRank(RIGEL_Population pop, unsigned long rank) ;
.

Args:
_ pop
_ rank


Returns:
NULL: if
else .


Errors:
ENOMEM: if no memory was available

Note:
.





Generated by textdoc2html - 2006-01-31