FormulaExpression
- java.lang.Object
-
- com.dashoptimization.objects.Expression
-
- com.dashoptimization.objects.AbstractExpression
-
- com.dashoptimization.objects.FormulaExpression
-
- Direct Known Subclasses:
-
BinaryExpression
,InternalFunctionExpression
,PWLExpression
,UnaryExpression
,UserFunctionExpression
public abstract class FormulaExpression extends AbstractExpression
Base class for expressions that implement non-linear formulas.- Since:
- 43.00
-
-
Method Summary
Modifier and Type Method Description void
extract(double factor, PostfixExtractor extractor)
Extract this expression into postfix notation.boolean
extract(double factor, XPRSprob.RowCreator creator)
Extract this expression into a row.abstract void
extract(PostfixExtractor extractor)
Extract this expression into postfix notation.-
Methods inherited from class com.dashoptimization.objects.AbstractExpression
eq, eq, geq, geq, in, leq, leq
-
-
-
-
Method Detail
-
extract
public abstract void extract(PostfixExtractor extractor)
Extract this expression into postfix notation.- Parameters:
-
extractor
- The extractor to which the expression is extract. - Since:
- 43.00
-
extract
public void extract(double factor, PostfixExtractor extractor)
Extract this expression into postfix notation.- Specified by:
-
extract
in classExpression
- Parameters:
-
factor
- Factor by which to multiply the expression during extraction. -
extractor
- The extractor to which the expression is extract. - Since:
- 43.00
-
extract
public final boolean extract(double factor, XPRSprob.RowCreator creator)
Extract this expression into a row. This is for internal use only, you should never have to call this function explicitly.- Specified by:
-
extract
in classExpression
- Parameters:
-
factor
- Factor by which to multiply the expression during extraction. -
creator
- The creator to which this expression should be extracted. - Returns:
-
true
if the low-level representation does requires normalization (sorting, removal of dups, ...). In some special cases we know that this is not required and can returnfalse
to save the overhead. - Since:
- 43.00
-
-
© 2001-2024 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.