public class MatrixPowerAlgebra extends GeneralAlgebra implements SmallAlgebra
SmallAlgebra.AlgebraType
Modifier and Type | Field and Description |
---|---|
protected int |
power |
protected PowerAlgebra |
powerAlgebra |
protected SmallAlgebra |
root |
protected int |
rootSize |
con, description, monitor, name, operationsMap, similarityType, size, sub, universe
CARDINALITY_COUNTABLE, CARDINALITY_COUNTABLY_INFINITE, CARDINALITY_FINITE, CARDINALITY_INFINITE, CARDINALITY_UNKNOWN
Constructor and Description |
---|
MatrixPowerAlgebra(SmallAlgebra alg,
int power) |
MatrixPowerAlgebra(java.lang.String name,
SmallAlgebra alg,
int power)
Construct the direct power of an algebra.
|
Modifier and Type | Method and Description |
---|---|
SmallAlgebra.AlgebraType |
algebraType()
The type of algebra this is, like a quotient algebra.
|
int |
cardinality() |
CongruenceLattice |
con()
The congurence lattice.
|
void |
convertToDefaultValueOps()
This is used in the UI.
|
int |
elementIndex(java.lang.Object obj)
This method will return k if elem
is the kth element; otherwise -1.
|
java.lang.Object |
getElement(int index)
returns the kth element.
|
int |
getPower() |
PowerAlgebra |
getPowerAlgebra() |
SmallAlgebra |
getRoot() |
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).
|
SmallAlgebra |
parent()
For a BasicAlgebra this is null; for a QuotientAlgebra this is
the preimage; for a Subalgebra it is the super algebra.
|
java.util.List<SmallAlgebra> |
parents()
For a ProductAlgebra this will be the factors.
|
SubalgebraLattice |
sub()
The subalgebra lattice.
|
constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, isUnary, iterator, makeOperationTables, monitoring, operations, resetConAndSub, setDescription, setMonitor, setName, setOperations, setUniverse, similarityType, universe, updateSimilarityType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resetConAndSub
constantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, isUnary, iterator, makeOperationTables, monitoring, operations, setDescription, setMonitor, setName, similarityType, universe, updateSimilarityType
protected final SmallAlgebra root
protected final int rootSize
protected final int power
protected final PowerAlgebra powerAlgebra
public MatrixPowerAlgebra(SmallAlgebra alg, int power)
public MatrixPowerAlgebra(java.lang.String name, SmallAlgebra alg, int power)
public SmallAlgebra getRoot()
public SmallAlgebra parent()
SmallAlgebra
parent
in interface SmallAlgebra
parent
in class GeneralAlgebra
public PowerAlgebra getPowerAlgebra()
public java.util.List<SmallAlgebra> parents()
SmallAlgebra
parents
in interface SmallAlgebra
parents
in class GeneralAlgebra
parent
public int getPower()
public java.lang.Object getElement(int index)
SmallAlgebra
getElement
in interface SmallAlgebra
public int elementIndex(java.lang.Object obj)
SmallAlgebra
elementIndex
in interface SmallAlgebra
public int cardinality()
cardinality
in interface Algebra
cardinality
in class GeneralAlgebra
public java.util.List getUniverseList()
SmallAlgebra
getUniverseList
in interface SmallAlgebra
public java.util.Map getUniverseOrder()
SmallAlgebra
getUniverseOrder
in interface SmallAlgebra
public void convertToDefaultValueOps()
SmallAlgebra
convertToDefaultValueOps
in interface SmallAlgebra
public CongruenceLattice con()
SmallAlgebra
con
in interface SmallAlgebra
con
in class GeneralAlgebra
public SubalgebraLattice sub()
SmallAlgebra
sub
in interface SmallAlgebra
sub
in class GeneralAlgebra
public SmallAlgebra.AlgebraType algebraType()
SmallAlgebra
algebraType
in interface SmallAlgebra
Copyright 2003 Ralph Freese. All Rights Reserved.