Free cookie consent management tool by TermsFeed Policy Generator

source: addons/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IRange.cs @ 18183

Last change on this file since 18183 was 16996, checked in by gkronber, 6 years ago

#2520 Update plugin dependencies and references for HL.MetaOptimization for new persistence

File size: 871 bytes
Line 
1using System;
2using HeuristicLab.Core;
3using HeuristicLab.Data;
4using System.Collections.Generic;
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(IRandom random);
17
18    IEnumerable<IItem> GetCombinations();
19
20    double CalculateSimilarity(IItem a, IItem b);
21  }
22
23  public interface IRange<T> : IRange, IItem where T : class {
24    new T LowerBound { get; set; }
25    new T UpperBound { get; set; }
26    new T StepSize { get; set; }
27    new T GetRandomValue(IRandom random);
28    new IEnumerable<T> GetCombinations();
29  }
30}
Note: See TracBrowser for help on using the repository browser.