public interface IlvPartitioner<CIT extends IlvClusterId>
IlvClusterId
to each object and
by collecting objects with the same IlvClusterId
together in a
group (cluster).
The type parameter CIT
denotes the type to which all
IlvClusterId
s created by the classifiers of this class belong.
IlvPartitionerFactory
Modifier and Type | Method and Description |
---|---|
void |
addPartitionerListener(PartitionerListener listener)
Adds a change listener to this operator.
|
IlvClassifier<CIT> |
createClassifier(Object parent,
IlvClassifier outerClassifier,
IlvClusterId outerParentClusterId)
Creates a classifier that can evaluate the children objects of the given
parent object one by one.
|
void |
dispose()
Cleans up this partitioner and drops references to models to
help garbage collection.
|
void |
removePartitionerListener(PartitionerListener listener)
Removes a change listener from this operator.
|
IlvClassifier<CIT> createClassifier(Object parent, IlvClassifier outerClassifier, IlvClusterId outerParentClusterId)
parent
- The parent object whose children objects are to be grouped,
or null
.outerClassifier
- The last returned value of this function for the
parent object or its nearest parent, or
null
if this is the first application
of this partitioner to the objects.outerParentClusterId
- The IlvClusterId
that was produced by
the outerClassifier
for the parent object or its
nearest parent. This is null
if
this is the first application of this
partitioner to the objects.void dispose()
Note: After calling this function, this partitioner is no longer functional.
void addPartitionerListener(PartitionerListener listener)
void removePartitionerListener(PartitionerListener listener)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.