Klasse FWSimulationController

java.lang.Object
net.simplace.sim.control.FWSimulationController

public class FWSimulationController extends Object
SimulationController initializes the project part of the simulations. It can be asked for - project mode of simulation FWSimProject.PROJECT_MODE. - field map of project data - Map of the FWSimProjects with name as key. - FWSimVariable.CONTENT_TYPE of the project information (res or sim) SimulationController can perform the reading of the configuration either from simple xml or resources (XML, Database, CSV).
Autor:
Andreas Enders
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • initProjectData

      public void initProjectData(FileData aProjectXMLFile) throws SimProjectException
      Default constructor from XML first step: create structure of the data to be placed in the database second step: prepare the database
      Parameter:
      aProjectXMLFile - Element containing project information - if null test-project will be created
      aSession - FWSimSession
      Löst aus:
      SimProjectException
    • iterate

      public boolean iterate(String aProjectID)
    • generate

      public void generate(String aProjectID)
      generates the simulations for the session
      Parameter:
      aProjectID -
    • select

      public void select(FWSimProject aProject)
    • finalize

      public void finalize()
      Setzt außer Kraft:
      finalize in Klasse Object
    • getProjectIDs

      public Set<String> getProjectIDs()
      Gibt zurück:
      the linked map of all projects
    • getProject

      public FWSimProject getProject(String aProject)
      Parameter:
      aProject -
      Gibt zurück:
      newly created SimProject for the given ID
    • getFieldMap

      public HashMap<String,FWSimVariable<?>> getFieldMap()
      Gibt zurück:
      the field map of all projects
    • getProjectMode

      public FWSimProject.PROJECT_MODE getProjectMode()
      Gibt zurück:
      project mode
    • setProjectMode

      public void setProjectMode(FWSimProject.PROJECT_MODE aProjectMode)
    • getCurrentProjectID

      public String getCurrentProjectID()
    • getMaxIterationCount

      public int getMaxIterationCount()