View Javadoc
1   package org.woehlke.computer.kurzweil;
2   
3   import lombok.extern.log4j.Log4j2;
4   import org.woehlke.computer.kurzweil.application.ComputerKurzweilProperties;
5   import org.woehlke.computer.kurzweil.tabs.simulatedevolution.SimulatedEvolutionTab;
6   
7   /**
8    * Class with main Method for Starting the Desktop Application.
9    *
10   * @see SimulatedEvolutionTab
11   *
12   * © 2006 - 2008 Thomas Woehlke.
13   * http://thomas-woehlke.de/p/simulated-evolution/
14   * @author Thomas Woehlke
15   */
16  @Log4j2
17  public class SimulatedEvolutionApplication {
18  
19      private SimulatedEvolutionApplication(String configFileName, String jarFilePath) {
20          ComputerKurzweilProperties properties = ComputerKurzweilProperties.propertiesFactory(configFileName, jarFilePath);
21          SimulatedEvolutionTablatedEvolutionTab.html#SimulatedEvolutionTab">SimulatedEvolutionTab simulatedEvolutionTab = new SimulatedEvolutionTab(properties);
22      }
23  
24      /**
25       * Starting the Desktop Application
26       * @param args CLI Parameter
27       */
28      public static void main(String[] args) {
29          String configFileName = "application.yml";
30          String jarFilePath = "target/simulated-evolution.jar";
31          SimulatedEvolutionApplicationion.html#SimulatedEvolutionApplication">SimulatedEvolutionApplication application = new SimulatedEvolutionApplication(configFileName,jarFilePath);
32      }
33  }