Package com.yahoo.searchlib.treenet.rule
Class TreeNet
- java.lang.Object
-
- com.yahoo.searchlib.treenet.rule.TreeNet
-
public class TreeNet extends java.lang.Object
- Author:
- Simon Thoresen Hult
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBegin()
Returns the id of the first tree to run in this net.java.util.Map<java.lang.String,Tree>
getTrees()
Returns all named trees of this net.java.lang.String
toRankingExpression()
Returns a ranking expression equivalent of this net.
-
-
-
Constructor Detail
-
TreeNet
public TreeNet(java.lang.String begin, java.util.Map<java.lang.String,Tree> trees)
Constructs a new tree net.- Parameters:
begin
- The id of the first tree to run in this net.trees
- All named trees of this net.
-
-
Method Detail
-
getBegin
public java.lang.String getBegin()
Returns the id of the first tree to run in this net.
-
getTrees
public java.util.Map<java.lang.String,Tree> getTrees()
Returns all named trees of this net.
-
toRankingExpression
public java.lang.String toRankingExpression()
Returns a ranking expression equivalent of this net.
-
-