|
|||||||||
| 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.SubProductAlgebra
org.uacalc.alg.FreeAlgebra
public class FreeAlgebra
This class represents a subalgebra of a direct product of SmallAlgebras. It allows one to construct such an algebra even though the direct product may be too big to be a SmallAlgebra.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.uacalc.alg.SmallAlgebra |
|---|
SmallAlgebra.AlgebraType |
| Field Summary |
|---|
| Fields inherited from class org.uacalc.alg.SubProductAlgebra |
|---|
decompose, gens, productAlgebra, termMap, terms, thinGenerators, univ, univHashMap, variables, varsMap |
| 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 | |
|---|---|
FreeAlgebra(SmallAlgebra alg,
int numberOfGens)
Construct a free algebra without giving it a name. |
|
FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse)
|
|
FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGenerators)
|
|
FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
boolean decompose,
java.util.List<Equation> relations,
ProgressReport report)
|
|
FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
ProgressReport report)
|
|
FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
java.util.List<Equation> relations,
ProgressReport report)
This constructs a finitely presented algebra and it is only correct if the algebra is in a CD variety. |
|
FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
ProgressReport report)
Construct a free algebra without giving it a name. |
|
FreeAlgebra(java.lang.String name,
BigProductAlgebra prod,
java.util.List<IntArray> gens,
java.util.List<IntArray> univList)
Construct a FreeAlgebra when the gens and univ are already given. |
|
FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens)
|
|
FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse)
Consturct the free algebra over alg with numberOfGens generators. |
|
FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens)
|
|
FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
boolean decompose,
java.util.List<Equation> relations,
ProgressReport report)
Consturct the free algebra over alg with numberOfGens generators. |
|
FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
ProgressReport report)
|
|
| Method Summary | |
|---|---|
SmallAlgebra.AlgebraType |
algebraType()
The type of algebra this is, like a quotient algebra. |
static Equation |
findEquationOfAnotB(SmallAlgebra A,
SmallAlgebra B,
int[] bGens)
|
static Equation |
findEquationOfAnotB(SmallAlgebra A,
SmallAlgebra B,
int[] bGens,
ProgressReport report)
Find an equation holding in A and failing in B under the substitution, or return null if there is no such failure. |
static Term |
findInClone(Operation op,
SmallAlgebra A)
Test if op is in the clone of A and return the term if it is; null otherwise. |
java.util.List<Term> |
getIdempotentTerms()
|
static void |
main(java.lang.String[] args)
|
Operation |
switchXandYAutomorphism()
This returns the map which given the index of an element, returns the index of the element obtained from the first by applying the automorphism interchanging the first two generators. |
| Methods inherited from class org.uacalc.alg.SubProductAlgebra |
|---|
con, convertToDefaultValueOps, elementIndex, generators, getDecompose, getElement, getElementFromTerm, getProductAlgebra, getTerm, getTermMap, getTerms, getThinGenerators, getUniverseList, getUniverseOrder, getVariables, getVariableToGeneratorMap, makeOperations, makeOperationTables, projectionKernel, setDecompose, setThinGenerators, setupGensToVarsMap, sub, superAlgebra, thinGenerators, transpose |
| Methods inherited from class org.uacalc.alg.GeneralAlgebra |
|---|
cardinality, constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, isUnary, iterator, 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 |
|---|
con, convertToDefaultValueOps, elementIndex, getElement, getUniverseList, getUniverseOrder, parent, parents, resetConAndSub, sub |
| 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 |
| Constructor Detail |
|---|
public FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
java.util.List<Equation> relations,
ProgressReport report)
public FreeAlgebra(SmallAlgebra alg,
int numberOfGens)
public FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
ProgressReport report)
public FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse)
public FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGenerators)
public FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens)
public FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse)
public FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens)
public FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
ProgressReport report)
public FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
ProgressReport report)
public FreeAlgebra(SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
boolean decompose,
java.util.List<Equation> relations,
ProgressReport report)
public FreeAlgebra(java.lang.String name,
SmallAlgebra alg,
int numberOfGens,
boolean makeUniverse,
boolean thinGens,
boolean decompose,
java.util.List<Equation> relations,
ProgressReport report)
name - alg - numberOfGens - makeUniverse - if true, make the universethinGens - if true, try to thin out the number of projectionsdecompose - if true, reduce to SI algebrasreport - keeps the state of the progress
public FreeAlgebra(java.lang.String name,
BigProductAlgebra prod,
java.util.List<IntArray> gens,
java.util.List<IntArray> univList)
| Method Detail |
|---|
public static Equation findEquationOfAnotB(SmallAlgebra A,
SmallAlgebra B,
int[] bGens)
public static Equation findEquationOfAnotB(SmallAlgebra A,
SmallAlgebra B,
int[] bGens,
ProgressReport report)
A - B - bGens -
public static Term findInClone(Operation op,
SmallAlgebra A)
op - an operation of the set of AA - an algebra
public java.util.List<Term> getIdempotentTerms()
public SmallAlgebra.AlgebraType algebraType()
SmallAlgebra
algebraType in interface SmallAlgebraalgebraType in class SubProductAlgebrapublic Operation switchXandYAutomorphism()
public static void main(java.lang.String[] args)
throws java.io.IOException,
BadAlgebraFileException
java.io.IOException
BadAlgebraFileException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||