//------------------------------------------------------------------------------// // Class Constructors //------------------------------------------------------------------------------// public FormBehTrans(CSpanMgr SpanListMgr, BEHTRANS_TERM_MODEL BehavorTerminationMdl, int BehCount, string[] BehaviorNames, int BehIndex) { // This class constructor is for behavior transition matrices. m_displayType = MBSDEFAULTS.BITMAPDISPLAYTYPE.BEHAVIOR_TRANSITION; m_spanMgr = SpanListMgr; m_behTermMdl = BehavorTerminationMdl; // Set intial indicies m_behaviorIndex = BehIndex; m_activeSpanIndex = 0; // start at span index 0 m_activeMatrixRowIndex = 0;// start at row index 0 m_numBehaviorsDefined = BehCount; m_behaviorNameArray = BehaviorNames; ConstructForm(); SetTransitionFormulaText(); }
public FormBehTrans(CSpanMgr SpanlistMgr, int BehCount, string[] BehaviorNames) { // This class constructor is for the intitial behavior matrix. m_displayType = MBSDEFAULTS.BITMAPDISPLAYTYPE.INITIAL_BEHAVIOR; m_spanMgr = SpanlistMgr; //m_matrixParam = SpanlistMgr; // Set intial indicies m_behaviorIndex = -1;// no behavior indices for the initial behavior matrix. m_activeSpanIndex = 0; m_activeMatrixRowIndex = 0; // start at row index 0 m_numBehaviorsDefined = BehCount; m_behaviorNameArray = BehaviorNames; ConstructForm(); }