|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMap
Homomorphism
A Homomorphism is a Map from one Group to another satisfying the axioms for a homomorphism of groups.
An isomorphism is just a Homomorphism for which
isIsomorphism() returns true.
This class is immutable--elements can't be added or removed
once the object is instantiated. The class implements the Map interface, but any attempt to modify it will throw a
java.lang.UnsupportedOperationException.
A subclass of Homomorphism only needs to
implement the following methods.
AbstractMap.get(Object),
whose default implementation takes time linear in
source.getOrder().
| Nested Class Summary |
| Nested classes inherited from class Map |
Map.Entry |
| Constructor Summary | |
Homomorphism()
|
|
| Method Summary | |
GroupElt |
apply(GroupElt g)
Returns the value of this homomorphism on the element g of the source. |
void |
clear()
Unsupported, because Homomorphisms are immutable. |
boolean |
containsKey(Object o)
|
int |
getImageOrder()
|
int |
getKernelOrder()
|
Group |
getSource()
Returns the source (domain). |
Group |
getTarget()
Returns the target. |
static Homomorphism |
identity(Group G,
Group G1)
If G and G1 have the same elements
(that is, if G.equals(G1)), this method returns
the natural identity map from G to
G1. |
Homomorphism |
inverse()
If this homomorphism is an isomorphism, return the inverse homomorphism. |
HashSet |
inverseImage(Collection c)
Returns the set of all elements of the source whose images lie in c. |
boolean |
isInjective()
|
boolean |
isIsomorphism()
|
boolean |
isSurjective()
|
Set |
keySet()
|
GpCharacter |
pullBack(GpCharacter chiT)
Returns the pullback of the character chiT on the
target. |
Object |
put(Object key,
Object value)
Unsupported, because Homomorphisms are immutable. |
void |
putAll(Map map)
Unsupported, because Homomorphisms are immutable. |
Object |
remove(Object o)
Unsupported, because Homomorphisms are immutable. |
| Methods inherited from class AbstractMap |
clone, containsValue, entrySet, equals, get, hashCode, isEmpty, size, toString, values |
| Methods inherited from class Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Homomorphism()
| Method Detail |
public final boolean containsKey(Object o)
public final Set keySet()
public final void clear()
Homomorphisms are immutable.
UnsupportedOperationException - Always.
public final Object put(Object key,
Object value)
Homomorphisms are immutable.
UnsupportedOperationException - Always.public final void putAll(Map map)
Homomorphisms are immutable.
UnsupportedOperationException - Always.public final Object remove(Object o)
Homomorphisms are immutable.
UnsupportedOperationException - Always.public final Group getSource()
public final Group getTarget()
public GroupElt apply(GroupElt g)
g of the source. Returns null if g
is not actually in the source. Same as AbstractMap.get(java.lang.Object).
public HashSet inverseImage(Collection c)
c. The running time is
O(|source|) times the average running time of
c's Collection.contains(java.lang.Object) method.
public static Homomorphism identity(Group G,
Group G1)
G and G1 have the same elements
(that is, if G.equals(G1)), this method returns
the natural identity map from G to
G1. If not, returns null.
public int getKernelOrder()
public boolean isInjective()
public int getImageOrder()
public boolean isSurjective()
public boolean isIsomorphism()
public Homomorphism inverse()
HashHomom.
IllegalArgumentException - If this homomorphism is not
an isomorphism.public GpCharacter pullBack(GpCharacter chiT)
chiT on the
target. This is a character on the source.
IllegalArgumentException - If chiT is not
defined on the target.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||