Пример #1
0
        public IWeightedTermConstructionFlow GenerationTerm(GenerationType generationType, ICollection <string> terms)
        {
            var operand = SearchConditionNodeFactory.CreateGenerationTerm(rootOperator, generationType, terms);

            weightedOperands.Add(operand, null);
            return(this);
        }
Пример #2
0
        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);
        }
Пример #3
0
 /// <inheritdoc/>
 public IGenerationTerm GenerationTerm(GenerationType generationType, ICollection <string> terms)
 {
     return(SearchConditionNodeFactory.CreateGenerationTerm(this, generationType, terms));
 }