Welcome to ScalaTion, the Scala-based system for Simulation, Optimization and Analytics.
This system, coded in Scala, supports multi-paradigm simulation modeling including 'tableau', 'event', 'process', 'dynamics', 'dynamics_pde', 'activity' and 'state' oriented models.
Scala is a modern object-oriented, functional programming language that is well-suited for developing simulation engines. It is in the Java family of languages and can call Java code. The inclusion of advanced and functional programming capabilities, makes the code much more concise than Java. ScalaTion also supports optimization and analytics as they nowadays go hand-in-hand with simulation modeling. Some of the algorithms come in both sequential and parallel versions.
The ScalaTion 2.0 version defines multiple .par subpackages that contain parallel versions of sequential algorithms. Future directions include completing the 'scala3d' and 'physics' packages.
Please read the LICENSE file (an MIT style license).
$ tar xvfz scalation_2.0.tar.gz
OR
$ unzip scalation_2.0.zip
$ cd scalation_2.0
$ sbt compile
$ sbt
> compile
> runMain scalation.modeling.simpleRegressionTest
> runMain scalation.modeling.regressionTest
> exit
The compile command is optional, since runMain will automatically compile if need be.
ScalaTion is set up to use the Simple Build Tool sbt. ScalaTion 2.0 uses the following build specification file:
$ cd your_project_dir
$ sbt new sbt/scala-seed.g8
$ cd hello
$ mkdir lib
copy jar files from lib
$ cd src/main/scala/example
$ vim Hello.scala
The second time you do this, you will want to use a more appropriate name than hello.
$ cd my_scalation_2.0
$ ls -l lib
$ sbt
> run
Check to make sure the ScalaTion .jar file is in the lib directory (ls -l lib).
The location of ScalaTion's .jar file may be found in
where_is_jar.txt.
The sbt run command will allow you to choose any main method to run (or you may use runMain).
To develop using an Integrated Development Environment (IDE) [IntelliJ]:
Package Description scalation The scalation foundational packages. animation The `animation` package supports the animation of models. calculus The `calculus` package supports numerical differentiation and integration. database The `database` package supports relational and graph databases. dynamics The `dynamics` package supports the development of ODE models. mathstat The `mathstat` package supports basic math and statistics. modeling The `modeling` package supports the development of several type of data science models. optimization The `optimization` package supports linear and nonlinear optimization. random The `random` package supports random variate generation. scala2d The `scala2d` package supports simple 2D graphics in scala, based upon `java.swing`, `java.awt` and `java_awt_geom`. simulation The `simulation` package supports the development of simulation models.
Package Description scalation Scalation Foundational Packages. animation The `animation` package supports the animation of models. calculus The `calculus` package supports numerical differentiation and integration. database The `database` package supports relational and graph databases. dynamics The `dynamics` package supports development of ODE models. mathstat The `mathstat` package supports basic math and statistics. modeling The `modeling` package supports the development of several type of data science models. optimization The `optimization` package supports linear and nonlinear optimization. random The `random` package supports random variate generation. scala2d The `scala2d` package supports simple 2D graphics in scala, based upon `java.swing`, `java.awt` and `java_awt_geom`. simulation The `simulation` package supports the development of simulation models.