Triveni

Package triveni.demo.counter

This package demonstrates how bounded counters, control buttons, and clocks can be composed.

See:
          Description

Class Summary
CarryCounter A carry counter suitable for building a multi-digit counter.
Counter A bounded counter implemented as an activity.
CounterExpr A bounded counter implemented as an expression.
Demo1 A bounded counter activity driven by a manual clock.
Demo1a A bounded counter expression driven by a manual clock.
Demo2 A bounded counter activity driven by an automatic clock.
Demo3 A three-digit carry counter driven by an automatic clock.
Demo4 A pausable two-digit carry counter driven by an automatic clock.
Demo5 A three-digit carry counter driven by an automatic clock that stops upon overflow.
Demo6 A haltable two-digit carry counter driven by an automatic clock.
ManualClock A manual clock that ticks each time a button is pressed.
 

Package triveni.demo.counter Description

This package demonstrates how bounded counters, control buttons, and clocks can be composed.


Triveni

http://www.cs.luc.edu/triveni/