org.ximtec.igesture.batch
Class BatchTools
java.lang.Object
org.ximtec.igesture.batch.BatchTools
public class BatchTools
- extends Object
Some helper methods.
- Version:
- 1.0 Dec 2006
- Author:
- Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchTools
public BatchTools()
filterSet
public static HashSet<HashSet<String>> filterSet(HashSet<HashSet<String>> powerSet,
int min,
int max)
- Filters a set of sets. The condition are the number of elements in the set.
- Parameters:
powerSet - the set to be filtered.min - the minimal number of elements in the set.max - the maximal number of elements in the set.
- Returns:
- the filtered set.
getPowerSet
public static HashSet<HashSet<String>> getPowerSet(HashSet<String> set)
- Creates the power set of a given set.
- Parameters:
set - the set a power set has to be created from.
- Returns:
- the power set.
writeResultsOnDisk
public static void writeResultsOnDisk(File outputDirectory,
BatchResultSet resultSet)
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.