|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.utilities.datastructures.SetManipulation
public class SetManipulation
| Constructor Summary | |
|---|---|
SetManipulation()
|
|
| Method Summary | ||
|---|---|---|
static SortedSet<String> |
fuzzyShrink(SortedSet<String> set,
int limit)
shrinks a set to the limit fuzzy here means the elements will be randomly picked |
|
static SortedSet<Individual> |
fuzzyShrinkInd(SortedSet<Individual> set,
int limit)
shrinks a set to the limit fuzzy here means the elements will be randomly picked |
|
static
|
getFirst(List<T> list,
int nrElements)
XXX getFirst n Elements from list. |
|
static SortedSet<String> |
indToString(SortedSet<Individual> set)
|
|
static void |
printSet(String s,
SortedSet<String> set,
org.apache.log4j.Logger logger)
|
|
static
|
printSet(String s,
SortedSet<T> set)
|
|
static SortedSet<String> |
stableShrink(SortedSet<String> set,
int limit)
shrinks a set to the limit takes the first elements up to limit |
|
static SortedSet<Individual> |
stableShrinkInd(SortedSet<Individual> set,
int limit)
shrinks a set to the limit takes the first elements up to limit |
|
static SortedSet<Individual> |
stringToInd(SortedSet<String> set)
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetManipulation()
| Method Detail |
|---|
public static SortedSet<String> fuzzyShrink(SortedSet<String> set,
int limit)
set - limit -
public static SortedSet<Individual> fuzzyShrinkInd(SortedSet<Individual> set,
int limit)
set - limit -
public static SortedSet<String> stableShrink(SortedSet<String> set,
int limit)
set - limit -
public static SortedSet<Individual> stableShrinkInd(SortedSet<Individual> set,
int limit)
set - limit -
public static <T> List<T> getFirst(List<T> list,
int nrElements)
list - nrElements -
public static SortedSet<Individual> stringToInd(SortedSet<String> set)
public static SortedSet<String> indToString(SortedSet<Individual> set)
public static void printSet(String s,
SortedSet<String> set,
org.apache.log4j.Logger logger)
public static <T> void printSet(String s,
SortedSet<T> set)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||