public IWeightedTermConstructionFlow GenerationTerm(GenerationType generationType, ICollection <string> terms) { var operand = SearchConditionNodeFactory.CreateGenerationTerm(rootOperator, generationType, terms); weightedOperands.Add(operand, null); return(this); }
public IWeightedTermConstructionFlow GenerationTerm(GenerationType generationType, ICollection <string> terms, float weight) { EnsureWeightIsCorrect(weight); var operand = SearchConditionNodeFactory.CreateGenerationTerm(rootOperator, generationType, terms); weightedOperands.Add(operand, weight); return(this); }
/// <inheritdoc/> public IGenerationTerm GenerationTerm(GenerationType generationType, ICollection <string> terms) { return(SearchConditionNodeFactory.CreateGenerationTerm(this, generationType, terms)); }