public virtual LGPProgram Clone()
        {
            LGPProgram clone = new LGPProgram(mPop, mOperatorSet.Clone());

            clone.Copy(this);
            return(clone);
        }
Пример #2
0
        public virtual LGPProgram CreateProgram(int size, LGPEnvironment env)
        {
            LGPProgram program = new LGPProgram(this, mOperatorSet.Clone());

            program.Create(size);

            return(program);
        }