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:
Sean Luke <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Wed, 19 Feb 2014 10:13:42 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
The eval function is recursive.  So you can't use it to just evaluate the root node.  So... just don't use it.  Instad in your evaluate() method, evaluate the tree as you see fit.  You don't have to call eval at all.

Sean

On Feb 19, 2014, at 10:08 AM, Emre AYDO&#286;AN <[log in to unmask]> wrote:

> Thanks for your answer. I don't want to run nodes' evaluation function
> except root node. In other words I just want to run evaluation function for
> root node. In evaluation function, I will find same nodes between population
> tree and desired tree. I mean I will do pattern matching. And my fitness
> value is the number of same nodes between trees. 
> 
> Thanks,

ATOM RSS1 RSS2