Changeset 9105 for branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Covering
- Timestamp:
- 01/03/13 20:19:00 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3
- Property svn:ignore
-
old new 1 1 obj 2 2 Plugin.cs 3 *.user
-
- Property svn:ignore
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Covering/CoveringOperator.cs
r9090 r9105 53 53 get { return (ILookupParameter<IRandom>)Parameters["Random"]; } 54 54 } 55 public ILookupParameter<IntValue> CurrentPopulationSizeParameter { 56 get { return (ILookupParameter<IntValue>)Parameters["CurrentPopulationSize"]; } 57 } 55 58 public IValueLookupParameter<BoolValue> ParallelParameter { 56 59 get { return (IValueLookupParameter<BoolValue>)Parameters["Parallel"]; } … … 83 86 Parameters.Add(new ValueLookupParameter<BoolValue>("Parallel", "True if the operator should be applied in parallel on all sub-scopes, otherwise false.", new BoolValue(true))); 84 87 Parameters.Add(new ScopeParameter("CurrentScope", "The current scope to which the new solutions are added as sub-scopes.")); 88 Parameters.Add(new LookupParameter<IntValue>("CurrentPopulationSize")); 85 89 } 86 90 … … 97 101 throw new ArgumentException("More classifiers with unique actions shall be created than unique actions are available."); 98 102 } 103 104 CurrentPopulationSizeParameter.ActualValue.Value += count; 99 105 100 106 int current = CurrentScope.SubScopes.Count; -
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Covering/ICovering.cs
r9090 r9105 33 33 IValueLookupParameter<ICoveringSolutionCreator> SolutionCreatorParameter { get; } 34 34 IValueLookupParameter<BoolValue> ParallelParameter { get; } 35 36 ILookupParameter<IntValue> CurrentPopulationSizeParameter { get; } 35 37 } 36 38 }
Note: See TracChangeset
for help on using the changeset viewer.