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:
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
> -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
> t
Carlos 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
> coordinates for a collection of objects, until now I needed only
Hi,
Just in case that the info that I provided is not enough, I posted the
code in a python forum, hope that somebody can take a look.
http://python-forum.org/py/viewtopic.php?p=11063#11063
Regards,
Carlos
___
Tutor maillist - Tutor@python.org
http:
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
coordinates for a collection of objects, until now I needed only the
final result of the