Exemplo n.º 1
0
        public bool CoveredBy(string[] values)
        {
            //if (values == null || SortedTuple == null || values.Length == 0 || SortedTuple.Count == 0)
            //{

            //}

            return(SortedTuple.All(v => values.Contains(v)));
        }
Exemplo n.º 2
0
        public Itemset Extend(string value)
        {
            if (SortedTuple.Contains(value))
            {
                return(null);
            }

            List <string> values = new List <string>();

            values.AddRange(SortedTuple);

            values.Add(value);

            return(new Itemset(values, 1));
        }
Exemplo n.º 3
0
 public bool Contains(string value)
 {
     return(SortedTuple.Contains(value));
 }