Population generation and verbose level doubts

View: New views
2 Messages — Rating Filter:   Alert me  

Population generation and verbose level doubts

by Rodrigo Tripodi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

I'm using jgap for my mater's project. It's a math problem and I've some doubts.


1) When I get the warning "WARN GPPopulation - Prototype program reused because random program did not satisfy constraints" what does it mean? If the size of my population is, for example, 10 and I get 10 warnings like that it means that all the generated individuals are equal? How could I know which program is this prototype one?

2) How can I set the maximum verbose level for jgap?

thanks in advance.

best,

--
Rodrigo Tripodi
UNICAMP - BRAZIL

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users

Re: Population generation and verbose level doubts

by Klaus Meffert-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Rodrigo,
 
egarding 1):
This is an issue with random program generation. In case no program can be evolved randomly, that sticks to the syntax of the GP commands and terminals, this message is returned.
 
Regarding 2)
You can use the log4j.properties file. Open the file and set the log level to DEBUG (instead of INFO, see log4.rootCategory).
Besides, you can add logging to the code. In case you need something special that could be of common interest, please tell me, maybe we can integrate into the JGAP core.
 
Best
 
 


From: Rodrigo Tripodi [mailto:rtripodi@...]
Sent: Wednesday, September 30, 2009 2:38 PM
To: jgap-users@...
Subject: [jgap-users] Population generation and verbose level doubts

Hi!

I'm using jgap for my mater's project. It's a math problem and I've some doubts.


1) When I get the warning "WARN GPPopulation - Prototype program reused because random program did not satisfy constraints" what does it mean? If the size of my population is, for example, 10 and I get 10 warnings like that it means that all the generated individuals are equal? How could I know which program is this prototype one?

2) How can I set the maximum verbose level for jgap?

thanks in advance.

best,

--
Rodrigo Tripodi
UNICAMP - BRAZIL

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jgap-users mailing list
jgap-users@...
https://lists.sourceforge.net/lists/listinfo/jgap-users