|
From: Gary P. <gpa...@gm...> - 2009-06-08 12:00:18
|
Hi, Well, yes... I can't remember the orginal intent of the ProportionalControlParameter, but it effectively maintains a proportion. For example. Within the TournamentSelection class, the proportion is set to 0.1. The parameter is then used as follows: proportion.getParamter() * population.size() to obtain what 10% of the population would be. I think that this control parameter might be a little too stupid? We might actually want to rethink the class's intent. Thoughts? On Monday 08 June 2009 10:03:23 Andries Engelbrecht wrote: > Hi, > > I want Vmax to be proportional to the domain of the > problem. That is, Vmax = k*(Max - Min), where 0 <= k <= 1. > I see there is a ProportionalControlParameter, but I can > not figure out how to use it for my purpose. Before I > write something to extend ProportionalControlParameter > to base the value of a control parameter on the domain, > can any of you tell me how I can use the existing code to > reach my objective? > > Thanks |