Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IRange.cs @ 4997

Last change on this file since 4997 was 4997, checked in by cneumuel, 13 years ago

#1215 worked on metaoptimization

File size: 695 bytes
Line 
1using System;
2using HeuristicLab.Common;
3using HeuristicLab.Core;
4using HeuristicLab.Data;
5
6namespace HeuristicLab.Problems.MetaOptimization {
7  public interface IRange : IItem, IStringConvertibleValue {
8    object LowerBound { get; set; }
9    object UpperBound { get; set; }
10    object StepSize { get; set; }
11
12    event EventHandler LowerBoundChanged;
13    event EventHandler UpperBoundChanged;
14    event EventHandler StepSizeChanged;
15
16    IItem GetRandomValue();
17  }
18
19  public interface IRange<T> : IRange, IItem where T : class {
20    new T LowerBound { get; set; }
21    new T UpperBound { get; set; }
22    new T StepSize { get; set; }
23    new T GetRandomValue();
24  }
25}
Note: See TracBrowser for help on using the repository browser.