| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
checks whether the other object is a formula of the same structure.
|
int |
hashCode()
returns a valid hashCode satisfying the constraints given by
Formula.equals(java.lang.Object). |
String |
toString()
returns an arbitrary representation of the formula, might be human- or machine-readable.
|
public final String toString()
FormulaWe do not guarantee that the returned String is in any way related to the formula. The
solver might apply escaping or even un-escaping. A user should not use the returned String for
further processing. For analyzing formulas, we recommend to use a FormulaVisitor.
public final boolean equals(Object o)
FormulaTwo formulas that are structured in the same way, are determined as "equal". Due to transformations and simplifications, two equisatisfiable formulas with different structure might not be determined as "equal".