Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DoubleMOTask task problem #19

Open
kb2623 opened this issue Feb 11, 2018 · 0 comments
Open

DoubleMOTask task problem #19

kb2623 opened this issue Feb 11, 2018 · 0 comments

Comments

@kb2623
Copy link

kb2623 commented Feb 11, 2018

  • Error example 1
    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)
    
    Returns:
    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
    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)
    
    Returns:
    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)
    
@kb2623 kb2623 changed the title MOO DEMO algorithm problems MOO DEMO algorithm problem Feb 11, 2018
@kb2623 kb2623 changed the title MOO DEMO algorithm problem DoubleMOTask task problem Feb 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant