Changeset 5717 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification
- Timestamp:
- 03/16/11 16:34:31 (14 years ago)
- Location:
- branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification-3.4.csproj
r5685 r5717 112 112 <Compile Include="SingleObjective\SymbolicClassificationSingleObjectiveValidationBestSolutionAnalyzer.cs" /> 113 113 <Compile Include="SymbolicDiscriminantFunctionClassificationModel.cs" /> 114 <Compile Include="SymbolicDiscriminantFunctionClassificationSolution.cs" />115 114 <Compile Include="Interfaces\ISymbolicClassificationModel.cs" /> 116 115 <Compile Include="Interfaces\ISymbolicClassificationSolution.cs" /> … … 130 129 </Compile> 131 130 <Compile Include="SymbolicClassificationSolution.cs" /> 131 <Compile Include="SymbolicDiscriminantFunctionClassificationSolution.cs"> 132 <SubType>Code</SubType> 133 </Compile> 132 134 <None Include="HeuristicLab.snk" /> 133 135 <None Include="HeuristicLabProblemsDataAnalysisSymbolicClassificationPlugin.cs.frame" /> -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/Interfaces/ISymbolicDiscriminantFunctionClassificationModel.cs
r5649 r5717 22 22 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 23 23 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Classification { 24 public interface ISymbolicDiscriminantFunctionClassificationModel : IDiscriminantFunctionClassificationModel, ISymbolic DataAnalysisModel {24 public interface ISymbolicDiscriminantFunctionClassificationModel : IDiscriminantFunctionClassificationModel, ISymbolicClassificationModel { 25 25 } 26 26 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationSolution.cs
r5624 r5717 38 38 [StorableClass] 39 39 [Item(Name = "SymbolicClassificationSolution", Description = "Represents a symbolic classification solution (model + data) and attributes of the solution like accuracy and complexity.")] 40 public class SymbolicClassificationSolution : ClassificationSolution, ISymbolicClassificationSolution {40 public sealed class SymbolicClassificationSolution : ClassificationSolution, ISymbolicClassificationSolution { 41 41 #region ISymbolicClassificationSolution Members 42 42 43 43 public new ISymbolicClassificationModel Model { 44 44 get { return (ISymbolicClassificationModel)base.Model; } 45 set { base.Model = value; } 45 46 } 46 47 … … 51 52 #endregion 52 53 [StorableConstructor] 53 pr otectedSymbolicClassificationSolution(bool deserializing) : base(deserializing) { }54 pr otectedSymbolicClassificationSolution(SymbolicClassificationSolution original, Cloner cloner)54 private SymbolicClassificationSolution(bool deserializing) : base(deserializing) { } 55 private SymbolicClassificationSolution(SymbolicClassificationSolution original, Cloner cloner) 55 56 : base(original, cloner) { 56 57 } -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicDiscriminantFunctionClassificationSolution.cs
r5678 r5717 38 38 [StorableClass] 39 39 [Item(Name = "SymbolicDiscriminantFunctionClassificationSolution", Description = "Represents a symbolic classification solution (model + data) and attributes of the solution like accuracy and complexity.")] 40 public class SymbolicDiscriminantFunctionClassificationSolution : DiscriminantFunctionClassificationSolution, ISymbolicClassificationSolution { 41 #region ISymbolicClassificationSolution Members 40 public sealed class SymbolicDiscriminantFunctionClassificationSolution : DiscriminantFunctionClassificationSolution, ISymbolicClassificationSolution { 42 41 43 public new IDiscriminantFunctionClassificationModel Model { 44 get { return (IDiscriminantFunctionClassificationModel)base.Model; } 42 public new ISymbolicDiscriminantFunctionClassificationModel Model { 43 get { return (ISymbolicDiscriminantFunctionClassificationModel)base.Model; } 44 set { base.Model = value; } 45 45 } 46 46 47 47 ISymbolicClassificationModel ISymbolicClassificationSolution.Model { 48 get { return (ISymbolicClassificationModel)Model; }48 get { return Model; } 49 49 } 50 50 51 51 ISymbolicDataAnalysisModel ISymbolicDataAnalysisSolution.Model { 52 get { return (ISymbolicDataAnalysisModel)Model; }52 get { return Model; } 53 53 } 54 54 55 #endregion56 55 [StorableConstructor] 57 pr otectedSymbolicDiscriminantFunctionClassificationSolution(bool deserializing) : base(deserializing) { }58 pr otectedSymbolicDiscriminantFunctionClassificationSolution(SymbolicDiscriminantFunctionClassificationSolution original, Cloner cloner)56 private SymbolicDiscriminantFunctionClassificationSolution(bool deserializing) : base(deserializing) { } 57 private SymbolicDiscriminantFunctionClassificationSolution(SymbolicDiscriminantFunctionClassificationSolution original, Cloner cloner) 59 58 : base(original, cloner) { 60 59 } 61 public SymbolicDiscriminantFunctionClassificationSolution(I DiscriminantFunctionClassificationModel model, IClassificationProblemData problemData)60 public SymbolicDiscriminantFunctionClassificationSolution(ISymbolicDiscriminantFunctionClassificationModel model, IClassificationProblemData problemData) 62 61 : base(model, problemData) { 63 62 } … … 65 64 public override IDeepCloneable Clone(Cloner cloner) { 66 65 return new SymbolicDiscriminantFunctionClassificationSolution(this, cloner); 67 } 66 } 68 67 } 69 68 }
Note: See TracChangeset
for help on using the changeset viewer.