org.apache.hadoop.examples
Class PiEstimator

java.lang.Object
  extended by org.apache.hadoop.examples.PiEstimator

public class PiEstimator
extends Object

A Map-reduce program to estimaate the valu eof Pi using monte-carlo method.

Author:
Milind Bhandarkar

Nested Class Summary
static class PiEstimator.PiMapper
          Mappper class for Pi estimation.
static class PiEstimator.PiReducer
           
 
Constructor Summary
PiEstimator()
           
 
Method Summary
static void main(String[] argv)
          Launches all the tasks in order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PiEstimator

public PiEstimator()
Method Detail

main

public static void main(String[] argv)
                 throws Exception
Launches all the tasks in order.

Throws:
Exception


Copyright © 2006 The Apache Software Foundation