Printing out operators that are used
Rafaela K. Azinhal
rka at di.fct.unl.pt
Wed Oct 14 07:53:36 EDT 1998
Following my previous questions, I've found out that I can easily print
out the type of GA, scaling method, selection method and genome type,
using their className method, like
ga.className(), ga.scaling().className(),
ga.selector().className() and genome.className().
But how do I do it whith the termination method, initializer, crossover
and mutation?
Rafaela K. Azinhal
---------------------------------------------------------------------
Dept. Informatica mailto: rka at di.fct.unl.pt
FCT/UNL URL: http://www-ssdi.di.fct.unl.pt/~rka
Quinta da Torre Tel (geral): +351.1.295 4464
2825 Monte da Caparica Tel (DI): +351.1.294 8536 ext. 0765
PORTUGAL Fax (DI): +351.1.294 8541
---------------------------------------------------------------------
---------- Forwarded message ----------
Date: Wed, 14 Oct 1998 11:49:07 +0100 (WEST)
From: "Rafaela K. Azinhal" <rka at di.fct.unl.pt>
To: galib at mit.edu
Subject: Changing genetic operators via command-line arguments
I'm starting fresh with GAlib, and have one - actually two, but related -
questions:
1. The standard distribution does not include the specification of the
actual operators (of initialization, crossover, mutation) using
command-line options (like in page 18 of Document Rev B), does it?
2. What would be the best way for a genetic algorithm to print out the
genetic operators it is using (in a similar way as given by
ga.parameters())? Maybe programming a ga.operators()?
I thank you in advance for any suggestion.
Rafaela K. Azinhal
---------------------------------------------------------------------
Dept. Informatica mailto: rka at di.fct.unl.pt
FCT/UNL URL: http://www-ssdi.di.fct.unl.pt/~rka
Quinta da Torre Tel (geral): +351.1.295 4464
2825 Monte da Caparica Tel (DI): +351.1.294 8536 ext. 0765
PORTUGAL Fax (DI): +351.1.294 8541
---------------------------------------------------------------------
More information about the galib
mailing list