Package com.bayesserver
Interface Distributer<T>
-
public interface Distributer<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NameValuesReader
distribute(T context)
The implementor should distribute the processing.NameValuesWriter
getConfiguration()
Gets configuration name value pairs which must be made available to the distributed workers.
-
-
-
Method Detail
-
distribute
NameValuesReader distribute(T context)
The implementor should distribute the processing. See the help for functionality being called to determine what that processing should be. The configuration values will need to be available to the distributed computation.- Parameters:
context
- Provides contextual information about the process/iteration being distributed.- Returns:
- The results of the distributed calculations.
-
getConfiguration
NameValuesWriter getConfiguration()
Gets configuration name value pairs which must be made available to the distributed workers.
-
-