net.sf.taverna.t2.partition
Interface PartitionAlgorithm<ValueType>
- All Known Implementing Classes:
- CustomPartitionAlgorithm, LiteralValuePartitionAlgorithm
public interface PartitionAlgorithm<ValueType>
Interface for classes which can partition a set of objects into subsets according
to some embedded partitioning rule
- Author:
- Tom Oinn, Stuart Owen
allocate
ValueType allocate(java.lang.Object newItem,
PropertyExtractorRegistry reg)
- Given an object to classify return the value of the partition into which
the object falls.
- Parameters:
newItem -
- Returns: