Class AbstractTemporaryIntrusiveDTNode<DSCR,​O,​D,​T,​N extends AbstractTemporaryIntrusiveDTNode<DSCR,​O,​D,​T,​N>>

  • Type Parameters:
    DSCR - discriminator type
    O - output symbol type
    D - node data type
    T - link structure type
    N - node type
    All Implemented Interfaces:
    IntrusiveListEntry<N>, net.automatalib.common.smartcollection.ElementReference, net.automatalib.common.smartcollection.LinkedListEntry<N,​IntrusiveListEntry<N>>
    Direct Known Subclasses:
    AbstractBaseDTNode, DTNode

    public abstract class AbstractTemporaryIntrusiveDTNode<DSCR,​O,​D,​T,​N extends AbstractTemporaryIntrusiveDTNode<DSCR,​O,​D,​T,​N>>
    extends AbstractDTNode<DSCR,​O,​D,​N>
    implements IntrusiveListEntry<N>
    An extension of the AbstractDTNode that adds the concept of temporary splitters as well as linking discrimination tree nodes outside their regular tree structure. Currently used by the TTT algorithm (both regular and VPA) and the DT algorithm (VPA variant).
    • Constructor Detail

      • AbstractTemporaryIntrusiveDTNode

        public AbstractTemporaryIntrusiveDTNode​(N parent,
                                                O parentOutcome,
                                                D data)
    • Method Detail

      • setChild

        public void setChild​(O label,
                             N newChild)
      • isTemp

        public boolean isTemp()
      • setTemp

        public void setTemp​(boolean temp)
      • getSplitData

        public SplitData<O,​T> getSplitData()
      • setSplitData

        public void setSplitData​(SplitData<O,​T> splitData)
      • anyChild

        public N anyChild()
      • isInner

        public boolean isInner()
      • isBlockRoot

        public boolean isBlockRoot()
      • getNext

        public @Nullable IntrusiveListEntry<N> getNext()
        Specified by:
        getNext in interface net.automatalib.common.smartcollection.LinkedListEntry<DSCR,​O>
      • setNext

        public void setNext​(@Nullable IntrusiveListEntry<N> nextBlock)
        Specified by:
        setNext in interface net.automatalib.common.smartcollection.LinkedListEntry<DSCR,​O>
      • getPrev

        public @Nullable IntrusiveListEntry<N> getPrev()
        Specified by:
        getPrev in interface net.automatalib.common.smartcollection.LinkedListEntry<DSCR,​O>
      • setPrev

        public void setPrev​(@Nullable IntrusiveListEntry<N> prevElement)
        Specified by:
        setPrev in interface net.automatalib.common.smartcollection.LinkedListEntry<DSCR,​O>