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, universeCARDINALITY_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, updateSimilarityTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetConAndSubconstantOperations, getDescription, getMonitor, getName, getOperation, getOperationsMap, inputSize, isIdempotent, isSimilarTo, isTotal, isUnary, iterator, makeOperationTables, monitoring, operations, setDescription, setMonitor, setName, similarityType, universe, updateSimilarityTypeprotected 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()
SmallAlgebraparent in interface SmallAlgebraparent in class GeneralAlgebrapublic PowerAlgebra getPowerAlgebra()
public java.util.List<SmallAlgebra> parents()
SmallAlgebraparents in interface SmallAlgebraparents in class GeneralAlgebraparentpublic int getPower()
public java.lang.Object getElement(int index)
SmallAlgebragetElement in interface SmallAlgebrapublic int elementIndex(java.lang.Object obj)
SmallAlgebraelementIndex in interface SmallAlgebrapublic int cardinality()
cardinality in interface Algebracardinality in class GeneralAlgebrapublic java.util.List getUniverseList()
SmallAlgebragetUniverseList in interface SmallAlgebrapublic java.util.Map getUniverseOrder()
SmallAlgebragetUniverseOrder in interface SmallAlgebrapublic void convertToDefaultValueOps()
SmallAlgebraconvertToDefaultValueOps in interface SmallAlgebrapublic CongruenceLattice con()
SmallAlgebracon in interface SmallAlgebracon in class GeneralAlgebrapublic SubalgebraLattice sub()
SmallAlgebrasub in interface SmallAlgebrasub in class GeneralAlgebrapublic SmallAlgebra.AlgebraType algebraType()
SmallAlgebraalgebraType in interface SmallAlgebraCopyright 2003 Ralph Freese. All Rights Reserved.