Package org.jcsp.gpp.connectors.reducers

Package org.jcsp.gpp.connectors.reducers Description

Package org.jcsp.gpp.connectors.reducers defines some basic processes that can be use to connect other processes together. As such the processes defined in this package do no data transformations. They simply take an input from one or more channels and output it to one output channel.

The processes are supplied in a number of different variations depending on the nature of the channel connections provided by the process as follows.

Any expects the any end of a channel
List expects a channel list
One expects a one2one channel
Fan processes one object at a time Seq inputs a single input value from all the input channels in sequence and then outputs them in sequence Par inputs a single input value from all the input channels in parallel and then outputs them in sequence

 Author, Licence and Copyright statement
 author  Jon Kerridge
 		   School of Computing 
 		   Edinburgh Napier University
 		   Merchiston Campus, 
 		   Colinton Road 
 		   Edinburgh EH10 5DT
 
 Author contact: j.kerridge (at) napier.ac.uk
   
 Copyright  Jon Kerridge Edinburgh Napier University *   
  
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
     http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.