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

Class LongOp



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

      Fields 
      Modifier and Type Field and Description
      static LongOp AND
      The long bitwise "and" binary operation.
      static LongOp MAXIMUM
      The long maximum binary operation.
      static LongOp MINIMUM
      The long minimum binary operation.
      static LongOp OR
      The long bitwise "or" binary operation.
      static LongOp PRODUCT
      The long product binary operation.
      static LongOp SUM
      The long sum binary operation.
      static LongOp XOR
      The long bitwise "exclusive or" binary operation.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      abstract long op(long x, long 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 LongOp SUM
        The long sum binary operation.
      • PRODUCT

        public static final LongOp PRODUCT
        The long product binary operation.
      • MINIMUM

        public static final LongOp MINIMUM
        The long minimum binary operation.
      • MAXIMUM

        public static final LongOp MAXIMUM
        The long maximum binary operation.
      • AND

        public static final LongOp AND
        The long bitwise "and" binary operation.
      • OR

        public static final LongOp OR
        The long bitwise "or" binary operation.
      • XOR

        public static final LongOp XOR
        The long bitwise "exclusive or" binary operation.
    • Method Detail

      • op

        public abstract long op(long x,
                                long 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.