<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/cilib/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/cilib/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/cilib/bugs/</id><updated>2009-04-30T06:28:26Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>LBestTopology inherits GBestTopology iterator()</title><link href="https://sourceforge.net/p/cilib/bugs/18/" rel="alternate"/><published>2009-04-30T06:28:26Z</published><updated>2009-04-30T06:28:26Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.neta6b7c3ead1539e951f2f0cfb579c769c9aeec7ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The LBestTopology.iterator() method is not implemented, meaning the functionality is inherited from GBestTopology which returns a GBestNeighbourhoodIterator instead of an LBestNeighbourhoodIterator.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GA maximises FunctionMinimisationProblem</title><link href="https://sourceforge.net/p/cilib/bugs/17/" rel="alternate"/><published>2009-04-21T07:24:06Z</published><updated>2009-04-21T07:24:06Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net512de1823a0a319082d2739bdc38c377dcb4161f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The ec.EC algorithm configured with GeneticAlgorithmIterationStrategy is maximising problem that should be minimised.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FitnessCalculator only wants Entity</title><link href="https://sourceforge.net/p/cilib/bugs/16/" rel="alternate"/><published>2009-02-13T06:44:40Z</published><updated>2009-02-13T06:44:40Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net2bd069251131c22e989004b8c249fd19f604d3e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Someone commented out the FitnessCalculator in the clustering.KMeans class, because FitnessCalculator now requires an Entity and KMeans only has a Vector. I don't recall when this change in FitnessCalculator was made. The Git logs don't contain the change.&lt;/p&gt;
&lt;p&gt;KMeans is not a population based algorithm and therefore an Entity would not make sense. Is there another type of FitnessCalculator that can handle Vectors?&lt;/p&gt;
&lt;p&gt;Because the fitness is not calculated, the clusters never get created and the following exception occurs:&lt;/p&gt;
&lt;p&gt;./simulator.sh xml/kmeans.xml&lt;br /&gt;
Starting simulation 1 of 1.&lt;br /&gt;
log4j:WARN No appenders could be found for logger (net.sourceforge.cilib.util.ClusteringUtils).&lt;br /&gt;
log4j:WARN Please initialize the log4j system properly.&lt;br /&gt;
clusters: null&lt;br /&gt;
Exception in thread "Thread-1" java.lang.NullPointerException&lt;br /&gt;
at net.sourceforge.cilib.clustering.kmeans.KMeans.algorithmIteration(KMeans.java:113)&lt;br /&gt;
at net.sourceforge.cilib.algorithm.Algorithm.performIteration(Algorithm.java:141)&lt;br /&gt;
at net.sourceforge.cilib.algorithm.Algorithm.run(Algorithm.java:183)&lt;br /&gt;
at java.lang.Thread.run(Thread.java:619)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bug at RandomAlgorithmIterator</title><link href="https://sourceforge.net/p/cilib/bugs/15/" rel="alternate"/><published>2008-10-08T23:11:52Z</published><updated>2008-10-08T23:11:52Z</updated><author><name>Olusegun</name><uri>https://sourceforge.net/u/killearnith/</uri></author><id>https://sourceforge.net9b96b792f0d86842db06d41681048649d97c044d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The class doesn't work... Likely because the list of random numbers is not being correctly instantiated.&lt;/p&gt;
&lt;p&gt;A file that works is attached...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Subtle bug in Entity.equals() when convergence occurs</title><link href="https://sourceforge.net/p/cilib/bugs/14/" rel="alternate"/><published>2008-10-03T16:16:17Z</published><updated>2008-10-03T16:16:17Z</updated><author><name>Gary Pampara</name><uri>https://sourceforge.net/u/gpampara/</uri></author><id>https://sourceforge.netbe3055683e5d304984a2d74b48278a1931e45c4e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When the scenario of all entities converging onto a single point in the search space, the .equals() and .hashCode() methods for Entity objects fail. All objects are suddenly the same. This causes a problem within the parentSelection of the DE, resulting in an infinite loop.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Redundancy in BoundaryConstraint classes...</title><link href="https://sourceforge.net/p/cilib/bugs/13/" rel="alternate"/><published>2008-09-12T14:47:55Z</published><updated>2008-09-12T14:47:55Z</updated><author><name>Olusegun</name><uri>https://sourceforge.net/u/killearnith/</uri></author><id>https://sourceforge.net02361a14b2dea8dd8dfff41e5ede1f2866fb9a28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There are two different implementations of the boundary constraint handling mechanisms for pso.&lt;/p&gt;
&lt;p&gt;One of them defines an enforce(...) interface and can be found in the pso.iterationstrategies package while the other defines a constrainLower(...) and constrainUpper(...) interafce and can be found in pso.positionupdatestrategies.boundaryconstraintstrategies...&lt;/p&gt;
&lt;p&gt;The former is built into the iteration strategy and provides a more "elegant" solution (this is my opinion). I, thus, suggest that the implementation of the latter be merged into it...&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Arnith&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>TournamentSelectionStrategy returns worst entity...</title><link href="https://sourceforge.net/p/cilib/bugs/12/" rel="alternate"/><published>2008-08-29T15:59:53Z</published><updated>2008-08-29T15:59:53Z</updated><author><name>Olusegun</name><uri>https://sourceforge.net/u/killearnith/</uri></author><id>https://sourceforge.net46d1c58aa56c777bae2c9de91efed4541079840d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The strategy should return the winner of the tournament, right? As far as I can tell, this is the individual with the best fitness...&lt;/p&gt;
&lt;p&gt;The comparator in the select method sorts according to descending fitness (i.e. from worst to best) and returns the worst (individual at index 0)...&lt;/p&gt;
&lt;p&gt;Suggested fix: comparator should be changed from DescendingFitness to AscendingFitness...&lt;/p&gt;
&lt;p&gt;I doubt I'm missing anything here but pardon me if I am...&lt;/p&gt;
&lt;p&gt;Regards...&lt;/p&gt;
&lt;p&gt;___&lt;/p&gt;
&lt;p&gt;Killearnith&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>FDRVelocityUpdate breaks on Ackley</title><link href="https://sourceforge.net/p/cilib/bugs/11/" rel="alternate"/><published>2008-08-28T19:24:34Z</published><updated>2008-08-28T19:24:34Z</updated><author><name>Olusegun</name><uri>https://sourceforge.net/u/killearnith/</uri></author><id>https://sourceforge.netf332eab572d8f730f42a738eb86f8f1a8b2e9ba8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The velocity update in question either causes stagnation on Ackley or very slow minimization.&lt;/p&gt;
&lt;p&gt;Original paper proposing the strategy should be pulled up and the velocity strategy should be re-implemented...&lt;/p&gt;
&lt;p&gt;__&lt;/p&gt;
&lt;p&gt;Killearnith&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SelectiveContributionUpdateStrategy incorrectly implemented</title><link href="https://sourceforge.net/p/cilib/bugs/10/" rel="alternate"/><published>2008-08-19T09:17:26Z</published><updated>2008-08-19T09:17:26Z</updated><author><name>Olusegun</name><uri>https://sourceforge.net/u/killearnith/</uri></author><id>https://sourceforge.net8e5d13adbe810640a06e922746489447059a8b21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This class is supposed to update part of a cooperative entity (context vector) with the solution represented by participant algorithm entity only if the updated context is better than the original.&lt;/p&gt;
&lt;p&gt;Currently, the comparison is between the participant entity and the context instead of between the original context and the updated context. This needs to be corrected and tested.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Objects don't implement equals &amp; hashCode methods correctly</title><link href="https://sourceforge.net/p/cilib/bugs/9/" rel="alternate"/><published>2008-06-22T21:12:21Z</published><updated>2008-06-22T21:12:21Z</updated><author><name>Gary Pampara</name><uri>https://sourceforge.net/u/gpampara/</uri></author><id>https://sourceforge.netb4dd44c71e69bdb1041e03e0ec6dc2cf86ac5ce2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Within a number of objects, the equals() and hashCode() methods are not correct.&lt;/p&gt;
&lt;p&gt;Many of the equals() methods do not test for reference equality or nulls and the hashCode() should be written to match the equals().&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>