Changeset 9423 for branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers
- Timestamp:
- 05/02/13 13:48:38 (12 years ago)
- Location:
- branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.Problems.DataAnalysis.Symbolic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.Problems.DataAnalysis.Symbolic
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic merged: 9288
- Property svn:mergeinfo changed
-
branches/HeuristicLab.EvolutionaryTracking/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Crossovers/MultiSymbolicDataAnalysisExpressionCrossover.cs
r9241 r9423 86 86 get { return (IValueLookupParameter<T>)Parameters[ProblemDataParameterName]; } 87 87 } 88 public ValueParameter<ISymbolicExpressionTreeNode Comparer> SymbolicExpressionTreeNodeComparerParameter {89 get { return (ValueParameter<ISymbolicExpressionTreeNode Comparer>)Parameters[SymbolicExpressionTreeNodeComparerParameterName]; }88 public ValueParameter<ISymbolicExpressionTreeNodeSimilarityComparer> SymbolicExpressionTreeNodeComparerParameter { 89 get { return (ValueParameter<ISymbolicExpressionTreeNodeSimilarityComparer>)Parameters[SymbolicExpressionTreeNodeComparerParameterName]; } 90 90 } 91 91 #endregion … … 112 112 Parameters.Add(new ScopeTreeLookupParameter<ISymbolicExpressionTree>(ParentsParameterName, "The parent symbolic expression trees which should be crossed.")); 113 113 Parameters.Add(new LookupParameter<ISymbolicExpressionTree>(ChildParameterName, "The child symbolic expression tree resulting from the crossover.")); 114 Parameters.Add(new ValueParameter<ISymbolicExpressionTreeNode Comparer>(SymbolicExpressionTreeNodeComparerParameterName, SymbolicExpressionTreeNodeComparerParameterDescription));114 Parameters.Add(new ValueParameter<ISymbolicExpressionTreeNodeSimilarityComparer>(SymbolicExpressionTreeNodeComparerParameterName, SymbolicExpressionTreeNodeComparerParameterDescription)); 115 115 116 116 EvaluatorParameter.Hidden = true; … … 185 185 op.EvaluatorParameter.ActualName = EvaluatorParameter.Name; 186 186 } 187 var comparers = ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeNode Comparer>();187 var comparers = ApplicationManager.Manager.GetInstances<ISymbolicExpressionTreeNodeSimilarityComparer>(); 188 188 foreach (var op in Operators.OfType<ITracingSymbolicExpressionTreeOperator>()) { 189 189 op.SymbolicExpressionTreeNodeComparerParameter.ActualValue = comparers.First();
Note: See TracChangeset
for help on using the changeset viewer.