org.symcomp.spsd
Class MapHandler

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

public class MapHandler
extends AbstractSPSDHandler

iterates over a list/set


Field Summary
protected  org.symcomp.openmath.OpenMathBase function
           
protected  int numTasks
           
protected  org.symcomp.openmath.OpenMathBase[] operands
           
 
Fields inherited from class org.symcomp.spsd.AbstractSPSDHandler
positions, results, workers
 
Constructor Summary
MapHandler()
           
 
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

numTasks

protected int numTasks

operands

protected org.symcomp.openmath.OpenMathBase[] operands

function

protected org.symcomp.openmath.OpenMathBase function
Constructor Detail

MapHandler

public MapHandler()
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.