O
- output symbol typeT
- transition typepublic class SplitData<O,T extends IntrusiveList<?>> extends Object
Modifier and Type | Method and Description |
---|---|
T |
getIncoming(O label)
Retrieves the list of incoming transitions for the respective label.
|
Set<O> |
getLabels() |
O |
getStateLabel()
Retrieves the state label associated with this split data.
|
boolean |
hasStateLabel()
Checks whether there is a state label associated with this node, regardless of its value.
|
boolean |
isMarked(O label)
Checks whether the corresponding node is marked with the given label.
|
boolean |
mark(O label)
Mark this node with the given label.
|
void |
setStateLabel(O label)
Sets the state label associated with this split data.
|
public boolean mark(O label)
label
- the label to mark this node withtrue
if the node was previously unmarked (wrt. to the given label), false
otherwisepublic O getStateLabel()
Note: invoking this operation is illegal if no state label has previously been set.
public void setStateLabel(O label)
Note: invoking this operation is illegal if a state label has already been set.
label
- the state labelpublic boolean hasStateLabel()
true
if there is a state label (true
or false
) associated with this node, false
otherwisepublic T getIncoming(O label)
This method will always return a non-null
value.
label
- the labelpublic boolean isMarked(O label)
label
- the labeltrue
if the corresponding node is marked with the given label, false
otherwiseCopyright © 2018. All rights reserved.