One might begin with the design of a program sketched informally, for example, on a paper napkin. Nobel Laureate Harry Kroto explains how the paper napkins on which they sketched the first possible models of a spherical structure for C60, were thrown away soon after they left the restaurant. We kept an image of one of ours:
This can be drawn directly in a CLARITY function window, as illlustrated below. The system checks the diagram as it interprets it. The program is stored both as code (in the Functional language FAITH ) and as a diagram or series of diagrams.
Runnable program code is generated from diagrams such as this one, drawn in a window:
A CLARITY diagram of one component of a program called EXPLORE
A diagram of one component of a sub-routine in a program called "experimenters".
System Requirements
Clarity can be run on any PC running Windows (up to NT) or any Macintosh
running system 6.5.1 through to OS8.6, with a minimum of 8 Mb of main memory.
Programs developed using CLARITY include:
For the Faraday project, CLARITY has been used to produce
a number of standard cognitive science simulations and to develop less
conventional models of a variety of scientific activities, including:
Output from CLARITY
Programs designed and implemented with CLARITY can output data or text
to dedicated graphics, narrative or text windows, or data can be written
files for graphical display or statistical analysis. The following plot
of CLARITY data displays the changing confidence of one actor for a range
of hypotheses. The actor is part of a simulation of the interaction of
scientists exchanging information about experiments.
A plot (in MSWord) of simulation data for one of several actors
in
a simulation of scientists exchanging information about experiments.
The following plot displays the changing status of several actors, who can decide whether to perform new experiments or to consult another actor in the simulation:
In this plot each colored trajectory represents the status of an
actor, indicating whether the actor is consulting other actors or is making
a new experiment.
A CLARITY Network Diagram. Clicking on any of the boxes will open the program or sub-routine associated with it.
David Gooding (since 1990), Jan Townsend-Addis and Tom Addis (since 1986) and Simon Gray (1994-96).
Clarity Documents (Sorry! files not yet available) .
You can obtain a recent version of CLARITY from the
Clarity
Graphical Programming Site, maintained at the Department of Information
Sciences, Portsmouth.
Other Links:
Science Studies Centre
Science Studies (HPS) Courses at the University of Bath
dcg 01.01.01