Exemplo n.º 1
0
        static OptoGlobals()
        {
            ComplexityCap = 2000;
#if DEBUG
            IsDebugMode = true;
#endif
            ///This whole thing needs to be moved around
            Console.WriteLine("Entering OptoGlobals STATIC constructor");
            RNG = new Random(_seed);



            String MATLABpath = @"./../../../Matlab Scripts/";
            MATLABpath = Path.GetFullPath(MATLABpath);

            assignExecutorProcess();


            Console.WriteLine(executor.Execute("cd " + "'" + MATLABpath + "'"));
            Console.WriteLine(executor.ToString());


            Console.WriteLine("Leaving Static Constructor");
        }