ml.shifu.guagua.master
接口 MasterComputable<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
- 类型参数:
MASTER_RESULT - master result for computation in each iteration.WORKER_RESULT - worker result for computation in each iteration.
public interface MasterComputable<MASTER_RESULT extends Bytable,WORKER_RESULT extends Bytable>
Master computation for an application.
compute
MASTER_RESULT compute(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
- Computation for each iteration.
- 参数:
context - master context instance which includes worker results for each iteration.
Copyright © 2014. All Rights Reserved.