Class TreeNet


  • public class TreeNet
    extends java.lang.Object
    Author:
    Simon Thoresen Hult
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeNet​(java.lang.String begin, java.util.Map<java.lang.String,​Tree> trees)
      Constructs a new tree net.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.