[jgap-users] Using object class as return type and how to adapt the commands and terminals and fitn
Brought to you by:
klausikm
From: Joshua R. <jos...@gm...> - 2010-07-08 13:51:19
|
Dear Reader, I'm Using JGAP to solve an optimization program with Genetic Programming. I want to find a AND /OR query with the highest f-score(formula can be seen in Fitness Function). As I see it, the words are here the terminals and AND / OR are the operators. Each Word has a corresponding dataset of articles, this is implemented as an ArrayList of integers. Now i want the returntype of the terminals and the operators to be a QPQuery object, where the String of the word and the ArrayList of integers are saved in. I have created: - QueryProblem: main class - GPQuery: object with String and ArrayList of integers - GP_and_operator - GP_or_operator - GP_terminal - QueryFitnessFunction When I run QueryProblem, i instantly get a NoClassDefFoundError. I am quite desperate, and any help would be very appreciated!! With kind regards, Joshua Ratha -- Joshua Ratha Voorschoterlaan 141 3062 KM Rotterdam t: 06-18292901 e: jos...@gm... |