|
From: Andries E. <en...@cs...> - 2009-06-08 12:58:49
|
Thanks Gary, We'll, that is what I also figured. For what I want to do, the ProportinalControlParameter wil not work. Let me think of a new implementation that will do what I want and still keeps the current functionality. Regards Gary Pampara wrote: > 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 >> > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > cilib-devel mailing list > cil...@li... > https://lists.sourceforge.net/lists/listinfo/cilib-devel > -- ========================================================== Prof Andries P Engelbrecht South African Research Chair in Artificial Intelligence Fundamentals of Computational Swarm Intelligence, John Wiley & Sons, December 2005. Computational Intelligence, An Introduction John Wiley & Sons, Second edition to be published soon Computational Intelligence Research Group: http://cirg.cs.up.ac.za Department of Computer Science School of Information Technology University of Pretoria Pretoria 0002, South Africa Tel: +27 12 420 3578 Fax: +27 12 362 5188 http://www.cs.up.ac.za/~engel ================================================ This message and attachments are subject to a disclaimer. Please refer to www.it.up.ac.za/documentation/governance/disclaimer/ for full details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule onderhewig. Volledige besonderhede is by www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar. |