org.symcomp.spsd
Class AllPairsHandler

java.lang.Object
  extended by org.symcomp.scscp.ProcedureCallHandler
      extended by org.symcomp.spsd.AbstractSPSDHandler
          extended by org.symcomp.spsd.AllPairsHandler
All Implemented Interfaces:
org.symcomp.notification.NotificationReceiver

public class AllPairsHandler
extends AbstractSPSDHandler

Interates over the cartesian product.


Field Summary
protected  org.symcomp.openmath.OpenMathBase function
           
protected  int n1
           
protected  int n2
           
protected  org.symcomp.openmath.OpenMathBase[] operands1
           
protected  org.symcomp.openmath.OpenMathBase[] operands2
           
 
Fields inherited from class org.symcomp.spsd.AbstractSPSDHandler
positions, results, workers
 
Constructor Summary
AllPairsHandler()
           
 
Method Summary
 java.lang.String getDescription(org.symcomp.openmath.OMSymbol oms)
           
 org.symcomp.openmath.OMSymbol getServiceName()
           
 java.lang.String getServiceNameStr()
           
 int getSPSDNumTasks()
           
 org.symcomp.openmath.OpenMathBase getSPSDTask(int i)
           
 void initSPSDComputation(org.symcomp.openmath.OpenMathBase omoo)
           
 
Methods inherited from class org.symcomp.spsd.AbstractSPSDHandler
handlePayload, receiveNotification, setWorkers
 
Methods inherited from class org.symcomp.scscp.ProcedureCallHandler
getServiceNames, handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n1

protected int n1

n2

protected int n2

operands1

protected org.symcomp.openmath.OpenMathBase[] operands1

operands2

protected org.symcomp.openmath.OpenMathBase[] operands2

function

protected org.symcomp.openmath.OpenMathBase function
Constructor Detail

AllPairsHandler

public AllPairsHandler()
Method Detail

getServiceName

public org.symcomp.openmath.OMSymbol getServiceName()
Overrides:
getServiceName in class AbstractSPSDHandler

getServiceNameStr

public java.lang.String getServiceNameStr()
Overrides:
getServiceNameStr in class org.symcomp.scscp.ProcedureCallHandler

getDescription

public java.lang.String getDescription(org.symcomp.openmath.OMSymbol oms)
Specified by:
getDescription in class org.symcomp.scscp.ProcedureCallHandler

initSPSDComputation

public void initSPSDComputation(org.symcomp.openmath.OpenMathBase omoo)
                         throws org.symcomp.openmath.OpenMathException
Specified by:
initSPSDComputation in class AbstractSPSDHandler
Throws:
org.symcomp.openmath.OpenMathException

getSPSDNumTasks

public int getSPSDNumTasks()
Specified by:
getSPSDNumTasks in class AbstractSPSDHandler

getSPSDTask

public org.symcomp.openmath.OpenMathBase getSPSDTask(int i)
Specified by:
getSPSDTask in class AbstractSPSDHandler


Copyright © 2010. All Rights Reserved.