예제 #1
0
        public void Init()
        {
            originalWorkingDir = Environment.CurrentDirectory;

            originalUIwriter = UI.TextWriter;
            UI.TextWriter = Data.Output;

            PlugInDataset plugIns = new PlugInDataset();
            plugIns.AddPlugIn("Null Succession", "succession",
                              typeof(Null.Succession).AssemblyQualifiedName);
            plugIns.AddPlugIn("Null Output", "output",
                              typeof(Null.Output).AssemblyQualifiedName);

            rasterDriverMgr = new RasterDriverManager();
            model = new Model(plugIns, rasterDriverMgr);
        }
예제 #2
0
        public void Init()
        {
            originalWorkingDir = Environment.CurrentDirectory;

            originalUIwriter = UI.TextWriter;
            UI.TextWriter    = Data.Output;

            PlugInDataset plugIns = new PlugInDataset();

            plugIns.AddPlugIn("Null Succession", "succession",
                              typeof(Null.Succession).AssemblyQualifiedName);
            plugIns.AddPlugIn("Null Output", "output",
                              typeof(Null.Output).AssemblyQualifiedName);

            rasterDriverMgr = new RasterDriverManager();
            model           = new Model(plugIns, rasterDriverMgr);
        }
        public void Init()
        {
            PlugInDataset plugIns = new PlugInDataset();
            plugIns.AddPlugIn("Age-only succession", "succession", null);

            plugIns.AddPlugIn("Null.Disturbance", "disturbance", null);
            plugIns.AddPlugIn("Age-only.Wind",    "disturbance:wind", null);
            plugIns.AddPlugIn("Age-only.Fire",    "disturbance:fire", null);
            plugIns.AddPlugIn("Harvest",          "disturbance:harvest", null);

            plugIns.AddPlugIn("Test.DumpEcoregions", "output", null);
            plugIns.AddPlugIn("Test.DumpSpecies",    "output", null);

            parser = new ScenarioParser(plugIns);
        }
예제 #4
0
        public void Init()
        {
            PlugInDataset plugIns = new PlugInDataset();

            plugIns.AddPlugIn("Age-only succession", "succession", null);

            plugIns.AddPlugIn("Null.Disturbance", "disturbance", null);
            plugIns.AddPlugIn("Age-only.Wind", "disturbance:wind", null);
            plugIns.AddPlugIn("Age-only.Fire", "disturbance:fire", null);
            plugIns.AddPlugIn("Harvest", "disturbance:harvest", null);

            plugIns.AddPlugIn("Test.DumpEcoregions", "output", null);
            plugIns.AddPlugIn("Test.DumpSpecies", "output", null);

            parser = new ScenarioParser(plugIns);
        }