Changeset 15949
- Timestamp:
- 06/05/18 14:33:12 (6 years ago)
- Location:
- branches/2886_SymRegGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration/Analysis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2886_SymRegGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration/Analysis/RSquaredEvaluator.cs
r15935 r15949 6 6 using HeuristicLab.Data; 7 7 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 8 using HeuristicLab. Optimization;8 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 9 9 using HeuristicLab.Problems.DataAnalysis; 10 10 using HeuristicLab.Problems.DataAnalysis.Symbolic; … … 12 12 13 13 namespace HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration { 14 [Item("RSquaredEvaluator", "")] 15 [StorableClass] 14 16 public class RSquaredEvaluator : Item, IGrammarEnumerationAnalyzer { 15 17 public static readonly string BestTrainingQualityResultName = "Best R² (Training)"; … … 34 36 algorithm.Started += OnStarted; 35 37 algorithm.Stopped += OnStopped; 36 37 38 algorithm.DistinctSentenceGenerated += AlgorithmOnDistinctSentenceGenerated; 38 39 } -
branches/2886_SymRegGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration/Analysis/SearchGraphVisualizer.cs
r15910 r15949 5 5 using HeuristicLab.Common; 6 6 using HeuristicLab.Core; 7 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 7 8 8 9 namespace HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration { 9 class SearchGraphVisualizer : Item, IGrammarEnumerationAnalyzer { 10 [Item("SearchGraphVisualizer", "")] 11 [StorableClass] 12 internal class SearchGraphVisualizer : Item, IGrammarEnumerationAnalyzer { 10 13 private readonly string dotFileName = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + @"\searchgraph.dot"; 11 14 … … 15 18 16 19 protected SearchGraphVisualizer(SearchGraphVisualizer original, Cloner cloner) : base(original, cloner) { } 20 21 [StorableConstructor] 22 protected SearchGraphVisualizer(bool deserializing) : base(deserializing) { } 17 23 18 24 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2886_SymRegGrammarEnumeration/HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration/Analysis/SentenceLogger.cs
r15911 r15949 5 5 using HeuristicLab.Common; 6 6 using HeuristicLab.Core; 7 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 7 8 8 9 namespace HeuristicLab.Algorithms.DataAnalysis.SymRegGrammarEnumeration { 10 [Item("SentenceLogger", "")] 11 [StorableClass] 9 12 public class SentenceLogger : Item, IGrammarEnumerationAnalyzer { 10 13 private readonly string workingDir = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
Note: See TracChangeset
for help on using the changeset viewer.