Class Response


  • public class Response
    extends TreeNode
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • Response

        public Response​(Double value,
                        String next)
        Constructs a new response.
        Parameters:
        next - The id of the next tree to run after this.
        value - The value of this response.
    • Method Detail

      • getValue

        public Double getValue()
        Returns the value of this response.
      • getNext

        public String getNext()
        Returns the id of the next tree to run after this.
      • toRankingExpression

        public String toRankingExpression()
        Description copied from class: TreeNode
        Returns a ranking expression equivalent of this net.
        Specified by:
        toRankingExpression in class TreeNode