public class Blockage<R,M,O> extends Action<R,M,O>
Modifier and Type | Method and Description |
---|---|
<S> Action<S,M,O> |
bind(Action.Continuation<? super R,S,M,O> cont)
Applies a monadic continuation to all leaves of this search tree
(transition operation).
|
protected int |
getLeafCount() |
O |
getObstruction() |
void |
host(Action.Visitor<? super R,M,O> v)
Performs a double dispatch to the appropriate method of a visitor.
|
boolean |
isEmpty()
Checks whether this search tree is empty.
|
<Q> Action<R,M,Q> |
prune()
Simplifies this search tree by removing redundant choice nodes
and all obstructions (transition operation).
|
String |
toString() |
public Blockage(O obstruction)
public final O getObstruction()
protected int getLeafCount()
getLeafCount
in class Action<R,M,O>
public <S> Action<S,M,O> bind(Action.Continuation<? super R,S,M,O> cont)
Action
public <Q> Action<R,M,Q> prune()
Action
public boolean isEmpty()
Action
public void host(Action.Visitor<? super R,M,O> v)
Action
see also the complete user documentation .