| Package | Description |
|---|---|
| ml.shifu.guagua |
This package contains some common classes for both master and worker.
|
| ml.shifu.guagua.master |
This package contains guagua master implementation.
|
| ml.shifu.guagua.worker |
This package contains guagua worker implementation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GuaguaService.run(Progressable progress)
Real logic implementation, for example, master and worker iteration logic.
|
| Modifier and Type | Method and Description |
|---|---|
protected MASTER_RESULT |
GuaguaMasterService.iterate(MasterContext<MASTER_RESULT,WORKER_RESULT> context,
int iteration,
Progressable progress)
Call each iteration computation and preIteration, postIteration in interceptors.
|
void |
GuaguaMasterService.run(Progressable progress)
Iterate
MasterComputable.compute(MasterContext), and set hook point before and after each iteration. |
| Modifier and Type | Method and Description |
|---|---|
protected WORKER_RESULT |
GuaguaWorkerService.iterate(WorkerContext<MASTER_RESULT,WORKER_RESULT> context,
int initialIteration,
Progressable progress)
Call each iteration computation and preIteration, postIteration in interceptors.
|
void |
GuaguaWorkerService.run(Progressable progress)
Iterate
WorkerComputable.compute(WorkerContext), and set hook point before and after each iteration. |
Copyright © 2015. All Rights Reserved.