public StateActiveSpace Clone() { StateActiveSpace sas = new StateActiveSpace(); sas.UnionWith(this); return(sas); }
public void Init()//Reset the RMP Model { NumOfThreads = 4; print("--------{0}初始化问题开始--------", System.DateTime.Now.ToLongTimeString()); m_CurrentTime = 0; InitRMPModel(); InitRCGModel(); curSAS.Clear(); DoCalculate(); SAS = curSAS.Clone(); SAS.GetBasis(RMPModel); print("--------{0}初始化问题完成--------", System.DateTime.Now.ToLongTimeString()); }