public SymbolicDataAnalysisExpressionTreeSimilarityCalculator(ISymbolicExpressionTreeDistanceCalculator distanceCalculator) : base() { this.distanceCalculator = distanceCalculator; Parameters.Add(new ScopeTreeLookupParameter<ISymbolicExpressionTree>(SymbolicExpressionTreeParameterName, "The symbolic expression trees to analyze.")); Parameters.Add(new ValueParameter<ISymbolicExpressionTree>(CurrentSymbolicExpressionTreeParameterName, "")); Parameters.Add(new LookupParameter<BoolValue>(MatchVariablesParameterName, "Specify if the symbolic expression tree comparer should match variable names.")); Parameters.Add(new LookupParameter<BoolValue>(MatchVariableWeightsParameterName, "Specify if the symbolic expression tree comparer should match variable weghts.")); Parameters.Add(new LookupParameter<BoolValue>(MatchConstantValuesParameterName, "Specify if the symbolic expression tree comparer should match constant values.")); Parameters.Add(new LookupParameter<DoubleValue>(SimilarityValuesParmeterName, "")); }
public SymbolicDataAnalysisExpressionTreeSimilarityCalculator(ISymbolicExpressionTreeDistanceCalculator distanceCalculator) : base() { this.distanceCalculator = distanceCalculator; Parameters.Add(new ScopeTreeLookupParameter <ISymbolicExpressionTree>(SymbolicExpressionTreeParameterName, "The symbolic expression trees to analyze.")); Parameters.Add(new ValueParameter <ISymbolicExpressionTree>(CurrentSymbolicExpressionTreeParameterName, "")); Parameters.Add(new LookupParameter <BoolValue>(MatchVariablesParameterName, "Specify if the symbolic expression tree comparer should match variable names.")); Parameters.Add(new LookupParameter <BoolValue>(MatchVariableWeightsParameterName, "Specify if the symbolic expression tree comparer should match variable weghts.")); Parameters.Add(new LookupParameter <BoolValue>(MatchConstantValuesParameterName, "Specify if the symbolic expression tree comparer should match constant values.")); Parameters.Add(new LookupParameter <DoubleValue>(SimilarityValuesParmeterName, "")); }