Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/01/14 15:56:15 (10 years ago)
Author:
pfleck
Message:

#2208

  • Fixed OrienteeringSolution visualization when start or endpoint are out of range
  • Changed some parameters in OP to FixedValueParameter
  • Added start/terminal index check in OP
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Problems.Orienteering.Views/3.3/OrienteeringProblemView.cs

    r11319 r11325  
    6363      } else {
    6464        orienteeringSolutionView.Content = new OrienteeringSolution(
    65           Content.BestKnownSolution, Content.Coordinates, Content.StartingPoint, Content.TerminalPoint, Content.Scores, Content.BestKnownQuality, penalty: null);
     65          Content.BestKnownSolution, Content.Coordinates, Content.StartingPointParameter.Value, Content.TerminalPointParameter.Value, Content.Scores, Content.BestKnownQuality, penalty: null);
    6666      }
    6767    }
     
    7676    }
    7777    private void StartingPointParameter_ValueChanged(object sender, EventArgs e) {
    78       orienteeringSolutionView.Content.StartingPoint = Content.StartingPoint;
     78      orienteeringSolutionView.Content.StartingPoint.Value = Content.StartingPoint;
    7979    }
    8080    private void TerminalPointParameter_ValueChanged(object sender, EventArgs e) {
    81       orienteeringSolutionView.Content.TerminalPoint = Content.TerminalPoint;
     81      orienteeringSolutionView.Content.TerminalPoint.Value = Content.TerminalPoint;
    8282    }
    8383    private void ScoresParameter_ValueChanged(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.