示例#1
0
        public IEnumerable <Node <T> > Order()
        {
            if (_orderedRevisionVersion != _revisionVersion)
            {
                var sort = new TopologicalSort(this);
                orderedNodes            = sort.Order();
                _orderedRevisionVersion = _revisionVersion;
            }

            return(orderedNodes ?? new List <Node <T> >());
        }
        public IEnumerable <Node> Order()
        {
            var order = new TopologicalSort();

            return(order.Order(this));
        }
示例#3
0
        public IEnumerable<Node> Order()
        {
            var order = new TopologicalSort();

            return order.Order(this);
        }