Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/11/16 17:34:50 (8 years ago)
Author:
abeham
Message:

#2457: worked on problem instance mapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem/3.3/Views/KnowledgeCenterAllinOneView.cs

    r13722 r13751  
    271271          Label = run.Name
    272272        };
    273         instancesSeries.Points.Add(dataPoint);
    274       }
    275 
    276       var curPoint = Content.ProjectCurrentInstance(projection);
    277       if (curPoint != null) {
    278         var dp = new DataPoint(curPoint.Item1, curPoint.Item2) {
    279           Label = Content.Problem.Problem.Name
    280         };
    281         currentInstanceSeries.Points.Add(dp);
     273        if (!Content.IsCurrentInstance(run)) instancesSeries.Points.Add(dataPoint);
     274        else currentInstanceSeries.Points.Add(dataPoint);
    282275      }
    283276    }
Note: See TracChangeset for help on using the changeset viewer.