Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 5522 was 5522, checked in by cneumuel, 14 years ago

#1215

  • implemented population diversity analysis
File size: 899 bytes
RevLine 
[4830]1using System;
2using HeuristicLab.Common;
[4839]3using HeuristicLab.Core;
[4830]4using HeuristicLab.Data;
[5144]5using System.Collections.Generic;
[4830]6
7namespace HeuristicLab.Problems.MetaOptimization {
[4981]8  public interface IRange : IItem, IStringConvertibleValue {
9    object LowerBound { get; set; }
10    object UpperBound { get; set; }
11    object StepSize { get; set; }
[4830]12
13    event EventHandler LowerBoundChanged;
14    event EventHandler UpperBoundChanged;
15    event EventHandler StepSizeChanged;
[4997]16
[5009]17    IItem GetRandomValue(IRandom random);
[5144]18
19    IEnumerable<IItem> GetCombinations();
[5522]20
21    double CalculateSimilarity(IItem a, IItem b);
[4830]22  }
[4981]23
24  public interface IRange<T> : IRange, IItem where T : class {
25    new T LowerBound { get; set; }
26    new T UpperBound { get; set; }
27    new T StepSize { get; set; }
[5009]28    new T GetRandomValue(IRandom random);
[5144]29    new IEnumerable<T> GetCombinations();
[4981]30  }
[4830]31}
Note: See TracBrowser for help on using the repository browser.