Esempio n. 1
0
        /// <inheritdoc/>
        public IComplexTerm ComplexTerm(Func <ConditionEndpoint, IOperand> complexTermConstructor)
        {
            ArgumentValidator.EnsureArgumentNotNull(complexTermConstructor, "complexTermConstructor");

            var endpoint = SearchConditionNodeFactory.CreateConditonRoot();

            return(SearchConditionNodeFactory.CreateComplexTerm(this, complexTermConstructor.Invoke(endpoint)));
        }
 internal ProximityOperandEndpoint()
 {
     rootOperator = SearchConditionNodeFactory.CreateConditonRoot();
     operands     = new List <IProximityOperand>();
 }
Esempio n. 3
0
 internal WeightedTermEndpoint()
 {
     rootOperator     = SearchConditionNodeFactory.CreateConditonRoot();
     weightedOperands = new Dictionary <IWeighableTerm, float?>();
 }