Пример #1
0
        /// <summary>
        /// Deep copy.
        /// </summary>
        /// <returns></returns>
        public OTree Copy()
        {
            OTree ot = new OTree();
            ot.moduleSequence = new List<int>(moduleSequence);
            ot.dfsSequence = new List<Bit>(dfsSequence);

            return ot;
        }
Пример #2
0
        /// <summary>
        /// Deep copy.
        /// </summary>
        /// <returns></returns>
        public OTree Copy()
        {
            OTree ot = new OTree();

            ot.moduleSequence = new List <int>(moduleSequence);
            ot.dfsSequence    = new List <Bit>(dfsSequence);

            return(ot);
        }