Documentation of 'edu.rit.pj.reduction.DoubleOp' Java class
DoubleOp
edu.rit.pj.reduction

Class DoubleOp



  • public abstract class DoubleOp
    extends Op
    Class DoubleOp is the abstract base class for a binary operation on double values, used to do reduction in a parallel program.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static DoubleOp MAXIMUM
      The double maximum binary operation.
      static DoubleOp MINIMUM
      The double minimum binary operation.
      static DoubleOp PRODUCT
      The double product binary operation.
      static DoubleOp SUM
      The double sum binary operation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      abstract double op(double x, double y)
      Perform this binary operation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SUM

        public static final DoubleOp SUM
        The double sum binary operation.
      • PRODUCT

        public static final DoubleOp PRODUCT
        The double product binary operation.
      • MINIMUM

        public static final DoubleOp MINIMUM
        The double minimum binary operation.
      • MAXIMUM

        public static final DoubleOp MAXIMUM
        The double maximum binary operation.
    • Method Detail

      • op

        public abstract double op(double x,
                                  double y)
        Perform this binary operation.
        Parameters:
        x - First argument.
        y - Second argument.
        Returns:
        (x op y), where op stands for this binary operation.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.