Example #1
0
        public void addSingleton(int b)
        {
            int           temp = Grouping.Keys.Count;
            List <Person> lp   = new List <Person>();

            lp.Add(IdFrame.getPersonById(b));
            Grouping.Add(temp, lp);
        }
Example #2
0
        public void addSubGroup(List <int> b)
        {
            List <Person> ls = new List <Person>();

            foreach (int p in b)
            {
                ls.Add(IdFrame.getPersonById(p));
            }
            int temp = Grouping.Keys.Count;

            Grouping.Add(temp, ls);
            GN++;
        }