Esempio n. 1
0
 public NetGrower()
 {
     _pathRowComparer = new PathRowComparer(new TableIndexRowComparer());
     _endRowNetDict   = new Dictionary <IDirectedRow, List <TDirectedRow> >(_pathRowComparer);
     _netEnds         =
         new Dictionary <List <TDirectedRow>, Dictionary <IDirectedRow, TDirectedRow> >();
 }
Esempio n. 2
0
        public RingGrower([NotNull] Func <TDirectedRow, TDirectedRow> revertFunc)
        {
            _revertFunc      = revertFunc;
            _pathRowComparer = new PathRowComparer(new TableIndexRowComparer());

            _directedPartComparer = new DirectedRowComparer(_pathRowComparer.RowComparer);
            _startRows            =
                new SortedDictionary <IDirectedRow, LineList <TDirectedRow> >(_directedPartComparer);
            _endRows =
                new SortedDictionary <IDirectedRow, LineList <TDirectedRow> >(_directedPartComparer);
        }