public class UnaryTermsMonoid extends GeneralAlgebra implements SmallAlgebra
SmallAlgebra.AlgebraType
con, description, monitor, name, operationsMap, similarityType, size, sub, universe
CARDINALITY_COUNTABLE, CARDINALITY_COUNTABLY_INFINITE, CARDINALITY_FINITE, CARDINALITY_INFINITE, CARDINALITY_UNKNOWN
Constructor and Description |
---|
UnaryTermsMonoid(SmallAlgebra alg) |
UnaryTermsMonoid(SmallAlgebra alg,
boolean includeId) |
Modifier and Type | Method and Description |
---|---|
SmallAlgebra.AlgebraType |
algebraType()
The type of algebra this is, like a quotient algebra.
|
CongruenceLattice |
con()
The congurence lattice.
|
void |
convertToDefaultValueOps()
This is used in the UI.
|
int |
elementIndex(java.lang.Object elem)
This method will return k if elem
is the kth element; otherwise -1.
|
java.lang.Object |
getElement(int k)
returns the kth element.
|
java.util.List |
getUniverseList()
The universe as a List such getElement(k) will equal the kth
element of the List.
|
java.util.Map |
getUniverseOrder()
A map that can be used for elementIndex(a).
|
boolean |
isUnary() |
static void |
main(java.lang.String[] args) |
void |
makeOperationTables()
Make operation tables to speed up the evaluation of operations at
the cost using more space.
|
SmallAlgebra |
parent()
For a BasicAlgebra this is null; for a QuotientAlgebra this is
the preimage; for a Subalgebra it is the super algebra.
|
SubalgebraLattice |
sub()
The subalgebra lattice.
|
cardinality, constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, iterator, monitoring, operations, parents, resetConAndSub, setDescription, setMonitor, setName, setOperations, setUniverse, similarityType, universe, updateSimilarityType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parents, resetConAndSub
cardinality, constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, iterator, monitoring, operations, setDescription, setMonitor, setName, similarityType, universe, updateSimilarityType
public UnaryTermsMonoid(SmallAlgebra alg)
public UnaryTermsMonoid(SmallAlgebra alg, boolean includeId)
public CongruenceLattice con()
SmallAlgebra
con
in interface SmallAlgebra
con
in class GeneralAlgebra
public int elementIndex(java.lang.Object elem)
SmallAlgebra
elementIndex
in interface SmallAlgebra
public java.lang.Object getElement(int k)
SmallAlgebra
getElement
in interface SmallAlgebra
public java.util.List getUniverseList()
SmallAlgebra
getUniverseList
in interface SmallAlgebra
public java.util.Map getUniverseOrder()
SmallAlgebra
getUniverseOrder
in interface SmallAlgebra
public SmallAlgebra parent()
SmallAlgebra
parent
in interface SmallAlgebra
parent
in class GeneralAlgebra
public SubalgebraLattice sub()
SmallAlgebra
sub
in interface SmallAlgebra
sub
in class GeneralAlgebra
public boolean isUnary()
isUnary
in interface Algebra
isUnary
in class GeneralAlgebra
public void makeOperationTables()
Algebra
makeOperationTables
in interface Algebra
makeOperationTables
in class GeneralAlgebra
Operation.makeTable
public void convertToDefaultValueOps()
SmallAlgebra
convertToDefaultValueOps
in interface SmallAlgebra
public SmallAlgebra.AlgebraType algebraType()
SmallAlgebra
algebraType
in interface SmallAlgebra
public static void main(java.lang.String[] args) throws java.io.IOException, BadAlgebraFileException
java.io.IOException
BadAlgebraFileException
Copyright 2003 Ralph Freese. All Rights Reserved.