hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hama Wiki] Update of "PiEstimator" by edwardyoon
Date Wed, 17 Apr 2013 10:50:30 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The "PiEstimator" page has been changed by edwardyoon:
http://wiki.apache.org/hama/PiEstimator?action=diff&rev1=12&rev2=13

  
  1) Each process computes the value of Pi locally, and 2) sends it to master task using send()
function. Then, 3) the master task can recieve the messages using sync() function. Finally,
we can calculate the average value of sum of PI values from each peers as below:
  
- {{{
+ {{{#!java
      @Override
      public void bsp(
          BSPPeer<NullWritable, NullWritable, Text, DoubleWritable> peer)

Mime
View raw message