XSLPgetfunctioninstance
XSLPgetfunctioninstance |
int XPRS_CC XSLPgetfunctioninstance(XSLPprob Prob, int Instance, int *nSLPUF, int BufferSize, int *TokenCount, int *Type, double *Value)
Prob
|
The current SLP problem.
|
Instance
|
The function instance to retrieve.
|
nSLPUF
|
The base user function the instance has been instantiated from.
|
BufferSize
|
Maximum number of tokens to return, i.e. length of the Type and Value arrays.
|
TokenCount
|
Number of tokens returned in Type and Value.
|
Type
|
Array to receive token types for the formula.
|
Value
|
Array to receive values corresponding to the types in
Type.
|
If any of the addresses is NULL the corresponding information will not be returned.
Instances are counted from 1 to XSLP_UFINSTANCES.
Functions are instantiated by XSLPconstruct, and are only available for interrogation after the problem has been augmented.
The array of Tokens are return in reversed Polish order.
Always the full signature will be returned. Please note, that for functions returning named returns, a colon and a corresponding return string will also be returned, but only one of the possible returns (i.e. the different types of occurrences of the same instance are not collected).
The function can be used to identify the different function instances that are created.
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.