Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Optimization.Operators/3.3/SolutionsCreator.cs
- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Optimization.Operators/3.3/SolutionsCreator.cs
r14185 r14927 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Optimization.Operators { … … 32 32 /// </summary> 33 33 [Item("SolutionsCreator", "An operator which creates new solutions. Evaluation of the new solutions is executed in parallel, if an engine is used which supports parallelization.")] 34 [Storable Class]34 [StorableType("b5d3260c-c9e2-4845-a136-79b089bf9156")] 35 35 public sealed class SolutionsCreator : SingleSuccessorOperator { 36 36 public ValueLookupParameter<IntValue> NumberOfSolutionsParameter { … … 66 66 Parameters.Add(new ValueLookupParameter<IOperator>("Evaluator", "The operator which is used to evaluate new solutions. This operator is executed in parallel, if an engine is used which supports parallelization.")); 67 67 Parameters.Add(new ValueLookupParameter<BoolValue>("Parallel", "True if the operator should be applied in parallel on all sub-scopes, otherwise false.", new BoolValue(true))); 68 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope to which the new solutions are added as sub-scopes.")); 68 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope to which the new solutions are added as sub-scopes.")); 69 69 } 70 70 [StorableHook(HookType.AfterDeserialization)]
Note: See TracChangeset
for help on using the changeset viewer.