Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Common/Palettes/PowerPalette.cs @ 12503

Last change on this file since 12503 was 12503, checked in by aballeit, 9 years ago

#2283 added GUI and charts; fixed MCTS

File size: 499 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Windows.Media;
6
7namespace Microsoft.Research.DynamicDataDisplay.Common.Palettes
8{
9  public class PowerPalette : DecoratorPaletteBase
10  {
11    public PowerPalette() { }
12
13    public PowerPalette(IPalette palette) : base(palette) { }
14
15    public override Color GetColor(double t)
16    {
17      // todo create a property for power base setting
18      return base.GetColor(Math.Pow(t, 0.1));
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.