Package eu.bandm.tools.ramus.runtime2
Class Diagnosis<R,M,O>
java.lang.Object
eu.bandm.tools.ramus.runtime2.Action<R,M,O>
eu.bandm.tools.ramus.runtime2.Diagnosis<R,M,O>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbind
(Action.Continuation<? super R, S, M, O> cont) Applies a monadic continuation to all leaves of this search tree (transition operation).getBody()
protected int
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.prune()
Simplifies this search tree by removing redundant choice nodes and all obstructions (transition operation).toString()
Methods inherited from class eu.bandm.tools.ramus.runtime2.Action
choice, diagnosis, diagnosis, fail, fail, findFirstResult, forEachObstruction, forEachResult, map, optional, optional, pruneTo, succeed, succeed
-
Constructor Details
-
Diagnosis
-
Diagnosis
-
-
Method Details
-
getBody
-
getMessages
-
getLeafCount
protected int getLeafCount()- Specified by:
getLeafCount
in classAction<R,
M, O>
-
bind
Description copied from class:Action
Applies a monadic continuation to all leaves of this search tree (transition operation). -
prune
Description copied from class:Action
Simplifies this search tree by removing redundant choice nodes and all obstructions (transition operation). -
isEmpty
public boolean isEmpty()Description copied from class:Action
Checks whether this search tree is empty. -
toString
-
host
Description copied from class:Action
Performs a double dispatch to the appropriate method of a visitor.
-