Example #1
0
            /// <inheritdoc/>
            public IEnumerable <TSequence> EnumerateSupport(int maxCount = 1000000)
            {
                if (weightFunction == null)
                {
                    return(Enumerable.Empty <TSequence>());
                }

                return(weightFunction.EnumerateSupport(maxCount));
            }
Example #2
0
 public IEnumerable <TSequence> EnumerateSupport(int maxCount = 1000000, bool tryDeterminize = true) => weightFunction?.EnumerateSupport(maxCount, tryDeterminize) ?? Enumerable.Empty <TSequence>();