|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcsp.plugNplay.ints.FibonacciInt
public final class FibonacciInt
This generates the Fibonacci sequence on its output channel.
______________ | | out | FibonacciInt |------> |______________|
_______________________________________ | | | _______________ ___________ | | | | | | | out | |PrefixInt (0)
|-->--|Delta2Int
|------>-- | |_______________| |___________| | | | | | | ^ v | | ______|________ _____|____ | | | | | | | | |PrefixInt (1)
|--<--|PairsInt
| | | |_______________| |__________| | | | | FibonacciInt | |_______________________________________|
Output Channels | ||
---|---|---|
out | int | All channels in this package carry integers. |
Constructor Summary | |
---|---|
FibonacciInt(ChannelOutputInt out)
Construct a new FibonacciInt process with the output Channel out. |
Method Summary | |
---|---|
void |
run()
The main body of this process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FibonacciInt(ChannelOutputInt out)
out
- the output channelMethod Detail |
---|
public void run()
run
in interface CSProcess
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |