Last change
on this file since 17695 was
17695,
checked in by abeham, 4 years ago
|
#2521:
- Moving solution creator parameter from problems to algorithms (breaking wiring in some HeuristicOptimizationProblems)
- Disallowing evaluator or encoding changes in encoding-specific base problems (to avoid confusion in derived problems whether this needs to be handled or not)
- Added private set to ReferenceParameter property (serialization)
|
File size:
1.3 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using HEAL.Attic;
|
---|
4 | #region License Information
|
---|
5 | /* HeuristicLab
|
---|
6 | * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL)
|
---|
7 | *
|
---|
8 | * This file is part of HeuristicLab.
|
---|
9 | *
|
---|
10 | * HeuristicLab is free software: you can redistribute it and/or modify
|
---|
11 | * it under the terms of the GNU General Public License as published by
|
---|
12 | * the Free Software Foundation, either version 3 of the License, or
|
---|
13 | * (at your option) any later version.
|
---|
14 | *
|
---|
15 | * HeuristicLab is distributed in the hope that it will be useful,
|
---|
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
18 | * GNU General Public License for more details.
|
---|
19 | *
|
---|
20 | * You should have received a copy of the GNU General Public License
|
---|
21 | * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
|
---|
22 | */
|
---|
23 | #endregion
|
---|
24 |
|
---|
25 |
|
---|
26 | namespace HeuristicLab.Core {
|
---|
27 | [StorableType("10644c62-bd66-440d-8204-d0c724c9f109")]
|
---|
28 | public interface IConstrainedValueParameter<T> : IValueParameter<T> where T : class, IItem {
|
---|
29 | IItemSet<T> ValidValues { get; }
|
---|
30 |
|
---|
31 | IItem SetValueToFirstOf(Type itemType);
|
---|
32 | void Populate(IEnumerable<IItem> items);
|
---|
33 | void Repopulate(IEnumerable<IItem> items);
|
---|
34 | }
|
---|
35 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.