Article View: comp.lang.java.programmer
Article #495Re: Genetic/Evolutionary Algorithms (Re: How to improve my sex-appeal with Java-programs ???)
From: Oliver Wong
Date: Mon, 28 Nov 2005 22:48
Date: Mon, 28 Nov 2005 22:48
27 lines
2649 bytes
2649 bytes
"Daniel Dyer" <dan@dannospamformepleasedyer.co.uk> wrote in message
news:op.s0yyt3kqgnpvuy@cgl0517.chaucer.co.uk...
> On Mon, 28 Nov 2005 20:53:40 -0000, Oliver Wong <owong@castortech.com>
> wrote:
>> What you'll want to do is to programmatically enter in every strategy
>> you've tried at hooking up with a girl. You'll need to have some metric
>> for
>> measuring success, and enter those in for each strategy as well. Then run
>> one step of simulation (i.e. one generation) so that the strategies will
>> have mutated slightly, with the strategies that have performed the best
>> mutating the least (thus, on average, your strategies have become
>> "better").
>
> That's not quite how it works. All strategies are equally eligible for
> mutation, regardless of how good they are, and there's every chance the
> next generation will be worse on average than the previous one.
> Eventually however, if your selection strategy and fitness function are
> good, the quality of strategies in your population should improve and will
> tend towards an optimum (there are no guarantees though).
Really? I thought a typical implementation would try to preserve the
qualities of the most-fit strategy found. One way was the mutate the good
strategies less (that's the one I mentioned above), and the other was to
generate more "offsprings" from the good strategies.
- Oliver
Technical Details
Message-ID:
<pPLif.140265$yS6.74381@clgrps12>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!newsfeed.telusplanet.net!newsfeed.telus.net!clgrps12.POSTED!53ab2750!not-for-mailReferences:
<1132910259.755488.102770@g49g2000cwa.googlegroups.com> <o7Kif.179069$Io.71590@clgrps13> <op.s0yyt3kqgnpvuy@cgl0517.chaucer.co.uk>Show Full Headers
Complete Article Headers
X-Google-Thread: 10a146,d4b477ed217848e9 X-Google-Thread: 108147,d4b477ed217848e9 X-Google-Attributes: gid10a146,gid108147,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!meganewsservers.com!feeder2.on.meganewsservers.com!newsfeed.telusplanet.net!newsfeed.telus.net!clgrps12.POSTED!53ab2750!not-for-mail From: "Oliver Wong" <owong@castortech.com> Newsgroups: comp.lang.java.programmer,brasil.unix References: <1132910259.755488.102770@g49g2000cwa.googlegroups.com> <o7Kif.179069$Io.71590@clgrps13> <op.s0yyt3kqgnpvuy@cgl0517.chaucer.co.uk> Subject: Re: Genetic/Evolutionary Algorithms (Re: How to improve my sex-appeal with Java-programs ???) Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response Message-ID: <pPLif.140265$yS6.74381@clgrps12> Date: Mon, 28 Nov 2005 22:48:53 GMT NNTP-Posting-Host: 66.110.128.12 X-Complaints-To: abuse@globetrotter.net X-Trace: clgrps12 1133218133 66.110.128.12 (Mon, 28 Nov 2005 15:48:53 MST) NNTP-Posting-Date: Mon, 28 Nov 2005 15:48:53 MST Organization: GlobeTrotter