ECJ-INTEREST-L Archives

June 2014

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced 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
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Subject:
From:
Hendrik Coetzee <[log in to unmask]>
Date:
Tue, 24 Jun 2014 21:40:08 +0200
Content-Type:
multipart/alternative; boundary="------------060902050500070609010306"
MIME-Version:
1.0
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Parts/Attachments:
text/plain (1542 bytes) , text/html (2259 bytes)
Good day!

I'm hoping somebody can point me in the right direction with this.
Essentially I'm trying to:
1) evolve a suitable GP individual (well on my way with this)
2) Serializes/store the resulting tree (seem to be able to do this)
3) De-serialize/load the individual at a later stage (can do it sorta?)
4) Feed it parameters, and run it to get a result. (um?)

I have posted this question (with code sample) on StackOverflow: 
http://stackoverflow.com/questions/24373981/serializing-ecj-gp-individual-for-later-execution

It looks like I'm almost there - but I'm hitting a speed bump with the 
following:
a) executing/evaluating/running a GP individual outside of the GP 
evolutionary stack seems problematic (lots of scaffolding required)
b) Code sample as provided currently requires the original Species 
object in order to instantiate a new Individual based on the serialized 
output. This is sorta sucky, since at the point I will need to get 
things thing running again, that object will be long gone.

So basically: will I be having to write my own parser and execution 
engine, or does ECJ provide something that I've missed so far?

Thanks in advance!

-- 

|@|@|@|@|           |@|@|@|@|
|@|@|@|@|   _____   |@|@|@|@|
|@|@|@|@| /\_T_T_/\ |@|@|@|@|
|@|@|@|@||/\ T T /\||@|@|@|@|
  ~/T~~T~||~\/~T~\/~||~T~~T\~
   \|__|_| \(-(O)-)/ |_|__|/
   _| _|    \\8_8//    |_ |_
|(@)]   /~~[_____]~~\   [(@)|
   ~    (  |       |  )    ~
       [~` ]       [ '~]
       |~~|         |~~|
       |  |         |  |
      _<\/>_       _<\/>_
     /_====_\     /_====_\

HS Coetzee.

Code On.



ATOM RSS1 RSS2