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.


方法摘要
 MASTER_RESULT compute(MasterContext<MASTER_RESULT,WORKER_RESULT> context)
          Computation for each iteration.
 

方法详细信息

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.