Skip to content

DoubleMOTask task problem #19

@kb2623

Description

@kb2623
  • 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)
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions