> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Carlos
> Sent: 12 January 2007 16:09
> To: tutor@python.org
> Subject: [Tutor] Problems with a Class
>
> This is the area of the algorith that I think holds the info
> that I need:
>
> def evolve(
Hello,
> Unfortunately, no. I for one can't interpret "I need the info every
> time that it gets updated by the loop"
The GA is creating solutions for a given problem, that are contained in
self.entities that looks like this:
Generation_01: [[1, 0, 0, 1, 0, 1, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1, 1
On Sat, 13 Jan 2007 01:08:53 +0100
Carlos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm just about to finish my project, but something is causing me
> trouble. I need to find out how to get some information out of the
> genetic algorithm that Im using. This algorithm is generating some
> coordin
Hello Again,
Looks like Im getting there now. I did this inside the GA module:
def update(self):
return self.entities
now Im putting it in my code:
def my_fitness(entity):
x = ga.update()
print 'X', x
fitness = 0.0
for i in entity:
if i == 1:
hey folks!
Could someone please show me where to get lighttpd for windows xp sp2? ive
tried the lighttpd site but no success
thanks
"shortash"
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor