ECJ-INTEREST-L Archives

July 2013

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:
Tue, 16 Jul 2013 05:33:14 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
ECJ's primary loop (which is in the evolve() method in SimpleEvolutionState) quits when Evaluator.runComplete(...) returns true or when the number of generations has expired, whichever is first.  Just subclass your evaluator class (probably SimpleEvaluator) to have that method return true when you feel like it.

Sean

On Jul 16, 2013, at 5:01 AM, Bojan Janisch wrote:

> Hey everyone,
> 
> could someone explain me how and where to add an abort criteria? ECJ runs until an optimum is found, but does not abort if the fitness didn't get better over an alpha after X runs. It runs until all generations are created, but that's not what I want.
> 
> Greetings
> 
> Bojan

ATOM RSS1 RSS2