Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edadma/calab-example
Examples of making CA rule classes to use with CALab
https://github.com/edadma/calab-example
Last synced: 14 days ago
JSON representation
Examples of making CA rule classes to use with CALab
- Host: GitHub
- URL: https://github.com/edadma/calab-example
- Owner: edadma
- License: mit
- Created: 2014-08-16T15:24:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-20T19:32:00.000Z (over 10 years ago)
- Last Synced: 2024-11-19T10:13:05.044Z (3 months ago)
- Language: Scala
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Using CALab with your own Cellular Automata
===========================================This repository shows how to setup a class of cellular automata not currently included in CALab. CALab was actually started for the purpose of making it easy to explore new classes of cellular automata in a convenient way, which is why it only has a couple of CA classes included. This repo adds support for Cyclic CA's to give you an example as to how to setup your own CA engine coded in Scala. And for those more familiar with Java, there's also an example coded in Java which adds support for the "Vote" class of CA's, the most interesting being the "Fredkin Replicator" CA. Actually, CALab was made "Java friendly" so that it would be easy to code a CA engine in Java.
Using this Repository to Run CCA's or Vote CA's
-----------------------------------------------The easiest way to use this repository is to use the Simple Build Tool (SBT), and Git of course. We will assume that you're setup to use Git and SBT. Start by cloning the repo.
git clone https://github.com/edadma/calab-example.git
Then go in to the newly created directory and start SBT.cd calab-example
sbt
Now you can run CALab and have it load the CCA engine provided by this repo with the commandrun -e ca.hyperreal.calabexample.CyclicCA
SBT will cause the source files in this repo to be compiled, download CALab and then ensure that CALab will be able to find CyclicCA to load it, and then run CALab with CyclicCA loaded.