NamedFunction Class Documentation
classNamedFunction : FunctionNamespace:Datalogics::PDFL
- Inherits from:
Function
Detailed Description
Defines a function currently in use.
A Function is a process; it takes input values and manipulates them to create output values.
Referenced by
Uses types
Constructor & Destructor Documentation
NamedFunction
NamedFunction(NamedFunctionrhs, InternalConstructsignifier)Parameters
rhs: NamedFunctionsignifier: InternalConstruct
NamedFunction
NamedFunction(stringname)Parameters
name: stringthe name of the function.
Create a named function with the given name, e.g. Default
Property Documentation
Default
static FunctionDefault[get]Domain
System.Collections.Generic.IList< System.Double >Domain[get, set]Identity
static FunctionIdentity[get]NInputs
intNInputs[get]NOutputs
intNOutputs[get]Name
stringName[get]Range
System.Collections.Generic.IList< System.Double >Range[get, set]Member Function Documentation
Apply
override System.Collections.Generic.IList< System.Double >Apply(System.Collections.Generic.IList< System.Double >args)Parameters
args: System.Collections.Generic.IList< System.Double >input values for the function. The number of input values must agree with the number of inputs the function takes.
Returns:
a list of the result values from the functionApply the function to supplied input values.
For Identity functions, this returns the same inputs. Not defined for any other kinds of named functions.
ConstructorRetrieve
static new static NamedFunctionConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
new static NamedFunctionDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidEquals
override boolEquals(objectobj)Parameters
obj: object
Returns:
override boolMakeDefault
static NamedFunctionMakeDefault()Returns:
NamedFunctionMakeIdentity
static NamedFunctionMakeIdentity()Returns:
NamedFunctionSameTypeEquals
boolSameTypeEquals(NamedFunctionother)Parameters
other: NamedFunction
Returns:
boolToString
override stringToString()Returns:
override stringConvert the function to a displayable string.
operator!=
Parameters
Returns:
booloperator==
Parameters
Returns:
bool