public class DefaultMasterComputation extends Object implements MasterComputation
| Constructor and Description |
|---|
DefaultMasterComputation() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(MasterContext context)
Close the resource created in
MasterComputation.init(MasterContext). |
boolean |
compute(MasterComputationContext context)
Compute until max superstep.
|
void |
init(MasterContext context)
Initialize the master-computation.
|
public void init(MasterContext context)
MasterComputationinit in interface MasterComputationpublic boolean compute(MasterComputationContext context)
compute in interface MasterComputationpublic void close(MasterContext context)
MasterComputationMasterComputation.init(MasterContext).
Be called after all supersteps.close in interface MasterComputationCopyright © 2020–2022. All rights reserved.