Class InlineTree


  • public class InlineTree
    extends java.lang.Object
    • Constructor Detail

      • InlineTree

        public InlineTree()
    • Method Detail

      • leaf

        public static EfficientTree leaf​(java.lang.String label)
        Parameters:
        label -
        Returns:
        a leaf with the given label
      • xor

        public static EfficientTree xor​(EfficientTree child1,
                                        EfficientTree... children)
        Construct a new tree by putting the given children in xor. The children will be copied.
        Parameters:
        child1 -
        children -
      • xor

        public static EfficientTree xor​(java.util.Collection<EfficientTree> children)
        Construct a new tree by putting the given children in xor. The children will be copied.
        Parameters:
        children -
      • sequence

        public static EfficientTree sequence​(EfficientTree child1,
                                             EfficientTree... children)
        Construct a new tree by putting the given children in sequence. The children will be copied.
        Parameters:
        child1 -
        children -
      • sequence

        public static EfficientTree sequence​(java.util.List<EfficientTree> children)
        Construct a new tree by putting the given children in sequence. The children will be copied.
        Parameters:
        children -
      • concurrent

        public static EfficientTree concurrent​(EfficientTree child1,
                                               EfficientTree... children)
        Construct a new tree by putting the given children concurrent. The children will be copied.
        Parameters:
        child1 -
        children -
      • concurrent

        public static EfficientTree concurrent​(java.util.Collection<EfficientTree> children)
        Construct a new tree by putting the given children concurrent. The children will be copied.
        Parameters:
        children -
      • loop

        public static EfficientTree loop​(java.util.List<EfficientTree> children)
        Construct a new tree by putting the given children in loop. The children will be copied. Three children must be given.
        Parameters:
        children -
      • interleaved

        public static EfficientTree interleaved​(EfficientTree child1,
                                                EfficientTree... children)
        Construct a new tree by putting the given children interleaved. The children will be copied.
        Parameters:
        child1 -
        children -
      • interleaved

        public static EfficientTree interleaved​(java.util.List<EfficientTree> children)
        Construct a new tree by putting the given children interleaved. The children will be copied.
        Parameters:
        children -
      • or

        public static EfficientTree or​(EfficientTree child1,
                                       EfficientTree... children)
        Construct a new tree by putting the given children in an inclusive or. The children will be copied.
        Parameters:
        child1 -
        children -
      • or

        public static EfficientTree or​(java.util.List<EfficientTree> children)
        Construct a new tree by putting the given children in an inclusive or. The children will be copied.
        Parameters:
        children -