public class BinarizingAlgebraSeed extends RegularSeed
BinarizingAlgebra.
It maps, for instance, terms f(t1,t2,t3) into terms
f(@(@(t1,t2),t3)) and f(@(t1,@(t2,t3))). These are binary
terms (f is unary, @ is a binary symbol), and the
binarizing algebra will evaluate them to the same value
to which the original algebra would have evaluated f(t1,t2,t3).| Constructor and Description |
|---|
BinarizingAlgebraSeed()
This is only for technical reasons; don't use this constructor! Use
#StringAlgebraSeed(de.up.ling.irtg.signature.Signature, java.lang.String)
instead. |
BinarizingAlgebraSeed(Algebra sourceAlgebra,
Algebra targetAlgebra) |
| Modifier and Type | Method and Description |
|---|---|
TreeAutomaton<String> |
binarize(String symbol)
Computes an automaton for all binarizations of a given symbol.
|
binarize, getAllRegularSeedClasses, printStatspublic BinarizingAlgebraSeed()
#StringAlgebraSeed(de.up.ling.irtg.signature.Signature, java.lang.String)
instead.public TreeAutomaton<String> binarize(String symbol)
RegularSeedThe automaton returned by this method must satisfy a number of requirements.
binarize in class RegularSeedCopyright © 2017. All rights reserved.