From: Edrich <ed...@cs...> - 2006-03-14 19:14:36
|
Hallo all, I'm currently busy trying to get the Niche PSO up and running, but I still have a few issues. The Niche PSO class is essentially a wrapper for the main swarm PSO and sub-swarm PSOs it contains. My problem is with the proper setup of the wrapped PSO's properties from the XML config file. I have commented out all sub-swarm related operations in the perform iteration function of the Niche PSO and as a result have only the main swarm PSO 'active' (PSO wrapping another PSO). After hooking up the stopping condition, problem, etc. from the config file of the Niche PSO to the main swarm, I call the main swarm's performIteration() function as would normally. The result of running the Niche PSO is then a progress indication of 0% on each iteration and a constant fitness. I have stepped through the code, and my suspicion is that the Measurement.Fitness does not get hooked up (setup) properly to the wrapped main swarm PSO object. Any help or thoughts would be much appreciated. Regards Edrich |