|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.rwth.domains.templates.FunctionSet
Class for the creation of sets of functions with other finite (partially ordered) sets as domain and range.
| Inner classes inherited from class de.rwth.domains.Set |
Set.Default |
| Field Summary | |
protected Set |
domain
The domain of the functions in this set. |
protected Set |
range
The range of the functions in this set. |
| Constructor Summary | |
FunctionSet(Set[] domains,
Set range)
Create a function set from an array of domains and a range. |
|
FunctionSet(Set domain,
Set range)
Create a function set from a domain and a range. |
|
| Method Summary | |
boolean |
equals(java.lang.Object e1,
java.lang.Object e2)
Checks if a function equals another function of this set. |
boolean |
isElement(java.lang.Object e)
Checks if an element is contained in this set. |
java.util.Iterator |
iterator()
Returns an Iterator of the elements of this set. |
java.util.Iterator |
iteratorSkel()
Returns an Iterator of the elements of the skeleton subset this
set. |
long |
size()
Returns the size of the set. |
long |
sizeSkel()
Returns the size of the skeleton subset of this set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Set domain
protected Set range
| Constructor Detail |
public FunctionSet(Set domain,
Set range)
domain - a value of type Setrange - a value of type POSet
public FunctionSet(Set[] domains,
Set range)
domains - a value of type Set[]range - a value of type POSet| Method Detail |
public boolean equals(java.lang.Object e1,
java.lang.Object e2)
equals in interface Setf1 - a value of type Objectf2 - a value of type Objecttrue iff both f1 and
f2 are functions in
this set and for all x
in the domain holds
range.equals(f1(x),f2(x))public boolean isElement(java.lang.Object e)
SetisElement() is true for all
objects generated by Set.iterator() and false for all other
objects.isElement in interface Setde.rwth.domains.Sete - a value of type Objecttrue if and only if this set contains this element.Set.iterator(),
Domain.checkProperties(Set set)public java.util.Iterator iterator()
SetIterator of the elements of this set.
Set.isElement(Object e) yields true for all elements.iterator in interface Setde.rwth.domains.SetIterator of all elements of this set.Set.isElement(Object e),
Domain.checkProperties(Set set)public long size()
size in interface Setrange.size()domain.size()public long sizeSkel()
sizeSkel in interface Setrange.sizeSkel()domain.sizeSkel()public java.util.Iterator iteratorSkel()
SetIterator of the elements of the skeleton subset this
set. It maybe null if there is no skeleton subset.
Set.isElement(Object e) yields true for all elements.iteratorSkel in interface Setde.rwth.domains.SetIterator of all elements of this set.Set.isElement(Object e),
Domain.checkProperties(Set set)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||