Last change
on this file since 5207 was
5144,
checked in by cneumuel, 14 years ago
|
#1215
- added possibility to create all parameter combinations from a ParameterConfigurationTree and generate an experiment from them
|
File size:
846 bytes
|
Rev | Line | |
---|
[4830] | 1 | using System;
|
---|
| 2 | using HeuristicLab.Common;
|
---|
[4839] | 3 | using HeuristicLab.Core;
|
---|
[4830] | 4 | using HeuristicLab.Data;
|
---|
[5144] | 5 | using System.Collections.Generic;
|
---|
[4830] | 6 |
|
---|
| 7 | namespace 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();
|
---|
[4830] | 20 | }
|
---|
[4981] | 21 |
|
---|
| 22 | public interface IRange<T> : IRange, IItem where T : class {
|
---|
| 23 | new T LowerBound { get; set; }
|
---|
| 24 | new T UpperBound { get; set; }
|
---|
| 25 | new T StepSize { get; set; }
|
---|
[5009] | 26 | new T GetRandomValue(IRandom random);
|
---|
[5144] | 27 | new IEnumerable<T> GetCombinations();
|
---|
[4981] | 28 | }
|
---|
[4830] | 29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.