Opened 6 years ago

Last modified 3 years ago

#1420 assigned defect

Renaming of column names (and row names) of a DoubleMatrix is reset after some time

Reported by: vdorfer Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.x Backlog
Component: Data.Views Version: 3.3.3
Keywords: Cc:

Description

In the NSGA-II a DoubleMatrix represents the resulting pareto front. After renaming the column names of this matrix the correct headers are shown, however quickly reset to "Objective 1", "Objective 2",... This whole process is performed each generation leading to a flickering of the view. Renaming is performed by:

DoubleMatrix front = new DoubleMatrix(frontSize, objectives);
front.ColumnNames = colNames;
if (results.ContainsKey("Pareto Front"))
  results["Pareto Front"].Value = front;
else results.Add(new Result("Pareto Front", front));

Removing the second line of code leads to name changings from "Objective 1", "Objective 2",... to "Column 1", "Column 2". Row names change from "Solution 1" to "Row 1".

Attachments (2)

correct.jpg (114.5 KB) - added by vdorfer 6 years ago.
wrong.jpg (145.3 KB) - added by vdorfer 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by vdorfer

Changed 6 years ago by vdorfer

comment:1 Changed 4 years ago by mkommend

  • Owner changed from mkommend to abeham
  • Status changed from new to assigned

I don't think that the issue is still present in the current version of HL 3.3.8. Could you please check the behavior and eventually close the ticket.

comment:2 follow-up: Changed 4 years ago by abeham

  • Owner changed from abeham to vdorfer

I don't know how the columns get named to B, C, D. Can you check if this is still the case vdorfer?

comment:3 in reply to: ↑ 2 Changed 4 years ago by gkronber

  • Priority changed from low to medium

Replying to abeham:

I don't know how the columns get named to B, C, D. Can you check if this is still the case vdorfer?

Renaming is not possible through the GUI but only through code. See the code in the ticket description.

comment:4 Changed 3 years ago by gkronber

  • Owner changed from vdorfer to gkronber
Note: See TracTickets for help on using tickets.