You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is thrown on some GA's when Encog is run under Java 7.
Got this error when I ran the Lunar Lander Example:
Exception in thread "main" java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeLo(Unknown Source)
at java.util.ComparableTimSort.mergeAt(Unknown Source)
at java.util.ComparableTimSort.mergeCollapse(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at org.encog.ml.genetic.population.BasicPopulation.sort(BasicPopulation.java:445)
at org.encog.neural.networks.training.genetic.NeuralGeneticAlgorithm.(NeuralGeneticAlgorithm.java:134)
at org.encog.examples.neural.lunar.LunarLander.main(LunarLander.java:71)
The text was updated successfully, but these errors were encountered:
The following error is thrown on some GA's when Encog is run under Java 7.
Got this error when I ran the Lunar Lander Example:
Exception in thread "main" java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.util.ComparableTimSort.mergeLo(Unknown Source)
at java.util.ComparableTimSort.mergeAt(Unknown Source)
at java.util.ComparableTimSort.mergeCollapse(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.ComparableTimSort.sort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at java.util.Collections.sort(Unknown Source)
at org.encog.ml.genetic.population.BasicPopulation.sort(BasicPopulation.java:445)
at org.encog.neural.networks.training.genetic.NeuralGeneticAlgorithm.(NeuralGeneticAlgorithm.java:134)
at org.encog.examples.neural.lunar.LunarLander.main(LunarLander.java:71)
The text was updated successfully, but these errors were encountered: