get the convergence speed of each objective function
A Free and Open Source Java Framework for Multiobjective Optimization
Brought to you by:
dhadka
Dear All,
I need to get the convergence speed of each objective function " i.e. get the mean of each objective function at each generation" I am not sure how to do this I think to use the Instrumenter
I wrote the following code:
Instrumenter instrumenter=new Instrumenter()
.withProblem("Optimization_Problem")
.withFrequency(100)
.attachAll();
NondominatedPopulation result = new Executor()
.withProblem("Optimization_Problem")
.withAlgorithm("NSGAIII")
.withMaxEvaluations(50000)
.withInstrumenter(instrumenter)
.run();
Accumulator accumulator=instrumenter.getLastAccumulator();
From this step I am not sure what to do what I should print I tried to look at the API But it wasn't very useful. for(int i=0;i<accumulator.size("NFE"); i++){ System.out.println(accumulator.get("NFE",i)+"/t"+accumulator.get(What to print here)) } Is there other method to do this other than the Instrumenter? Thanks n advance
Guys I really need an answer please