Package eu.bandm.tools.ramus.runtime2
Class Thunk<R,S,M,O>
java.lang.Object
eu.bandm.tools.ramus.runtime2.Action<S,M,O>
eu.bandm.tools.ramus.runtime2.Thunk<R,S,M,O>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbind
(Action.Continuation<? super S, T, M, O> cont) Applies a monadic continuation to all leaves of this search tree (transition operation).force()
protected int
void
host
(Action.Visitor<? super S, M, O> visitor) Performs a double dispatch to the appropriate method of a visitor.boolean
isEmpty()
Checks whether this search tree is empty.prune()
Simplifies this search tree by removing redundant choice nodes and all obstructions (transition operation).
-
Constructor Details
-
Thunk
-
-
Method Details
-
force
-
bind
Description copied from class:Action
Applies a monadic continuation to all leaves of this search tree (transition operation). -
isEmpty
public boolean isEmpty()Description copied from class:Action
Checks whether this search tree is empty. -
getLeafCount
protected int getLeafCount()- Specified by:
getLeafCount
in classAction<S,
M, O>
-
prune
Description copied from class:Action
Simplifies this search tree by removing redundant choice nodes and all obstructions (transition operation). -
host
Description copied from class:Action
Performs a double dispatch to the appropriate method of a visitor.
-