Re: Psychic bug

2006-02-23 Thread Gerard Flanagan
Jennifer Hallinan wrote: > Hi, > > I have a mutate function for a genetic algorithm which is giving me > odd results. I suspect I'm missing somthing really simple, so I'd be > grateful for any suggestions. Basically, when I comment out the line > which is commented out below, it works fine (althoug

Re: Psychic bug

2006-02-23 Thread Raymond Hettinger
> a mutate function for a genetic algorithm which is giving me > odd results. I suspect I'm missing somthing really simple, so I'd be > grateful for any suggestions. Basically, when I comment out the line > which is commented out below, it works fine (although of course it > doesn't change the gen

Re: Psychic bug

2006-02-22 Thread Alan Franzoni
Il Wed, 22 Feb 2006 19:04:48 +, Jennifer Hallinan ha scritto: > Genome is a string of integers in the range 0- 3, hence the > conversion. Genome is a *class*, i suppose from this code, and Mutate is... an instance method, I think. And self.genome is a string like composed of integers in the 0

Psychic bug

2006-02-22 Thread Jennifer Hallinan
Hi, I have a mutate function for a genetic algorithm which is giving me odd results. I suspect I'm missing somthing really simple, so I'd be grateful for any suggestions. Basically, when I comment out the line which is commented out below, it works fine (although of course it doesn't change the ge