Package com.yahoo.searchlib.treenet.rule
Class Response
- java.lang.Object
-
- com.yahoo.searchlib.treenet.rule.TreeNode
-
- com.yahoo.searchlib.treenet.rule.Response
-
public class Response extends TreeNode
- Author:
- Simon Thoresen Hult
-
-
Constructor Summary
Constructors Constructor Description Response(java.lang.Double value, java.lang.String next)
Constructs a new response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNext()
Returns the id of the next tree to run after this.java.lang.Double
getValue()
Returns the value of this response.java.lang.String
toRankingExpression()
Returns a ranking expression equivalent of this net.
-
-
-
Method Detail
-
getValue
public java.lang.Double getValue()
Returns the value of this response.
-
getNext
public java.lang.String getNext()
Returns the id of the next tree to run after this.
-
toRankingExpression
public java.lang.String toRankingExpression()
Description copied from class:TreeNode
Returns a ranking expression equivalent of this net.- Specified by:
toRankingExpression
in classTreeNode
-
-