Last change
on this file since 17282 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
|
Rev | Line | |
---|
[4830] | 1 | using System;
|
---|
[4839] | 2 | using HeuristicLab.Core;
|
---|
[4830] | 3 | using HeuristicLab.Data;
|
---|
[5144] | 4 | using System.Collections.Generic;
|
---|
[4830] | 5 |
|
---|
| 6 | namespace HeuristicLab.Problems.MetaOptimization {
|
---|
[4981] | 7 | public interface IRange : IItem, IStringConvertibleValue {
|
---|
| 8 | object LowerBound { get; set; }
|
---|
| 9 | object UpperBound { get; set; }
|
---|
| 10 | object StepSize { get; set; }
|
---|
[4830] | 11 |
|
---|
| 12 | event EventHandler LowerBoundChanged;
|
---|
| 13 | event EventHandler UpperBoundChanged;
|
---|
| 14 | event EventHandler StepSizeChanged;
|
---|
[4997] | 15 |
|
---|
[5009] | 16 | IItem GetRandomValue(IRandom random);
|
---|
[5144] | 17 |
|
---|
| 18 | IEnumerable<IItem> GetCombinations();
|
---|
[5522] | 19 |
|
---|
| 20 | double CalculateSimilarity(IItem a, IItem b);
|
---|
[4830] | 21 | }
|
---|
[4981] | 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; }
|
---|
[5009] | 27 | new T GetRandomValue(IRandom random);
|
---|
[5144] | 28 | new IEnumerable<T> GetCombinations();
|
---|
[4981] | 29 | }
|
---|
[4830] | 30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.