Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/03/13 20:19:00 (12 years ago)
Author:
sforsten
Message:

#1980:

  • included an adapted version of GA correctly
  • added action set subsumption
  • added deletion after GA and before covering
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  
        11obj
        22Plugin.cs
         3*.user
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Covering/CoveringOperator.cs

    r9090 r9105  
    5353      get { return (ILookupParameter<IRandom>)Parameters["Random"]; }
    5454    }
     55    public ILookupParameter<IntValue> CurrentPopulationSizeParameter {
     56      get { return (ILookupParameter<IntValue>)Parameters["CurrentPopulationSize"]; }
     57    }
    5558    public IValueLookupParameter<BoolValue> ParallelParameter {
    5659      get { return (IValueLookupParameter<BoolValue>)Parameters["Parallel"]; }
     
    8386      Parameters.Add(new ValueLookupParameter<BoolValue>("Parallel", "True if the operator should be applied in parallel on all sub-scopes, otherwise false.", new BoolValue(true)));
    8487      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"));
    8589    }
    8690
     
    97101        throw new ArgumentException("More classifiers with unique actions shall be created than unique actions are available.");
    98102      }
     103
     104      CurrentPopulationSizeParameter.ActualValue.Value += count;
    99105
    100106      int current = CurrentScope.SubScopes.Count;
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Covering/ICovering.cs

    r9090 r9105  
    3333    IValueLookupParameter<ICoveringSolutionCreator> SolutionCreatorParameter { get; }
    3434    IValueLookupParameter<BoolValue> ParallelParameter { get; }
     35
     36    ILookupParameter<IntValue> CurrentPopulationSizeParameter { get; }
    3537  }
    3638}
Note: See TracChangeset for help on using the changeset viewer.