示例#1
0
        public InspirationalBranch Clone(Solver solver)
        {
            InspirationalBranch clone = new InspirationalBranch(solver);

            clone.Inspirational = Inspirational;

            if (LeftNode != null)
            {
                clone.LeftNode = LeftNode.Clone(solver);
            }
            if (RightNode != null)
            {
                clone.RightNode = RightNode.Clone(solver);
            }

            return(clone);
        }