Top Up Prev Next Bottom Contents Index Search

8.3 An overview of BDF stars

The "open-palette" command in pigi ("O") will open a checkbox window that you can use to open the standard palettes in all of the installed domains. At the current time, the BDF star library is small enough that it is contained entirely in one palette, shown in figure
8-1.

CondGate If the value on the "control" input is nonzero, the input particle is copied to output. Otherwise, no input is consumed (except the control particle) and no output is produced. This is effectively one half of a Select.
Fork (Two icons.) Copy the input particle to each output. The SDF fork is not used here because the BDF domain requires some extra steps to assert that each output of a fork is logically equivalent if the input is a Boolean signal.
Not Output the logical inverse of the Boolean input. Again, the equivalent SDF logic block is not adequate because extra steps are needed to assert the logical relationship between the input and the output.
Select If the value on the "control" porthole is nonzero, N tokens (from the parameter N) from "trueInput" are copied to the output; otherwise, N tokens from "falseInput" are copied to the output.
Switch Switch input particles to one of two outputs, depending on the value of the control input. The parameter N gives the number of particles read in one firing. If the particle read from the control input is TRUE, then the values are written to "trueOutput"; otherwise they are written to "falseOutput".
The Higher Order Functions icon leads to the HOF palette that contains HOF stars that can be used within BDF.



Top Up Prev Next Bottom Contents Index Search

Copyright © 1990-1997, University of California. All rights reserved.