public class FreeAlgebra extends SubProductAlgebra implements SmallAlgebra
SmallAlgebra.AlgebraType
decompose, gens, productAlgebra, termMap, terms, thinGenerators, univ, univHashMap, variables, varsMap
con, description, monitor, name, operationsMap, similarityType, size, sub, universe
CARDINALITY_COUNTABLE, CARDINALITY_COUNTABLY_INFINITE, CARDINALITY_FINITE, CARDINALITY_INFINITE, CARDINALITY_UNKNOWN
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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, universeFromRelations
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, updateSimilarityType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
con, convertToDefaultValueOps, elementIndex, getElement, getUniverseList, getUniverseOrder, parent, parents, resetConAndSub, sub
cardinality, constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, isUnary, iterator, makeOperationTables, monitoring, operations, setDescription, setMonitor, setName, similarityType, universe, updateSimilarityType
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 progresspublic FreeAlgebra(java.lang.String name, BigProductAlgebra prod, java.util.List<IntArray> gens, java.util.List<IntArray> univList)
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 java.util.List<Term> getIdempotentTerms()
public SmallAlgebra.AlgebraType algebraType()
SmallAlgebra
algebraType
in interface SmallAlgebra
algebraType
in class SubProductAlgebra
public Operation switchXandYAutomorphism()
public static void main(java.lang.String[] args) throws java.io.IOException, BadAlgebraFileException
java.io.IOException
BadAlgebraFileException
Copyright 2003 Ralph Freese. All Rights Reserved.