public class Integrate extends java.lang.Object implements CSProcess
___________ in | | out -->-| Integrate |-->--- |___________|
___________________________________________ | _______ ________ | in | | | | | | out -->---|Plus
|------->---------|Delta2
|--------->--- | |_______| |________| | | | | | | | ____________ | | | | | | | | | +--<--|Prefix (0)
|--<--+ | | |____________| | | Integrate | |___________________________________________|
Input Channels | ||
---|---|---|
in | java.lang.Number | The Channel can accept data from any subclass of Number. All values will be converted to ints. |
Output Channels | ||
out | java.lang.Integer | The output will always be of type Integer. |
Constructor and Description |
---|
Integrate(ChannelInput in,
ChannelOutput out)
Construct a new Integrate process with the input Channel in and the
output Channel out.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
The main body of this process.
|
public Integrate(ChannelInput in, ChannelOutput out)
in
- the input Channelout
- the output ChannelSubmit a bug or feature to jcsp-team@kent.ac.uk
Version 1.1-rc4 of the JCSP API Specification (Copyright 1997-2008 P.D.Austin and P.H.Welch - All Rights Reserved)
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.