public class SetManipulation extends Object
Constructor and Description |
---|
SetManipulation() |
Modifier and Type | Method and Description |
---|---|
static <T> SortedSet<T> |
fuzzyShrink(SortedSet<T> set,
int limit)
shrinks a set to the limit fuzzy here means the elements will be randomly
picked
|
static SortedSet<org.semanticweb.owlapi.model.OWLIndividual> |
fuzzyShrinkInd(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> set,
int limit)
shrinks a set to the limit fuzzy here means the elements will be randomly
picked
|
static <T> SortedSet<T> |
stableShrink(SortedSet<T> set,
int limit)
shrinks a set to the limit takes the first elements up to limit
|
static SortedSet<org.semanticweb.owlapi.model.OWLIndividual> |
stableShrinkInd(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> set,
int limit)
shrinks a set to the limit takes the first elements up to limit
|
public SetManipulation()
public static <T> SortedSet<T> fuzzyShrink(SortedSet<T> set, int limit)
set
- the setlimit
- the limitpublic static SortedSet<org.semanticweb.owlapi.model.OWLIndividual> fuzzyShrinkInd(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> set, int limit)
set
- the setlimit
- the limitpublic static <T> SortedSet<T> stableShrink(SortedSet<T> set, int limit)
set
- the setlimit
- the limitpublic static SortedSet<org.semanticweb.owlapi.model.OWLIndividual> stableShrinkInd(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> set, int limit)
set
- the setlimit
- the limit DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann