You could check out the GEP contrib package. GEP evolves trees using a vector data structure so it may be easier to deal with part-tree/part-vector individuals. I'm sure it's would take a bit of programming to get it to work though.
You'll need to make three basic items:
- An Individual class of some sort
- A Species for the Individual
- Appropriate breeding pipelines
What I would do is subclass from GPIndividual and add in relevant parts from (say) IntegerVectorIndividual. But you'll have to do a fair bit of rewriring. This is not going to be easy for someone who's not a java expert, I'm afraid to say. :-( I'd try to whip one up for you but I have my hands full right now with family. Anyone else?
On Nov 22, 2011, at 2:57 PM, Frederik wrote:
> My goal (just as Ben I think) is indeed to evolve individuals that are part-tree and
> part-vector. The problem is that I'm not a java expert and I don't really see
> where to start. The main issue will be to create a new breeding class, is that