F - a formula typeR - a rule type F^n -> Fpublic class DerivationGraph<F extends Formula,R extends Rule<F,F>> extends Digraph<R>
| Constructor and Description |
|---|
DerivationGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
allDerivations(java.util.Collection<R> rules)
expands the rule set
|
private boolean |
containsNode(R value,
java.util.List<DigraphNode<R>> parents) |
addNode, getLeafs, getRoots, getValues, iterator, numberOfEdges, numberOfNodes, printTree, printTreespublic void allDerivations(java.util.Collection<R> rules)
rules - a collection of rulesprivate boolean containsNode(R value, java.util.List<DigraphNode<R>> parents)