Changeset 9392 for branches/LearningClassifierSystems/HeuristicLab.Optimization.Operators.LCS/3.3/GAssist
- Timestamp:
- 04/23/13 13:31:29 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Optimization.Operators.LCS/3.3/GAssist
- Files:
-
- 10 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Optimization.Operators.LCS/3.3/GAssist/IGAssistNichesProblemData.cs
r9352 r9392 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using HeuristicLab.Core; 25 using HeuristicLab.Data; 26 using HeuristicLab.Problems.DataAnalysis; 24 27 25 28 namespace HeuristicLab.Optimization.Operators.LCS { 26 29 public interface IGAssistNichesProblemData : INamedItem { 30 Dataset Dataset { get; } 31 ICheckedItemList<StringValue> ConditionVariables { get; } 32 StringValue TargetVariable { get; } 33 IEnumerable<string> AllowedConditionVariables { get; } 34 //IEnumerable<string> AllowedTargetVariables { get; } 35 36 IntRange TrainingPartition { get; } 37 IntRange TestPartition { get; } 38 39 IEnumerable<int> TrainingIndices { get; } 40 IEnumerable<int> TestIndices { get; } 41 42 bool IsTrainingSample(int index); 43 bool IsTestSample(int index); 44 45 int Classes { get; } 46 47 IGAssistInput FetchInput(int row); 48 IEnumerable<IGAssistInput> FetchInput(IEnumerable<int> row); 49 50 IEnumerable<IGAssistNiche> FetchAction(IEnumerable<int> rows); 51 IGAssistNiche FetchAction(int rows); 52 53 event EventHandler Changed; 54 27 55 IEnumerable<IGAssistNiche> GetPossibleNiches(); 28 56 } -
branches/LearningClassifierSystems/HeuristicLab.Optimization.Operators.LCS/3.3/GAssist/IGAssistProblem.cs
r9352 r9392 21 21 22 22 using HeuristicLab.Core; 23 23 24 namespace HeuristicLab.Optimization.Operators.LCS { 24 25 public interface IGAssistProblem : ISingleObjectiveHeuristicOptimizationProblem { 26 new IStrataSingleObjectiveEvaluator Evaluator { get; } 27 25 28 IParameter ProblemDataParameter { get; } 26 29 string NichingParameterName { get; } -
branches/LearningClassifierSystems/HeuristicLab.Optimization.Operators.LCS/3.3/GAssist/Interfaces/IGAssistIndividual.cs
r9352 r9392 30 30 void ApplyMerge(IRandom random, double probability); 31 31 void ApplyReinitialize(IRandom random, double probability, double oneProbability, IEnumerable<IDiscretizer> discretizers); 32 33 IGAssistSolution CreateGAssistSolution(IGAssistNichesProblemData problemData); 32 34 } 33 35 }
Note: See TracChangeset
for help on using the changeset viewer.