ECJ-INTEREST-L Archives

July 2013

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML Part by Default
Condense Mail Headers

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

Print Reply
Content-Type:
text/plain; charset="us-ascii"
Date:
Mon, 1 Jul 2013 16:44:07 -0400
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Subject:
From:
Sean Luke <[log in to unmask]>
Content-Transfer-Encoding:
8bit
In-Reply-To:
MIME-Version:
1.0 (Apple Message framework v1085)
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (12 lines)
Bojan, I don't understand exactly what you're trying to do.  But it's very simple to add parameters dynamically to the parameter database, just use database.set(new Parameter("my-parameter"), "my-value")

It's exceedingly rare to need to do this though: in fact ECJ does it only once (for master-slave communication).  If you're thinking of setting parameters dynamically, you're almost certainly going down the wrong road.

Sean

On Jun 30, 2013, at 4:03 PM, Bojan Janisch wrote:

> I've search in the manual, but there was only a small part which describes the creation of parameters.
> Does someone got a simple example of how to get a specific parameter e.g. custom inputfolder at 
> evaluation of a GPTree?

ATOM RSS1 RSS2