Esempio n. 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;
        }
Esempio n. 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);
        }