Package com.yahoo.searchlib.treenet.rule
Class Response
java.lang.Object
com.yahoo.searchlib.treenet.rule.TreeNode
com.yahoo.searchlib.treenet.rule.Response
- Author:
- Simon Thoresen Hult
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Response
Constructs a new response.- Parameters:
next
- The id of the next tree to run after this.value
- The value of this response.
-
-
Method Details
-
getValue
Returns the value of this response. -
getNext
Returns the id of the next tree to run after this. -
toRankingExpression
Description copied from class:TreeNode
Returns a ranking expression equivalent of this net.- Specified by:
toRankingExpression
in classTreeNode
-