//copy consttuctor public RTCDBSchedulerState(RTCDBSchedulerState copyThis) : base(copyThis) { DBStack = new Stack<int>(); var DbStackList = copyThis.DBStack.ToList(); DbStackList.Reverse(); foreach (var item in DbStackList) { this.DBStack.Push(item); } }
//clone public override ZingerSchedulerState Clone(bool isCloneForFrontier) { RTCDBSchedulerState cloned = new RTCDBSchedulerState(this); return cloned; }