Exemple #1
0
        public void Print()
        {
            Console.WriteLine("CONNECTOR FROM " + mPartiteA.GetName()
                              + " TO " + mPartiteB.GetName());

            List <Edge> .Enumerator e = mEdges.GetEnumerator();
            while (e.MoveNext())
            {
                Edge v = e.Current;
                v.Print();
            }
        }
Exemple #2
0
        public Partite GetPartite(string name)
        {
            List <Partite> .Enumerator e = mPartites.GetEnumerator();
            while (e.MoveNext())
            {
                Partite p = e.Current;
                if (p.GetName().CompareTo(name) == 0)
                {
                    return(p);
                }
            }

            return(null);
        }