DoubleMOTask task problem
Opened this issue · 0 comments
kb2623 commented
- Error example 1
Returns:
import org.um.feri.ears.algorithms.moo.demo.D_DEMO ... val moead = new D_MOEAD(1000) val demo = new D_DEMO(1000, 1) ... val task = new DoubleMOTask(EnumStopCriteria.ITERATIONS, 10000, 10000, 10000, 0.000001, myProblem); ... val r_moead = moead.execute(task) val r_demo = demo.execute(task)
Exception in thread "main" java.lang.NullPointerException at org.um.feri.ears.util.Ranking.<init>(Ranking.java:71) at org.um.feri.ears.algorithms.MOAlgorithm.execute(MOAlgorithm.java:188)
- Error example 2
Returns:
import org.um.feri.ears.algorithms.moo.demo.D_DEMO ... val moead = new D_MOEAD(1000) val demo = new D_DEMO(1000, 1) ... val task = new DoubleMOTask(EnumStopCriteria.ITERATIONS, 10000, 10000, 10000, 0.000001, myProblem); ... val r_demo = demo.execute(task) val r_moead = moead.execute(task)
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index out of Bound 928 at org.um.feri.ears.problems.moo.ParetoSolution.get(ParetoSolution.java:155) at org.um.feri.ears.algorithms.moo.moead.MOEAD.start(MOEAD.java:208) at org.um.feri.ears.algorithms.moo.moead.D_MOEAD.start(D_MOEAD.java:28) at org.um.feri.ears.algorithms.MOAlgorithm.execute(MOAlgorithm.java:184)