public class Algebra
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
debug |
Constructor[] |
ops |
Sort[] |
sorts |
Subsorter |
subsorter |
Constructor and Description |
---|
Algebra(Sort[] sorts,
java.util.HashMap<Sort,Sort[]> subsortMap,
Constructor[] ops) |
Algebra(Sort[] sorts,
Subsorter subsorter,
Constructor[] ops) |
Algebra(java.lang.String[] maudeSorts,
java.lang.String[][] maudeSubsorter,
java.lang.String[][] maudeOperators) |
Modifier and Type | Method and Description |
---|---|
void |
addTerm2Pool(Term term) |
void |
addTermPoolListener(TermPoolListener listener) |
Constructor |
getConstructorByName(java.lang.String name) |
java.util.ArrayList<Constructor> |
getConstructorsBySort(Sort sort) |
java.util.ArrayList<Constructor> |
getConstructorsBySubsort(Sort sort) |
java.util.Set<Term> |
getPool(Sort sort) |
void |
removeTermPoolListener(TermPoolListener listener) |
static Algebra |
union(Algebra lhs,
Algebra rhs) |
public static final boolean debug
public final Sort[] sorts
public final Subsorter subsorter
public final Constructor[] ops
public Algebra(Sort[] sorts, Subsorter subsorter, Constructor[] ops)
public Algebra(java.lang.String[] maudeSorts, java.lang.String[][] maudeSubsorter, java.lang.String[][] maudeOperators)
public Algebra(Sort[] sorts, java.util.HashMap<Sort,Sort[]> subsortMap, Constructor[] ops)
public Constructor getConstructorByName(java.lang.String name)
public java.util.ArrayList<Constructor> getConstructorsBySubsort(Sort sort)
public java.util.ArrayList<Constructor> getConstructorsBySort(Sort sort)
public void addTerm2Pool(Term term)
public void addTermPoolListener(TermPoolListener listener)
public void removeTermPoolListener(TermPoolListener listener)