Uses of Class
com.yahoo.searchlib.rankingexpression.rule.ExpressionNode
Packages that use ExpressionNode
Package
Description
Ranking expression execution library, see
RankingExpression.Ranking expression parser
-
Uses of ExpressionNode in com.yahoo.searchlib.rankingexpression
Methods in com.yahoo.searchlib.rankingexpression that return ExpressionNodeModifier and TypeMethodDescriptionRankingExpression.getRoot()Returns the root of the expression tree of this expression.Methods in com.yahoo.searchlib.rankingexpression with parameters of type ExpressionNodeModifier and TypeMethodDescriptionvoidRankingExpression.setRoot(ExpressionNode root) Sets the root of the expression tree of this expression.Method parameters in com.yahoo.searchlib.rankingexpression with type arguments of type ExpressionNodeModifier and TypeMethodDescriptionExpressionFunction.expand(SerializationContext context, List<ExpressionNode> argumentValues, Deque<String> path) Creates and returns an instance of this function based on the given arguments.Constructors in com.yahoo.searchlib.rankingexpression with parameters of type ExpressionNodeModifierConstructorDescriptionCreates a ranking expression from an expression root node.RankingExpression(String name, ExpressionNode root) Creates a named ranking expression from an expression root node. -
Uses of ExpressionNode in com.yahoo.searchlib.rankingexpression.evaluation.gbdtoptimization
Modifier and TypeClassDescriptionclassAn optimized version of a sum of consecutive decision trees.final classAn optimized version of a decision tree. -
Uses of ExpressionNode in com.yahoo.searchlib.rankingexpression.parser
Methods in com.yahoo.searchlib.rankingexpression.parser that return ExpressionNodeModifier and TypeMethodDescriptionfinal ExpressionNodeRankingExpressionParser.constantPrimitive(boolean negate) final ExpressionNodeRankingExpressionParser.expression()final ExpressionNodeRankingExpressionParser.function()final ExpressionNodeRankingExpressionParser.operationExpression()final ExpressionNodeRankingExpressionParser.rankingExpression()final ExpressionNodeRankingExpressionParser.value()Methods in com.yahoo.searchlib.rankingexpression.parser that return types with arguments of type ExpressionNodeModifier and TypeMethodDescriptionfinal List<ExpressionNode>RankingExpressionParser.args()final List<ExpressionNode>RankingExpressionParser.expressionList() -
Uses of ExpressionNode in com.yahoo.searchlib.rankingexpression.rule
Subclasses of ExpressionNode in com.yahoo.searchlib.rankingexpression.ruleModifier and TypeClassDescriptionclassA node which produces a boolean value when evaluated.classThe parent of all node types which contains child nodes.final classA node which holds a constant (frozen) value.final classThis class represents another expression enclosed in braces.final classInvocation of a native function.classA tensor generating function, whose arguments are determined by a tensor typefinal classA conditional branch of a ranking expression.classA free, parametrized functionfinal classAn opaque name in a ranking expression.classA node which flips the sign of the value produced from the nested expressionclassA node which flips the logical value produced from the nested expression.final classA sequence of binary operations.final classA node referring either to a value in the context or to a named ranking expression function.classA node which returns true or false depending on a set membership testclassA node which performs a tensor functionMethods in com.yahoo.searchlib.rankingexpression.rule that return ExpressionNodeModifier and TypeMethodDescriptionIfNode.getCondition()IfNode.getFalseExpression()SetMembershipNode.getTestValue()The value to check for membership in the setIfNode.getTrueExpression()EmbracedNode.getValue()Returns the node enclosed by thisNegativeNode.getValue()Returns the node creating the value negated by thisNotNode.getValue()TensorFunctionNode.withTransformedExpressions(Function<ExpressionNode, ExpressionNode> transformer) TensorFunctionNode.ExpressionTensorFunction.wrappedExpression()Methods in com.yahoo.searchlib.rankingexpression.rule that return types with arguments of type ExpressionNodeModifier and TypeMethodDescriptionabstract List<ExpressionNode>CompositeNode.children()Returns a read-only list containing the immediate children of this composite.EmbracedNode.children()FunctionNode.children()Returns the arguments of thisGeneratorLambdaFunctionNode.children()IfNode.children()LambdaFunctionNode.children()NegativeNode.children()NotNode.children()OperationNode.children()ReferenceNode.children()Returns an empty list as this has no childrenSetMembershipNode.children()TensorFunctionNode.children()Arguments.expressions()Returns an unmodifiable list of the expressions in this, never nullSetMembershipNode.getSetValues()Returns an immutable list of the values of the setMethods in com.yahoo.searchlib.rankingexpression.rule with parameters of type ExpressionNodeModifier and TypeMethodDescriptionstatic OperationNodeOperationNode.resolve(ExpressionNode left, Operator op, ExpressionNode right) TensorFunctionNode.wrap(ExpressionNode node) static com.yahoo.tensor.functions.ScalarFunction<Reference>TensorFunctionNode.wrapScalar(ExpressionNode node) Method parameters in com.yahoo.searchlib.rankingexpression.rule with type arguments of type ExpressionNodeModifier and TypeMethodDescriptionReferenceNode.setArguments(List<ExpressionNode> arguments) Returns a copy of this where the arguments are replaced by the given argumentsabstract CompositeNodeCompositeNode.setChildren(List<ExpressionNode> children) Returns a copy of this where the children is replaced by the given children.EmbracedNode.setChildren(List<ExpressionNode> newChildren) FunctionNode.setChildren(List<ExpressionNode> children) Returns a new function node with the children replaced by the given childrenGeneratorLambdaFunctionNode.setChildren(List<ExpressionNode> children) IfNode.setChildren(List<ExpressionNode> children) LambdaFunctionNode.setChildren(List<ExpressionNode> children) NegativeNode.setChildren(List<ExpressionNode> children) NotNode.setChildren(List<ExpressionNode> children) OperationNode.setChildren(List<ExpressionNode> newChildren) ReferenceNode.setChildren(List<ExpressionNode> newChildren) SetMembershipNode.setChildren(List<ExpressionNode> children) TensorFunctionNode.setChildren(List<ExpressionNode> children) TensorFunctionNode.withTransformedExpressions(Function<ExpressionNode, ExpressionNode> transformer) TensorFunctionNode.withTransformedExpressions(Function<ExpressionNode, ExpressionNode> transformer) TensorFunctionNode.wrapScalars(Map<com.yahoo.tensor.TensorAddress, ExpressionNode> nodes) Constructors in com.yahoo.searchlib.rankingexpression.rule with parameters of type ExpressionNodeModifierConstructorDescriptionArguments(ExpressionNode singleArgument) EmbracedNode(ExpressionNode value) Creates a new expression node that embraces another.ExpressionTensorFunction(ExpressionNode expression) FunctionNode(Function function, ExpressionNode argument) FunctionNode(Function function, ExpressionNode argument1, ExpressionNode argument2) Creates a binary function nodeGeneratorLambdaFunctionNode(com.yahoo.tensor.TensorType type, ExpressionNode generator) IfNode(ExpressionNode condition, ExpressionNode trueExpression, ExpressionNode falseExpression) IfNode(ExpressionNode condition, ExpressionNode trueExpression, ExpressionNode falseExpression, Double trueProbability) Creates a new condition node.LambdaFunctionNode(List<String> arguments, ExpressionNode functionExpression) NegativeNode(ExpressionNode value) Constructs a new negative nodeNotNode(ExpressionNode value) OperationNode(ExpressionNode leftExpression, Operator operator, ExpressionNode rightExpression) SetMembershipNode(ExpressionNode testValue, List<ExpressionNode> setValues) Constructor parameters in com.yahoo.searchlib.rankingexpression.rule with type arguments of type ExpressionNodeModifierConstructorDescriptionArguments(List<? extends ExpressionNode> expressions) OperationNode(List<ExpressionNode> children, List<Operator> operators) ReferenceNode(String name, List<? extends ExpressionNode> arguments, String output) SetMembershipNode(ExpressionNode testValue, List<ExpressionNode> setValues) -
Uses of ExpressionNode in com.yahoo.searchlib.rankingexpression.transform
Methods in com.yahoo.searchlib.rankingexpression.transform that return ExpressionNodeModifier and TypeMethodDescriptionConstantDereferencer.transform(ExpressionNode node, TransformContext context) abstract ExpressionNodeExpressionTransformer.transform(ExpressionNode node, CONTEXT context) Transforms an expression node and returns the transformed node.Simplifier.transform(ExpressionNode node, TransformContext context) TensorMaxMinTransformer.transform(ExpressionNode node, CONTEXT context) static ExpressionNodeTensorMaxMinTransformer.transformFunctionNode(FunctionNode node, com.yahoo.tensor.evaluation.TypeContext<Reference> context) Methods in com.yahoo.searchlib.rankingexpression.transform with parameters of type ExpressionNodeModifier and TypeMethodDescriptionConstantDereferencer.transform(ExpressionNode node, TransformContext context) abstract ExpressionNodeExpressionTransformer.transform(ExpressionNode node, CONTEXT context) Transforms an expression node and returns the transformed node.Simplifier.transform(ExpressionNode node, TransformContext context) TensorMaxMinTransformer.transform(ExpressionNode node, CONTEXT context)