ECJ-INTEREST-L Archives

February 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

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

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

Print Reply
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Wed, 19 Feb 2014 10:13:42 -0500
MIME-version:
1.0 (Mac OS X Mail 7.1 \(1827\))
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=iso-8859-1
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
8bit
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