Class Simplifier
java.lang.Object
com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer<TransformContext>
com.yahoo.searchlib.rankingexpression.transform.Simplifier
Performs simple algebraic simplification of expressions
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontransform
(ExpressionNode node, TransformContext context) Transforms an expression node and returns the transformed node.Methods inherited from class com.yahoo.searchlib.rankingexpression.transform.ExpressionTransformer
transform, transformChildren
-
Constructor Details
-
Simplifier
public Simplifier()
-
-
Method Details
-
transform
Description copied from class:ExpressionTransformer
Transforms an expression node and returns the transformed node. This ic called with the root node of an expression to transform by clients of transformers. Transforming nested expression nodes are left to each transformer.- Specified by:
transform
in classExpressionTransformer<TransformContext>
-