org.globus.cog.karajan.workflow.nodes.functions
Class Math

java.lang.Object
  extended by org.globus.cog.karajan.workflow.nodes.FlowNode
      extended by org.globus.cog.karajan.workflow.nodes.FlowContainer
          extended by org.globus.cog.karajan.workflow.nodes.Sequential
              extended by org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
                  extended by org.globus.cog.karajan.workflow.nodes.SequentialWithArguments
                      extended by org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
                          extended by org.globus.cog.karajan.workflow.nodes.functions.FunctionsCollection
                              extended by org.globus.cog.karajan.workflow.nodes.functions.Math
All Implemented Interfaces:
LoadListener, EventListener, ExtendedFlowElement, FlowElement

public class Math
extends FunctionsCollection


Nested Class Summary
 
Nested classes/interfaces inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
FlowNode.FNTP
 
Field Summary
static Arg A_DIVIDEND
           
static Arg A_DIVISOR
           
static Arg A_FROM
           
static Arg A_VALUE
           
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.functions.FunctionsCollection
ARGS_2VALUES, logger, PA_VALUE1, PA_VALUE2
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
QUOTED
 
Fields inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
A_INLINE_TEXT, debug, startCount, STDERR, STDOUT, threadTracker
 
Fields inherited from interface org.globus.cog.karajan.workflow.nodes.FlowElement
ANNOTATION, CALLER, FILENAME, LINE, TEXT, UID
 
Constructor Summary
Math()
           
 
Method Summary
 boolean math_equalsnumeric(VariableStack stack)
           
 double math_exp(VariableStack stack)
           
 boolean math_greaterorequal(VariableStack stack)
           
 boolean math_greaterthan(VariableStack stack)
           
 double math_int(VariableStack stack)
           
 boolean math_lessorequal(VariableStack stack)
           
 boolean math_lessthan(VariableStack stack)
           
 double math_ln(VariableStack stack)
           
 double math_max(VariableStack stack)
           
 double math_min(VariableStack stack)
           
 double math_nan(VariableStack stack)
           
 double math_product(VariableStack stack)
           
 double math_quotient(VariableStack stack)
           
 double math_random(VariableStack stack)
           
 double math_remainder(VariableStack stack)
           
 double math_sqrt(VariableStack stack)
           
 double math_square(VariableStack stack)
           
 double math_subtraction(VariableStack stack)
           
 double math_sum(VariableStack stack)
           
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.functions.FunctionsCollection
acceptsInlineText, addAlias, currenttime, function, getArgs, getCanonicalName, getCanonicalType, initializeStatic, setAcceptsInlineText, setElementType, setQuotedArgs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction
executeChildren, executeSimple, isSimple, post, pre, ret, setSimple, setValue
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments
addChannel, argumentsEvaluated, checkArguments, childCompleted, getArgument, getArgumentCount, getArgumentIndex, getArgumentNames, getArguments, getChannels, getMaxArgIndex, getNonpropargs, getOptionalArgs, getQuotedArgs, getSortedArgs, hasChannels, hasNestedArguments, hasVariableArguments, initializeArgs, newNameBindingVariableArguments, newVariableArguments, processArguments, setArguments, setHasVargs, setNestedArgs, setNonpropargs, setQuotedArgs, setVargs
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.Sequential
executeSingle, exit, getIndex, moreToExecute, notificationEvent, preDecIndex, preIncIndex, setIndex, startElement, startNext
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowContainer
execute, getChildFailed, isOptimizable, setChildFailed, setOptimize
 
Methods inherited from class org.globus.cog.karajan.workflow.nodes.FlowNode
_finally, abort, abortEvent, addElement, addStaticArgument, checkClass, checkCompleted, checkFailed, complete, controlEvent, copy, echo, echo, elementCount, elements, event, executeErrorHandler, fail, fail, failIfNotDefined, failIfNull, failIfNull, failImmediately, failImmediately, failImmediately, failImmediately, fireControlEvent, fireMonitoringEvent, fireNotificationEvent, fireStatusMonitoringEvent, get_locator, getBooleanProperty, getBooleanProperty, getElement, getElementType, getIntProperty, getIntProperty, getParent, getProperty, getStaticArguments, getStringProperty, getTextualName, getTreeProperty, getUID, hasFrame, hasProperty, isCheckpointable, isSystemProperty, loadComplete, loadStarted, monitoringEvent, propertyNames, removeElement, removeElement, removeProperty, replaceElement, restart, restartElement, set_locator, setAcceptsInlineText, setCheckpointable, setElements, setFrame, setParent, setProperties, setProperty, setProperty, setProperty, setStaticArguments, start, startElement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

A_DIVIDEND

public static final Arg A_DIVIDEND

A_DIVISOR

public static final Arg A_DIVISOR

A_VALUE

public static final Arg A_VALUE

A_FROM

public static final Arg A_FROM
Constructor Detail

Math

public Math()
Method Detail

math_lessorequal

public boolean math_lessorequal(VariableStack stack)
                         throws ExecutionException
Throws:
ExecutionException

math_greaterorequal

public boolean math_greaterorequal(VariableStack stack)
                            throws ExecutionException
Throws:
ExecutionException

math_lessthan

public boolean math_lessthan(VariableStack stack)
                      throws ExecutionException
Throws:
ExecutionException

math_greaterthan

public boolean math_greaterthan(VariableStack stack)
                         throws ExecutionException
Throws:
ExecutionException

math_equalsnumeric

public boolean math_equalsnumeric(VariableStack stack)
                           throws ExecutionException
Throws:
ExecutionException

math_product

public double math_product(VariableStack stack)
                    throws ExecutionException
Throws:
ExecutionException

math_quotient

public double math_quotient(VariableStack stack)
                     throws ExecutionException
Throws:
ExecutionException

math_remainder

public double math_remainder(VariableStack stack)
                      throws ExecutionException
Throws:
ExecutionException

math_square

public double math_square(VariableStack stack)
                   throws ExecutionException
Throws:
ExecutionException

math_sqrt

public double math_sqrt(VariableStack stack)
                 throws ExecutionException
Throws:
ExecutionException

math_subtraction

public double math_subtraction(VariableStack stack)
                        throws ExecutionException
Throws:
ExecutionException

math_sum

public double math_sum(VariableStack stack)
                throws ExecutionException
Throws:
ExecutionException

math_min

public double math_min(VariableStack stack)
                throws ExecutionException
Throws:
ExecutionException

math_max

public double math_max(VariableStack stack)
                throws ExecutionException
Throws:
ExecutionException

math_int

public double math_int(VariableStack stack)
                throws ExecutionException
Throws:
ExecutionException

math_ln

public double math_ln(VariableStack stack)
               throws ExecutionException
Throws:
ExecutionException

math_exp

public double math_exp(VariableStack stack)
                throws ExecutionException
Throws:
ExecutionException

math_random

public double math_random(VariableStack stack)
                   throws ExecutionException
Throws:
ExecutionException

math_nan

public double math_nan(VariableStack stack)