Esempio n. 1
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);
        }
Esempio n. 2
0
 public NodesDirectedRowComparer([NotNull] DirectedRowComparer rowComparer)
 {
     _rowComparer = rowComparer;
 }