From jeedward at yahoo.com Sun Mar 1 15:38:39 2009 From: jeedward at yahoo.com (Ed) Date: Sun, 1 Mar 2009 12:38:39 -0800 (PST) Subject: [galib] IICAI-09 Call for papers Message-ID: <47285.80328.qm@web45901.mail.sp1.yahoo.com> IICAI-09 Call for papers ? The 4th Indian International Conference on Artificial Intelligence (IICAI-09) will be held in Tumkur (near Bangalore), India during December 16-18 2009. The conference consists of paper presentations, special workshops, sessions, invited talks and local tours, etc.? We invite draft paper submissions. Please see the website: http://www.iiconference.org ??for more details of the conference. ? Sincerely ? ? Edward Publicity Committee -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090301/07376179/attachment.htm From jeedward at yahoo.com Sat Mar 7 10:09:44 2009 From: jeedward at yahoo.com (John Edward) Date: Sat, 7 Mar 2009 07:09:44 -0800 (PST) Subject: [galib] Draft paper submission deadline extended Message-ID: <587062.59227.qm@web45909.mail.sp1.yahoo.com> Draft paper submission deadline extended ? Special Session on Genetic Algorithms ? The deadline for draft paper submission at the 2009 International Conference on Artificial Intelligence and Pattern Recognition (AIPR-09) (website: http://www.PromoteResearch.org) is extended due to numerous requests from the authors. As a result, the deadline for paper submission for the special session is also extended accordingly. The conference and the session will be held during July 13-16 2009 in Orlando, FL, USA. We invite draft paper submissions. The conference will take place at the same time and venue where several other international conferences are taking place. The other conferences include: ????????? International Conference on Automation, Robotics and Control Systems (ARCS-09) ????????? International Conference on Bioinformatics, Computational Biology, Genomics and Chemoinformatics (BCBGC-09) ????????? International Conference on Enterprise Information Systems and Web Technologies (EISWT-09) ????????? International Conference on High Performance Computing, Networking and Communication Systems (HPCNCS-09) ????????? International Conference on Information Security and Privacy (ISP-09) ????????? International Conference on Recent Advances in Information Technology and Applications (RAITA-09) ????????? International Conference on Software Engineering Theory and Practice (SETP-09) ????????? International Conference on Theory and Applications of Computational Science (TACS-09) ????????? International Conference on Theoretical and Mathematical Foundations of Computer Science (TMFCS-09) ? The website http://www.PromoteResearch.org contains more details. ? Sincerely John Edward Publicity committee ? ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090307/e9c4df3e/attachment.htm From bouzarkouna.zyed at gmail.com Tue Mar 17 11:35:02 2009 From: bouzarkouna.zyed at gmail.com (Zyed Bouzarkouna) Date: Tue, 17 Mar 2009 16:35:02 +0100 Subject: [galib] Ellitism Message-ID: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> Hello, I was wondering why to apply elitism, GALib choooses the fittest chromosome to go automatically to next gen in 2 offspring. I don't see why the fittest is put *twice *in the next generation? Thanks. Zyed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090317/30c179a0/attachment.htm From rvb at aber.ac.uk Tue Mar 17 11:56:25 2009 From: rvb at aber.ac.uk (Robert Burbidge) Date: Tue, 17 Mar 2009 15:56:25 +0000 Subject: [galib] Ellitism In-Reply-To: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> References: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> Message-ID: On 17 Mar 2009, at 15:35, Zyed Bouzarkouna wrote: > I was wondering why to apply elitism, GALib choooses the fittest > chromosome to go automatically to next gen in 2 offspring. > I don't see why the fittest is put twice in the next generation? Hi Zyed, I assume you are using a simple GA as elitism doesn't make sense for a steady state or incremental GA. The relevant code snippet is: >>>>>>>> void GASimpleGA::step() { ... // If we are supposed to be elitist, carry the best individual from the old // population into the current population. Be sure to check whether we are // supposed to minimize or maximize. if(minimaxi() == GAGeneticAlgorithm::MAXIMIZE) { if(el && oldPop->best().score() > pop->best().score()) oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), GAPopulation::BEST); } else { if(el && oldPop->best().score() < pop->best().score()) oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), GAPopulation::BEST); } ... } <<<<<<<<<< We can see that the best individual from the old population replaces the worst individual in the current population, provided that it is better than the best individual in the current population. This only results in one copy of the best in the current population. It is of course possible to obtain more than one copy of the best through selection if it happens that it is not crossed over or mutated. Try running with pcross = 1.0 and you should only see (at most) one copy of the best in the next generation with elitism (except for the hopefully rare case where the crossover has no effect). Rgds, Robert From bouzarkouna.zyed at gmail.com Tue Mar 17 12:13:01 2009 From: bouzarkouna.zyed at gmail.com (Zyed Bouzarkouna) Date: Tue, 17 Mar 2009 17:13:01 +0100 Subject: [galib] Ellitism In-Reply-To: References: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> Message-ID: <89695e9c0903170913i5f197a93tfc66cbb8bfe47c6c@mail.gmail.com> Thanks Robert for your reply. In fact, I'm using The java version of GALib. //Elitism--fittest chromosome automatically go on to next gen (in 2 offspring) this.chromNextGen[iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); iCnt++; this.chromNextGen[iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); iCnt++; And here I don't see any reason to put it twice especially since we don't allow any mutation on the best indiv. On Tue, Mar 17, 2009 at 4:56 PM, Robert Burbidge wrote: > On 17 Mar 2009, at 15:35, Zyed Bouzarkouna wrote: > > I was wondering why to apply elitism, GALib choooses the fittest >> chromosome to go automatically to next gen in 2 offspring. >> I don't see why the fittest is put twice in the next generation? >> > > Hi Zyed, > > I assume you are using a simple GA as elitism doesn't make sense for a > steady state or incremental GA. The relevant code snippet is: > > >>>>>>>> > void > GASimpleGA::step() > { > ... > // If we are supposed to be elitist, carry the best individual from the old > // population into the current population. Be sure to check whether we are > // supposed to minimize or maximize. > > if(minimaxi() == GAGeneticAlgorithm::MAXIMIZE) { > if(el && oldPop->best().score() > pop->best().score()) > oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), > GAPopulation::BEST); > } > else { > if(el && oldPop->best().score() < pop->best().score()) > oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), > GAPopulation::BEST); > } > ... > } > <<<<<<<<<< > > We can see that the best individual from the old population replaces the > worst individual in the current population, provided that it is better than > the best individual in the current population. This only results in one copy > of the best in the current population. > > It is of course possible to obtain more than one copy of the best through > selection if it happens that it is not crossed over or mutated. Try running > with pcross = 1.0 and you should only see (at most) one copy of the best in > the next generation with elitism (except for the hopefully rare case where > the crossover has no effect). > > Rgds, > Robert > -- Zyed Bouzarkouna -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090317/d70e6573/attachment.htm From rvb at aber.ac.uk Tue Mar 17 13:06:26 2009 From: rvb at aber.ac.uk (Robert Burbidge) Date: Tue, 17 Mar 2009 17:06:26 +0000 Subject: [galib] Ellitism In-Reply-To: <89695e9c0903170913i5f197a93tfc66cbb8bfe47c6c@mail.gmail.com> References: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> <89695e9c0903170913i5f197a93tfc66cbb8bfe47c6c@mail.gmail.com> Message-ID: On 17 Mar 2009, at 16:13, Zyed Bouzarkouna wrote: > Thanks Robert for your reply. > In fact, I'm using The java version of GALib. > > //Elitism--fittest chromosome automatically go on to next > gen (in 2 offspring) > > > this > .chromNextGen > [iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); > iCnt++; > > > this > .chromNextGen > [iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); > iCnt++; > > And here I don't see any reason to put it twice especially since we > don't allow any mutation on the best indiv. Hi Zyed, It goes to show that platform, version, etc. should always be included in such a post. (I didn't know there was a java implementation ...) I use the C++ library v2.4.6. I agree with you that it does not make much sense to automatically put two copies of the best into the next generation. The effect will be to increase the selection pressure, especially if the population is small, and possibly cause early convergence. However, I have used exactly this type of elitism before, when the fitness function was very noisy. If only one copy is made then there is the danger that in the next generation it will score an artificially low fitness and be lost. If two copies are included then this is less likely. The converse also applies, i.e. if we include enough copies of something when the fitness is noisy then one copy will get a high fitness. Follow DeJong's advice and make sure all of your operators are suited to the problem. Rgds, Robert From bouzarkouna.zyed at gmail.com Tue Mar 17 19:10:58 2009 From: bouzarkouna.zyed at gmail.com (Zyed Bouzarkouna) Date: Wed, 18 Mar 2009 00:10:58 +0100 Subject: [galib] Ellitism In-Reply-To: <6F8C5373E9A1E542A38970808AF678C24B1A2630@NDJSSCC06.ndc.nasa.gov> References: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> <89695e9c0903170913i5f197a93tfc66cbb8bfe47c6c@mail.gmail.com> <6F8C5373E9A1E542A38970808AF678C24B1A2630@NDJSSCC06.ndc.nasa.gov> Message-ID: <89695e9c0903171610t7d7e5f2fyb03dc6a0e69c87a6@mail.gmail.com> Hi Michael, The java code can be downloaded from: http://sourceforge.net/projects/java-galib/ Best Regards, Zyed On Tue, Mar 17, 2009 at 9:29 PM, Kupfer, Michael (ARC-TH)[San Jose State University Foundation] wrote: > Hello Zyed! > > > > I read you?re using the Java version of GAlib? Where did you get it from? > Is it an exact representation of the C++ version (could I translate my C++ > code 1-1 into Java)? > > > > Best, > > Michael. > > > > *From:* galib-bounces at mit.edu [mailto:galib-bounces at mit.edu] *On Behalf Of > *Zyed Bouzarkouna > *Sent:* Tuesday, March 17, 2009 9:13 AM > *To:* galib at mit.edu > *Subject:* Re: [galib] Ellitism > > > > Thanks Robert for your reply. > In fact, I'm using The java version of GALib. > > //Elitism--fittest chromosome automatically go on to next gen (in 2 > offspring) > > > this.chromNextGen[iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); > iCnt++; > > > this.chromNextGen[iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); > iCnt++; > > And here I don't see any reason to put it twice especially since we don't > allow any mutation on the best indiv. > > On Tue, Mar 17, 2009 at 4:56 PM, Robert Burbidge wrote: > > On 17 Mar 2009, at 15:35, Zyed Bouzarkouna wrote: > > I was wondering why to apply elitism, GALib choooses the fittest chromosome > to go automatically to next gen in 2 offspring. > I don't see why the fittest is put twice in the next generation? > > > > Hi Zyed, > > I assume you are using a simple GA as elitism doesn't make sense for a > steady state or incremental GA. The relevant code snippet is: > > >>>>>>>> > void > GASimpleGA::step() > { > ... > // If we are supposed to be elitist, carry the best individual from the old > // population into the current population. Be sure to check whether we are > // supposed to minimize or maximize. > > if(minimaxi() == GAGeneticAlgorithm::MAXIMIZE) { > if(el && oldPop->best().score() > pop->best().score()) > oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), > GAPopulation::BEST); > } > else { > if(el && oldPop->best().score() < pop->best().score()) > oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), > GAPopulation::BEST); > } > ... > } > <<<<<<<<<< > > We can see that the best individual from the old population replaces the > worst individual in the current population, provided that it is better than > the best individual in the current population. This only results in one copy > of the best in the current population. > > It is of course possible to obtain more than one copy of the best through > selection if it happens that it is not crossed over or mutated. Try running > with pcross = 1.0 and you should only see (at most) one copy of the best in > the next generation with elitism (except for the hopefully rare case where > the crossover has no effect). > > Rgds, > Robert > > > > > -- > Zyed Bouzarkouna > > > -- Zyed Bouzarkouna -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090318/17df4202/attachment.htm From rvb at aber.ac.uk Wed Mar 18 05:27:39 2009 From: rvb at aber.ac.uk (Robert Burbidge) Date: Wed, 18 Mar 2009 09:27:39 +0000 Subject: [galib] Ellitism In-Reply-To: <89695e9c0903171610t7d7e5f2fyb03dc6a0e69c87a6@mail.gmail.com> References: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> <89695e9c0903170913i5f197a93tfc66cbb8bfe47c6c@mail.gmail.com> <6F8C5373E9A1E542A38970808AF678C24B1A2630@NDJSSCC06.ndc.nasa.gov> <89695e9c0903171610t7d7e5f2fyb03dc6a0e69c87a6@mail.gmail.com> Message-ID: <63B08B44-F70D-4057-806B-9B48E4D9CCFE@aber.ac.uk> > > On Tue, Mar 17, 2009 at 9:29 PM, Kupfer, Michael (ARC-TH)[San Jose > State University Foundation] wrote: > I read you?re using the Java version of GAlib? Where did you get it > from? Is it an exact representation of the C++ version (could I > translate my C++ code 1-1 into Java)? Hi Michael, It is clear from the recent exchange on elitism that the C++ and Java implementations are different in at least that respect. Does anyone know of any other differences? Rgds, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090318/2572f044/attachment.htm From bouzarkouna.zyed at gmail.com Wed Mar 18 05:55:50 2009 From: bouzarkouna.zyed at gmail.com (Zyed Bouzarkouna) Date: Wed, 18 Mar 2009 10:55:50 +0100 Subject: [galib] Ellitism In-Reply-To: <6F8C5373E9A1E542A38970808AF678C24B1A26B7@NDJSSCC06.ndc.nasa.gov> References: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> <89695e9c0903170913i5f197a93tfc66cbb8bfe47c6c@mail.gmail.com> <6F8C5373E9A1E542A38970808AF678C24B1A2630@NDJSSCC06.ndc.nasa.gov> <89695e9c0903171610t7d7e5f2fyb03dc6a0e69c87a6@mail.gmail.com> <6F8C5373E9A1E542A38970808AF678C24B1A26B7@NDJSSCC06.ndc.nasa.gov> Message-ID: <89695e9c0903180255r37372da1pbe4db7500c76501c@mail.gmail.com> Hi, It is not the same. This version is from: Jeff S Smith. And here is an article pubished by Jeff S giving an overview about this lib. http://www.softtechdesign.com/GA/EvolvingABetterSolution-GA.html Regards, Zyed On Wed, Mar 18, 2009 at 1:18 AM, Kupfer, Michael (ARC-TH)[San Jose State University Foundation] wrote: > Hi! > > > > Is it the same like the GAlib from M Wall, just in JAVA? > > > > Best, > > Michael. > > > > *From:* Zyed Bouzarkouna [mailto:bouzarkouna.zyed at gmail.com] > *Sent:* Tuesday, March 17, 2009 4:11 PM > *To:* Kupfer, Michael (ARC-TH)[San Jose State University Foundation] > *Cc:* galib at mit.edu > *Subject:* Re: [galib] Ellitism > > > > Hi Michael, > > The java code can be downloaded from: > http://sourceforge.net/projects/java-galib/ > > Best Regards, > Zyed > > On Tue, Mar 17, 2009 at 9:29 PM, Kupfer, Michael (ARC-TH)[San Jose State > University Foundation] wrote: > > Hello Zyed! > > > > I read you?re using the Java version of GAlib? Where did you get it from? > Is it an exact representation of the C++ version (could I translate my C++ > code 1-1 into Java)? > > > > Best, > > Michael. > > > > *From:* galib-bounces at mit.edu [mailto:galib-bounces at mit.edu] *On Behalf Of > *Zyed Bouzarkouna > *Sent:* Tuesday, March 17, 2009 9:13 AM > *To:* galib at mit.edu > *Subject:* Re: [galib] Ellitism > > > > Thanks Robert for your reply. > In fact, I'm using The java version of GALib. > > //Elitism--fittest chromosome automatically go on to next gen (in 2 > offspring) > > > this.chromNextGen[iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); > iCnt++; > > > this.chromNextGen[iCnt].copyChromGenes(this.chromosomes[this.bestFitnessChromIndex]); > iCnt++; > > And here I don't see any reason to put it twice especially since we don't > allow any mutation on the best indiv. > > On Tue, Mar 17, 2009 at 4:56 PM, Robert Burbidge wrote: > > On 17 Mar 2009, at 15:35, Zyed Bouzarkouna wrote: > > I was wondering why to apply elitism, GALib choooses the fittest chromosome > to go automatically to next gen in 2 offspring. > I don't see why the fittest is put twice in the next generation? > > > > Hi Zyed, > > I assume you are using a simple GA as elitism doesn't make sense for a > steady state or incremental GA. The relevant code snippet is: > > >>>>>>>> > void > GASimpleGA::step() > { > ... > // If we are supposed to be elitist, carry the best individual from the old > // population into the current population. Be sure to check whether we are > // supposed to minimize or maximize. > > if(minimaxi() == GAGeneticAlgorithm::MAXIMIZE) { > if(el && oldPop->best().score() > pop->best().score()) > oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), > GAPopulation::BEST); > } > else { > if(el && oldPop->best().score() < pop->best().score()) > oldPop->replace(pop->replace(&(oldPop->best()), GAPopulation::WORST), > GAPopulation::BEST); > } > ... > } > <<<<<<<<<< > > We can see that the best individual from the old population replaces the > worst individual in the current population, provided that it is better than > the best individual in the current population. This only results in one copy > of the best in the current population. > > It is of course possible to obtain more than one copy of the best through > selection if it happens that it is not crossed over or mutated. Try running > with pcross = 1.0 and you should only see (at most) one copy of the best in > the next generation with elitism (except for the hopefully rare case where > the crossover has no effect). > > Rgds, > Robert > > > > > -- > Zyed Bouzarkouna > > > > > > > -- > Zyed Bouzarkouna > > > -- Zyed Bouzarkouna -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090318/70585ed9/attachment.htm From jullianysb at yahoo.com.br Sat Mar 21 21:33:13 2009 From: jullianysb at yahoo.com.br (julliany brandao) Date: Sat, 21 Mar 2009 18:33:13 -0700 (PDT) Subject: [galib] Improper growth of the population Message-ID: <470341.21531.qm@web56705.mail.re3.yahoo.com> Hi, I'm using a GALib to solve a one-dimensional cutting stock problem. However , the population size grows improperly in the function Evaluator just creating disables values. Somebody knows because that happens? And how to solve it? Thanks, Julliany Brand?o Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090321/acc028ac/attachment.htm From patrick.coquillard at unice.fr Mon Mar 23 07:17:15 2009 From: patrick.coquillard at unice.fr (Patrick Coquillard) Date: Mon, 23 Mar 2009 12:17:15 +0100 Subject: [galib] Ellitism In-Reply-To: <89695e9c0903180255r37372da1pbe4db7500c76501c@mail.gmail.com> References: <89695e9c0903170835g2fd673b9pdc41692a29b88606@mail.gmail.com> <89695e9c0903170913i5f197a93tfc66cbb8bfe47c6c@mail.gmail.com> <6F8C5373E9A1E542A38970808AF678C24B1A2630@NDJSSCC06.ndc.nasa.gov> <89695e9c0903171610t7d7e5f2fyb03dc6a0e69c87a6@mail.gmail.com> <6F8C5373E9A1E542A38970808AF678C24B1A26B7@NDJSSCC06.ndc.nasa.gov> <89695e9c0903180255r37372da1pbe4db7500c76501c@mail.gmail.com> Message-ID: <49C76FBB.8090100@unice.fr> An HTML attachment was scrubbed... URL: http://mailman.mit.edu/pipermail/galib/attachments/20090323/2933b10c/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: patrick_coquillard.vcf Type: text/x-vcard Size: 328 bytes Desc: not available Url : http://mailman.mit.edu/pipermail/galib/attachments/20090323/2933b10c/patrick_coquillard.vcf From michele.conconi at unibo.it Fri Mar 27 07:07:33 2009 From: michele.conconi at unibo.it (Michele Conconi) Date: Fri, 27 Mar 2009 12:07:33 +0100 Subject: [galib] Customize the Objective function Message-ID: <49CCB375.3060306@unibo.it> Hi, I'm new of galib and a beginner of c++. In my program, I would need to pass some objects to the objective function, but I do not know how to do this. It should be something like that float Objective(GAGenome& g, MyObject1 *obj1, MyObject2 * obj2) Is it possible? Thank you in advance -- * Eng. Michele Conconi* Ph.D. student DIEM - Dept. of Mechanical Engineering Alma Mater Studiorum - University of Bologna Viale Risorgimento 2, 40136, Bologna, Italy Email: michele.conconi at unibo.it Website: http://www.diem.ing.unibo.it/grab Office: (+39) 051 20 93451 Mobile: (+39) 329 0287996 * INFORMAZIONE RISERVATA E CONFIDENZIALE * Questo messaggio contiene informazioni riservate e confidenziali. Se il lettore non fosse il destinatario del messaggio, inoltrato e ricevuto per errore, il testo dovr? essere immediatamente cancellato dal computer del ricevente. E' assolutamente proibita qualunque circolazione, disseminazione o copia del messaggio spedito e/o ricevuto per errore. * CONFIDENTIALITY and WARNING NOTICE * This message may contain legally privileged or confidential information. If the reader is not the intended recipient, you received this message in error and it should therefore be deleted from your computer at once. Any dissemination, distribution and copying of a message mistakenly sent or received is strictly forbidden. From fr.teodoro at gmail.com Fri Mar 27 15:47:09 2009 From: fr.teodoro at gmail.com (=?ISO-8859-1?Q?F=E1bio_Roberto_Teodoro?=) Date: Fri, 27 Mar 2009 16:47:09 -0300 Subject: [galib] Resp.: Customize the Objective function In-Reply-To: <49CCB375.3060306@unibo.it> References: <49CCB375.3060306@unibo.it> Message-ID: yes, there is a member field variable in the Genome class that is of type void*, so you can point it to anywhere use the object pointed by it in your objective function. something like this: float Objective(GAGenome& g) { MyObject1* obj1 = (MyObject1*)g.data; ... } Obs.: maybe the member variable name isn't quite correct, but its something like that. Hope this help 2009/3/27, Michele Conconi : > Hi, I'm new of galib and a beginner of c++. > > In my program, I would need to pass some objects to the objective > function, but I do not know how to do this. It should be something like that > > float Objective(GAGenome& g, MyObject1 *obj1, MyObject2 * obj2) > > Is it possible? > Thank you in advance > -- > * Eng. Michele Conconi* > Ph.D. student > DIEM - Dept. of Mechanical Engineering > Alma Mater Studiorum - University of Bologna > Viale Risorgimento 2, 40136, Bologna, Italy > Email: michele.conconi at unibo.it > Website: http://www.diem.ing.unibo.it/grab > Office: (+39) 051 20 93451 > Mobile: (+39) 329 0287996 > > > > * INFORMAZIONE RISERVATA E CONFIDENZIALE * > Questo messaggio contiene informazioni riservate e confidenziali. > Se il lettore non fosse il destinatario del messaggio, inoltrato e > ricevuto per errore, > il testo dovr? essere immediatamente cancellato dal computer del ricevente. > E' assolutamente proibita qualunque circolazione, disseminazione o > copia del messaggio spedito e/o ricevuto per errore. > > * CONFIDENTIALITY and WARNING NOTICE * > This message may contain legally privileged or confidential information. > If the reader is not the intended recipient, you received this message > in error > and it should therefore be deleted from your computer at once. > Any dissemination, distribution and copying of a message > mistakenly sent or received is strictly forbidden. > _______________________________________________ > galib mailing list > galib at mit.edu > http://mailman.mit.edu/mailman/listinfo/galib > -- F?bio Roberto Teodoro