ibis.mpj
Class Op

java.lang.Object
  extended by ibis.mpj.Op
Direct Known Subclasses:
OpBand, OpBor, OpBxor, OpLand, OpLor, OpLxor, OpMax, OpMaxLoc, OpMin, OpMinLoc, OpProd, OpSum

public abstract class Op
extends Object

Superclass of all operations used by collective reduce operations. When the user defines his/her own operation, the new operation must extend this class.


Constructor Summary
Op(boolean commute)
           
 
Method Summary
abstract  void call(Object invec, int inoffset, Object inoutvec, int outoffset, int count, Datatype datatype)
           
 boolean isCommute()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Op

public Op(boolean commute)
Method Detail

call

public abstract void call(Object invec,
                          int inoffset,
                          Object inoutvec,
                          int outoffset,
                          int count,
                          Datatype datatype)
                   throws MPJException
Throws:
MPJException

isCommute

public boolean isCommute()


The Ibis project