ECJ-INTEREST-L Archives

April 2006

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:
Brendan Poole <[log in to unmask]>
Reply To:
Date:
Tue, 4 Apr 2006 12:46:30 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
Hi,

I'm would like to know how, once i've evolved a tree, i can run it to 
get the results for a given input.  To be more specific, I have created 
a ChartableStatistics class and within it i would like to chart the 
output from the best individual. This is what i've got:

   public void postEvaluationStatistics(EvolutionState state) {
        super.postEvaluationStatistics(state);
         ...
        // I've created bestInd that holds the best individual at this point

        for (int x = 0; x < 10; x++) {
            input.x = (double)x;
            addDataPoint(1, x, <<what do i put here to get the output 
from bestInd ??? >> );
        }
    }


I realise that this is pretty basic stuff but i'm just starting out. 
Please can anyone help?

Thanks

Brendan

ATOM RSS1 RSS2