<!–Converted with LaTeX2HTML 2022 (Released January 1, 2022) –> <HTML lang="en"> <HEAD> <TITLE>Contents of The Viewer</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> <META NAME="Generator" CONTENT="LaTeX2HTML v2022">
<LINK REL="STYLESHEET" HREF="tutorial.css">
<LINK REL="next" HREF="node4_mn.html"> <LINK REL="previous" HREF="node2_mn.html"> <LINK REL="up" HREF="tutorial_mn.html"> <LINK REL="next" HREF="node4_mn.html"> </HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#9944EE" vlink="#0000ff" alink="#00ff00">
<H1><A ID="SECTION00030000000000000000"> The Viewer</A> </H1>
<P> The viewer, which is used to examine the cell values in a graphic manner, is independent of the <EM>Cellang 2.0</EM> language and compiler. The input to the viewer is identical in form to the output (and thus the input) of <EM>Cellang 2.0</EM> programs. The current viewer allows the viewing of a single field along contiguous portions of any two dimensions. The values can be displayed as either characters (via curses) or colored squares (via X–Windows). A limited debugging aid (available only with the X–Windows viewing option) also allows the numeric values of a neighborhood of cells (as opposed to the color associated with this value) to be viewed.
<P> The idea of separating the language (and thus the cellular automata simulator) and the viewer allows greater flexibility both in the viewing of data and in the creation of cellular automata. There is no restriction that the input to the viewer be generated by a <EM>Cellang 2.0</EM> program, and it is possible that programs of other sorts will be developed to examine, gather and report statistics concerning the results of <EM>Cellang 2.0</EM> programs. ``Valve'' filters could be inserted between the output generated by a <EM>Cellang 2.0</EM> program and the input to the viewer. Such a valve program could allow the presentation speed to be tailored to the researcher's needs. Since the output of <EM>Cellang 2.0</EM> programs are written to the standard output, it can be piped directly into the viewer with no need for intermediate storage files. The use of a tpipe filter would enable storage of all or part of the produced cell values into a file.
<P>
<DIV class="CENTER"><A ID="report_times"></A><A ID="138"></A> <TABLE> <CAPTION class="BOTTOM"><STRONG>Figure:</STRONG> An example time file for reporting cell values</CAPTION> <TR><TD><IMG STYLE="height: 261.66ex; " SRC="img5.png" ALT="
<P>
<HR>
</BODY> </HTML>