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 | |
---|
1 | using System;
|
---|
2 | using HeuristicLab.Core;
|
---|
3 | using HeuristicLab.Data;
|
---|
4 | using System.Collections.Generic;
|
---|
5 |
|
---|
6 | namespace 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.