File: ix/examples/index.html Author: Jeff DaltonUpdated: Mon Nov 27 15:22:02 2000 by Jeff Dalton This directory contains a simple version of an I-X framework plus examples of its use. PicoIX.java A "very small" IX that provides simple definitions of classes Issue, IssueHandler, Constraint, ConstraintManager, ConstraintAssociator, IX_System and Controller. They are defined as static classes within the PicoIX class, so that the whole thing can go in one file, and they have been designed so that the framework can be modified and extended in a object-oriented way. PicoIXTest1.java A simple example that shows how to define issue handlers, create an IX_System that uses those handlers, and tell the system of "events" that become Issues. It also shows one of the ways to use PicoIX when writing an application: refer to PicoIX classes using qualified names such as PicoIX.Issue. PicoIXTest2.java Another simple example. It shows how to define and use new Controller and IssueHandler subclasses. It also shows the other way to use PicoIX: define a PicoIX subclass that contains the application. PicoISim.java Shows how to extend PicoIX for a particular application type, in this case discrete event simulation. PicoISimTest1.java A very simple simulation example. PicoISimTest2.java An example that shows one way to extend PicoISim to create a simulator that treats each tick of simulated time as one second of real time. PicoISimTest3.java A more elaborate example that involves simple resource constraints and a corresponding constraint-manager. SimResource.java An example constraint / constraint-manager pair suitable for use with PicoISim, defined as local (static) classes within a containing class.