ECJ-INTEREST-L Archives

February 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Emre AYDOĞAN" <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Fri, 21 Feb 2014 08:57:01 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
Thanks for your advices. But actually i asked these questions for parameters 
file. How can do that i said in parameters file? 

in parameters file, i have to define pop.subpop.0.species.ind.numtrees field as 
I understand. But i have to define this parameter fixed number for example 
pop.subpop.0.species.ind.numtrees = 2. this parameter said that all 
individuals for subpop.0 must have 2 trees. Am i wrong? but i don't want to do 
this. I want to define all individuals with different number of trees in the same 
subpopulation. For example i wrote this sentences to parameters file

pop.subpop.0.species.ind.numtrees = 2
pop.subpop.0.species.ind.tree.0 = ec.gp.GPTree
pop.subpop.0.species.ind.tree.0.tc = tc0
pop.subpop.0.species.ind.tree.1 = ec.gp.GPTree
pop.subpop.0.species.ind.tree.1.tc = tc0

and when i read subpop.0 from file like this;

Number of Individuals: i2|
Individual Number: i0|
Evaluated: F
Fitness: f1143268979|659.60077|i0|
Tree 0:
 (- (+ l0 l0) (- h1 l0))
Tree 1:
 (- (+ (- l0 l0) (- l0 h1)) (- (+ h1 l0) (- h1 l0)))
Individual Number: i1|
Evaluated: F
Fitness: Standardized=832.0 Adjusted=0.0012004802 Hits=0
Tree 0:
 (+ (+ (+ (+ (- l0 h1) (- l0 h1)) (+ (- l0
     h1) (- l0 h1))) (- (+ (+ h1 (- (+ l0 l0)
     (+ h1 h1))) (- l0 h1)) (+ (+ l0 l0) (- h1
     l0)))) (- (+ (- (- (- (- l0 h1) (+ l0 h1))
     (- (+ h1 h1) (+ l0 l0))) (+ h1 l0)) (- (-
     l0 l0) (- l0 l0))) (- (- (+ l0 l0) (+ l0
     l0)) (+ (- l0 h1) (+ h1 l0)))))
Tree 1:
 (+ (- (- h1 h1) (+ h1 l0)) (- (- l0 l0) (-
     l0 l0)))
Tree 2:
 (+ (- h1 l0) (+ h1 h1))

and 

pop.subpop.0.extra-behavior = fill



of course, ecj didn't read Individual1 tree2. But i want to read tree2 too. How 
can do this in parameters file? is not this possible for parameters file? or i just 
can do that with java code programmatically. Thanks.

Emre

ATOM RSS1 RSS2