/// <summary> /// Determine if the terms contain the item /// </summary> public bool Contains(ISetComponent <T> item) { return(this.Terms.Contains(item)); }
/// <summary> /// Remove a term from the collection /// </summary> public bool Remove(ISetComponent <T> item) { return(this.Terms.Remove(item)); }
/// <summary> /// Creates a new instance of the QSET difference class with the specified sets /// </summary> /// <param name="minuend">The first set from which <paramref name="subtrahend"/> should be subtracted</param> /// <param name="subtrahend">The set by which <paramref name="minuend"/> should be subtracted</param> public QSD(ISetComponent <T> minuend, ISetComponent <T> subtrahend) { this.Minuend = minuend; this.Subtrahend = subtrahend; }
/// <summary> /// Add an expression to the term set /// </summary> public void Add(ISetComponent <T> item) { this.Terms.Add(item); }
/// <summary> /// Create a new instance of the GTS class with the specified <paramref name="hull"/> /// </summary> /// <param name="hull"></param> public GTS(SXPR <TS> hull) : base() { this.Hull = hull; }
/// <summary> /// Create a new instance of the GTS class with the specified <paramref name="hull"/> /// </summary> /// <param name="hull"></param> public GTS(QSU <TS> hull) : base() { this.Hull = hull; }
/// <summary> /// Create a new instance of the GTS class with the specified <paramref name="hull"/> /// </summary> /// <param name="hull">A PIVL<TS> to set as the hull</param> public GTS(PIVL <TS> hull) : base() { this.Hull = hull; }
/// <summary> /// Creates a new instance of the QSET periodic hull class with the specified sets /// </summary> /// <param name="low">The set used as the basis for the periodic hull operation</param> /// <param name="high">The set used for the parameter of the periodic hull function</param> public QSP(ISetComponent <T> low, ISetComponent <T> high) { this.Low = low; this.High = high; }
public Collection( ICompareComponent compare, ICreationComponent creator, IDelegationComponent delegation, IFilterComponent filter, IMapReduceComponent mapReduce, IPartitionComponent partitioner, ISetComponent set, IZipComponent zip, IUnZipComponent unzip ) { if (compare == null) { throw new ArgumentNullException("compare"); } if (creator == null) { throw new ArgumentNullException("creator"); } if (delegation == null) { throw new ArgumentNullException("delegation"); } if (filter == null) { throw new ArgumentNullException("filter"); } if (mapReduce == null) { throw new ArgumentNullException("mapReduce"); } if (partitioner == null) { throw new ArgumentNullException("partitioner"); } if (set == null) { throw new ArgumentNullException("set"); } if (zip == null) { throw new ArgumentNullException("zip"); } if (unzip == null) { throw new ArgumentNullException("unzip"); } _compare = compare; _creator = creator; _delegation = delegation; _filter = filter; _mapReduce = mapReduce; _partitioner = partitioner; _set = set; _zip = zip; _unzip = unzip; }