public class Fibonacci extends java.lang.Object implements CSProcess
___________
| | out
| Fibonacci |------>
|___________|
________________________________
| |
| ____________ ________ |
| | | | | | out
| | Prefix (0) |-->--| Delta2 |------>--
| |____________| |________| |
| | | |
| ^ V |
| ______|_____ ___|___ |
| | | | | |
| | Prefix (1) |--<--| Pairs | |
| |____________| |_______| |
| |
| Fibonacci |
|________________________________|
| Output Channels | ||
|---|---|---|
| out | java.lang.Integer | The output will always be of type Integer. |
| Constructor and Description |
|---|
Fibonacci(ChannelOutput out)
Construct a new Fibonacci process with the output Channel out.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
The main body of this process.
|
public Fibonacci(ChannelOutput out)
out - the output channelCopyright © 1996–2019. All rights reserved.