Class AbstractTemporaryIntrusiveDTNode<DSCR,O,D,T extends IntrusiveList<?>,N extends AbstractTemporaryIntrusiveDTNode<DSCR,O,D,T,N>>
- java.lang.Object
-
- de.learnlib.datastructure.discriminationtree.model.AbstractDTNode<DSCR,O,D,N>
-
- de.learnlib.datastructure.discriminationtree.model.AbstractTemporaryIntrusiveDTNode<DSCR,O,D,T,N>
-
- Type Parameters:
DSCR
- discriminator typeO
- output symbol typeD
- node data typeT
- link structure typeN
- node type
- All Implemented Interfaces:
IntrusiveListElem<N>
- Direct Known Subclasses:
AbstractBaseDTNode
,DTNode
public abstract class AbstractTemporaryIntrusiveDTNode<DSCR,O,D,T extends IntrusiveList<?>,N extends AbstractTemporaryIntrusiveDTNode<DSCR,O,D,T,N>> extends AbstractDTNode<DSCR,O,D,N> implements IntrusiveListElem<N>
An extension of theAbstractDTNode
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).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.learnlib.datastructure.discriminationtree.model.AbstractDTNode
AbstractDTNode.SplitResult
-
-
Field Summary
Fields Modifier and Type Field Description protected N
nextElement
protected IntrusiveListElem<N>
prevElement
protected SplitData<O,T>
splitData
-
Fields inherited from class de.learnlib.datastructure.discriminationtree.model.AbstractDTNode
children, data, depth, discriminator, parent, parentOutcome
-
-
Constructor Summary
Constructors Constructor Description AbstractTemporaryIntrusiveDTNode(N parent, O parentOutcome, D data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description N
anyChild()
N
getNextElement()
IntrusiveListElem<N>
getPrevElement()
SplitData<O,T>
getSplitData()
boolean
isBlockRoot()
boolean
isInner()
boolean
isTemp()
void
removeFromBlockList()
void
setChild(O label, N newChild)
void
setNextElement(N nextBlock)
void
setPrevElement(IntrusiveListElem<N> prevElement)
void
setSplitData(SplitData<O,T> splitData)
void
setTemp(boolean temp)
-
Methods inherited from class de.learnlib.datastructure.discriminationtree.model.AbstractDTNode
addChild, child, child, createChild, createChildMap, getChild, getChildEntries, getChildren, getData, getDepth, getDiscriminator, getParent, getParentOutcome, isLeaf, isRoot, replaceChildren, setData, setDiscriminator, split, split, split, subtreeLabel
-
-
-
-
Field Detail
-
splitData
protected SplitData<O,T extends IntrusiveList<?>> splitData
-
prevElement
protected IntrusiveListElem<N extends AbstractTemporaryIntrusiveDTNode<DSCR,O,D,T,N>> prevElement
-
-
Method Detail
-
isTemp
public boolean isTemp()
-
setTemp
public void setTemp(boolean temp)
-
anyChild
public N anyChild()
-
isInner
public boolean isInner()
-
isBlockRoot
public boolean isBlockRoot()
-
removeFromBlockList
public void removeFromBlockList()
-
getNextElement
public N getNextElement()
- Specified by:
getNextElement
in interfaceIntrusiveListElem<DSCR>
-
setNextElement
public void setNextElement(N nextBlock)
- Specified by:
setNextElement
in interfaceIntrusiveListElem<DSCR>
-
getPrevElement
public IntrusiveListElem<N> getPrevElement()
-
setPrevElement
public void setPrevElement(IntrusiveListElem<N> prevElement)
-
-