class BasicDandC
BasicDandC provides a simple Divide and Conquer architecture that can be used in many cases. It provides a combination of a Root, a OneDirectedList and nodes instances of Node.
The properties of the process can be deduced from the underlying processes.
input
- The channel from which input objkects are readoutput
- The channel to which processed objects are writtenrootNodeInitialise
- The name of the nodeInitialise methodrootPartition
- The name of the partition methodrootCombine
- The name of the combine methodrootRepeat
- The name pf the repeat methodnodes
- The number of Node processesfinalResult
- If true only the final processed object is written to output. If false the current state
of each iteration of the processed object is output. The default value is true.indexProperty
- the name of the property in the object data class that ideentifies the node to which data should be sentnodeFunction The
- name of the method corresponding to the method in the data object that is to be employednodeInClassname
- the name of the class used to intialise the node with the underlying data objectnodeCirculateClassName
- the name of the class used to send data to the node for each iterationnodeFeedbackClassName
- the name of the class used to return feedback inforamtion to the Root nodenodeDataModifier A
- list of any values to be used by the function method; it is polymorphic in type
and defaults to nullnodeLDetails
- A LocalDetails object containing data pertaining to any local class used by the worker, defaults to null.logPhaseName
- an optional string property, which if specified indicates that the process should be logged
otherwise the process will not be loggedlogPropertyName
- the name of a property in the eDetails object that will uniquely identify an instance of the object.
LogPropertyName must be specified if logPhaseName is specifiedConstructor and description |
---|
BasicDandC
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk