public interface MasterComputation
compute(MasterComputationContext) ()} is called. This means
aggregator values used by the workers are consistent with aggregator
values from the master in the same superstep.| Modifier and Type | Method and Description |
|---|---|
void |
close(MasterContext context)
Close the resource created in
init(MasterContext). |
boolean |
compute(MasterComputationContext context)
The master-algorithm can use aggregators to determine whether to
continue the next execution or not.
|
void |
init(MasterContext context)
Initialize the master-computation.
|
void init(MasterContext context)
void close(MasterContext context)
init(MasterContext).
Be called after all supersteps.boolean compute(MasterComputationContext context)
Copyright © 2020–2022. All rights reserved.