All Packages Class Hierarchy This Package Previous Next Index
Class jcsp.util.buildingblocks.ints.DeltaInt
java.lang.Object
|
+----jcsp.util.buildingblocks.ints.DeltaInt
- public final class DeltaInt
- extends Object
- implements CSProcess
Process Diagram
__________ out1
in | |--->---
-->-| DeltaInt | out2
|__________|--->---
Description
The DeltaInt class is a process which has an infinite loop that waits
for an int to be sent down the in ChannelInt. The process then
writes the value in parallel down the out1 and out2 ChannelInts.
Channel Protocols
Input Channels |
in |
ChannelInt |
int
|
Output Channels |
out1,out2 |
ChannelInt |
int
|
- Author:
- P.D.Austin
-
DeltaInt(ChannelInputInt, ChannelOutputInt, ChannelOutputInt)
- Construct a new DeltaInt process with the input ChannelInt in and the output
ChannelInts out1 and out2.
-
run()
- The main body of this process.
DeltaInt
public DeltaInt(ChannelInputInt in,
ChannelOutputInt out1,
ChannelOutputInt out2)
- Construct a new DeltaInt process with the input ChannelInt in and the output
ChannelInts out1 and out2. The ordering of the ChannelInts out1 and out2 make
no difference to the functionality of this process.
- Parameters:
- in - The input channel
- out1 - The first output ChannelInt
- out2 - The second output ChannelInt
run
public void run()
- The main body of this process.
All Packages Class Hierarchy This Package Previous Next Index