|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.uacalc.alg.GeneralAlgebra
org.uacalc.alg.PolinLikeAlgebra
public class PolinLikeAlgebra
Given a homomorphism f: A to B, this constructs a Polin type algebra on the disjoint union of A and B. The elements are ordered by the elements of B first followed by those of A.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.uacalc.alg.SmallAlgebra |
|---|
SmallAlgebra.AlgebraType |
| Field Summary | |
|---|---|
protected SmallAlgebra |
botAlg
|
protected int |
botConstIndex
|
protected Operation |
map
|
protected SmallAlgebra |
topAlg
|
protected int |
topConstIndex
|
| Fields inherited from class org.uacalc.alg.GeneralAlgebra |
|---|
con, description, monitor, name, operations, operationsMap, similarityType, size, sub, universe |
| Fields inherited from interface org.uacalc.alg.Algebra |
|---|
CARDINALITY_COUNTABLE, CARDINALITY_COUNTABLY_INFINITE, CARDINALITY_FINITE, CARDINALITY_INFINITE, CARDINALITY_UNKNOWN |
| Constructor Summary | |
|---|---|
PolinLikeAlgebra(java.lang.String name,
SmallAlgebra topAlg,
SmallAlgebra botAlg,
Operation map,
int topConstIndex,
int botConstIndex)
|
|
| Method Summary | |
|---|---|
SmallAlgebra.AlgebraType |
algebraType()
The type of algebra this is, like a quotient algebra. |
CongruenceLattice |
con()
The congurence lattice. |
static SmallAlgebra |
constructPolinAlgebra(SmallAlgebra alg,
int elt)
This is not implemented; don't use it. |
static SmallAlgebra |
constructPolinAlgebra(SmallAlgebra alg,
java.lang.Object elem)
This is not implemented; don't use it. |
void |
convertToDefaultValueOps()
This is used in the UI. |
int |
elementIndex(java.lang.Object elt)
This method will return k if elem is the kth element; otherwise -1. |
java.lang.Object |
getElement(int index)
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). |
static void |
main(java.lang.String[] args)
|
Operation |
polinizeOperation(OperationSymbol sym)
|
SubalgebraLattice |
sub()
The subalgebra lattice. |
| Methods inherited from class org.uacalc.alg.GeneralAlgebra |
|---|
cardinality, constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, isUnary, iterator, makeOperationTables, monitoring, operations, parent, parents, resetConAndSub, setDescription, setMonitor, setName, setOperations, setUniverse, similarityType, universe |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.uacalc.alg.SmallAlgebra |
|---|
parent, parents, resetConAndSub |
| Methods inherited from interface org.uacalc.alg.Algebra |
|---|
cardinality, constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, isUnary, iterator, makeOperationTables, monitoring, operations, setDescription, setMonitor, setName, similarityType, universe |
| Field Detail |
|---|
protected SmallAlgebra botAlg
protected SmallAlgebra topAlg
protected Operation map
protected int botConstIndex
protected int topConstIndex
| Constructor Detail |
|---|
public PolinLikeAlgebra(java.lang.String name,
SmallAlgebra topAlg,
SmallAlgebra botAlg,
Operation map,
int topConstIndex,
int botConstIndex)
| Method Detail |
|---|
public int elementIndex(java.lang.Object elt)
SmallAlgebra
elementIndex in interface SmallAlgebrapublic java.lang.Object getElement(int index)
SmallAlgebra
getElement in interface SmallAlgebrapublic java.util.Map getUniverseOrder()
SmallAlgebra
getUniverseOrder in interface SmallAlgebrapublic java.util.List getUniverseList()
SmallAlgebra
getUniverseList in interface SmallAlgebra
public static SmallAlgebra constructPolinAlgebra(SmallAlgebra alg,
java.lang.Object elem)
public static SmallAlgebra constructPolinAlgebra(SmallAlgebra alg,
int elt)
public Operation polinizeOperation(OperationSymbol sym)
public CongruenceLattice con()
SmallAlgebra
con in interface SmallAlgebracon in class GeneralAlgebrapublic SubalgebraLattice sub()
SmallAlgebra
sub in interface SmallAlgebrasub in class GeneralAlgebrapublic void convertToDefaultValueOps()
SmallAlgebra
convertToDefaultValueOps in interface SmallAlgebrapublic SmallAlgebra.AlgebraType algebraType()
SmallAlgebra
algebraType in interface SmallAlgebra
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||