de.tubs.cs.sc.casim
Class CASim

java.lang.Object
  |
  +--de.tubs.cs.sc.casim.CASim

public class CASim
extends java.lang.Object

CASim provides a command line interface for simulation of CA.

 usage of CASim is
 CASim options [-o file]
 options
   -s (s)tate class
      no default
   -l (1D|2DT|2DS|2DH|3D) the kind of (l)attice
      2DS is the default
   -lc the class to use for the lattice
      default depends on geometry
   -co class option, currently used only for Lattice2DAsync
      default depends on geometry
   -x Width of lattice
      no default
   -y Height of lattice
      no default
   -z Depth of lattice
      no default
   -n (Moore|Neumann) the (n)eighborhood
      Neumann is the default
   -r (r)adius of neighborhood
      1 is the default
   -b1p the (B)oundaryHandler in (1). dimension and (p)ositive direction
        PeriodicBoundaryHandler is default
   -b1n the (B)oundaryHandler in (1). dimension and (n)egative direction
        PeriodicBoundaryHandler is default
   -b2p the (B)oundaryHandler in (2). dimension and (p)ositive direction
        PeriodicBoundaryHandler is default
   -b2n the (B)oundaryHandler in (2). dimension and (n)egative direction
        PeriodicBoundaryHandler is default
   -b3p the (B)oundaryHandler in (3). dimension and (p)ositive direction
        PeriodicBoundaryHandler is default
   -b3n the (B)oundaryHandler in (3). dimension and (n)egative direction
        PeriodicBoundaryHandler is default
   -g the number of (g)enerations to be executed
      no default
   -c (on|off) neighborhood cache
      default is on
   -m (on|off) measure to stdout
      default is off
   -o file (o)utput is written into file
   -h prints this (h)elp
 Sample is CASim -s GH.class -l 2DS -x 10 -y 10 -g 20
 executes 20 time steps of a two dimensional square CA
 with a 10x10 lattice and the state Class GH to stdout
 if no file is specified everything goes to stdout
 CASim by Uwe Freiwald at TU Braunschweig, Germany
 


Constructor Summary
CASim()
           
 
Method Summary
static void main(java.lang.String[] args)
          main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CASim

public CASim()
Method Detail

main

public static void main(java.lang.String[] args)
main method. parses args and executes a CA.