public abstract class AbstractBranchFormula<T extends AbstractBranchFormula<T>> extends Object implements Formula
Constructor and Description |
---|
AbstractBranchFormula(Formula... f) |
Modifier and Type | Method and Description |
---|---|
VariableTypeMap |
collectVariables(VariableTypeMap varMap)
Adds the
Variables |
boolean |
equals(Object oth) |
Formula |
flatten()
Collapses nested formulas of the same type and remove duplicates at the top level.
|
Formula |
get(int pos) |
Set<Atom> |
getAtoms(Set<Atom> atoms) |
int |
hashCode() |
int |
length() |
protected abstract String |
separatorString() |
String |
toString() |
protected final Formula[] formulas
public AbstractBranchFormula(Formula... f)
public int length()
public Formula get(int pos)
public VariableTypeMap collectVariables(VariableTypeMap varMap)
Formula
Variables
collectVariables
in interface Formula
public Formula flatten()
Formula
protected abstract String separatorString()
Copyright © 2018 University of California, Santa Cruz. All rights reserved.