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

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