示例#1
0
        private void Init(IntInterval horizon)
        {
            m_Horizon = horizon;

            m_VarList        = new List <Variable>();
            m_IntVarList     = new List <IntVar>();
            m_FltVarList     = new List <FltVar>();
            m_ConstraintList = new List <Constraint>();

            m_StateStack = new StateStack();
            m_GoalStack  = new GoalStack(m_IntObjective);

            m_Out  = Console.Out;
            m_Time = DateTime.Now;
        }
示例#2
0
文件: Solver.cs 项目: nofear/Mara
        private void Init( IntInterval horizon )
        {
            m_Horizon			= horizon;

            m_VarList			= new List<Variable>();
            m_IntVarList		= new List<IntVar>();
            m_FltVarList		= new List<FltVar>();
            m_ConstraintList	= new List<Constraint>();

            m_StateStack		= new StateStack();
            m_GoalStack			= new GoalStack( m_IntObjective );

            m_Out				= Console.Out;
            m_Time				= DateTime.Now;
        }