Changeset 9441
- Timestamp:
- 05/04/13 18:24:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.cs
r9435 r9441 764 764 double max = transparencyTrackBar.Maximum; 765 765 double r = (x - min) / (max - min); // r \in [0..1] 766 double l = Math. Log(r + 1) / Math.Log(2.0); // l \in [0..1]766 double l = Math.Max(Math.Min((1.0 - Math.Pow(0.05, r)) / 0.95, 1), 0); // l \in [0..1] 767 767 return (int)Math.Round(255.0 * l); 768 768 }
Note: See TracChangeset
for help on using the changeset viewer.