org.carrot2.core.clustering
Interface ClustersConsumer


public interface ClustersConsumer

A marker interface and data-related interface for components that can consume Cluster objects.

Predecessor components to this one should implement the corresponding ClustersProducer interface.

Version:
$Revision: 2122 $
Author:
Dawid Weiss
See Also:
Cluster, ClustersProducer, LocalComponent.getComponentCapabilities(), LocalComponent

Method Summary
 void addCluster(Cluster cluster)
          Data-related method for passing a new Cluster object reference to the component implementing this interface.
 

Method Detail

addCluster

void addCluster(Cluster cluster)
                throws ProcessingException
Data-related method for passing a new Cluster object reference to the component implementing this interface.

Parameters:
cluster - A new Cluster passed from the predecessor component.
Throws:
ProcessingException - Thrown if this component cannot accept the cluster reference for some reason.


Copyright (c) Dawid Weiss, Stanislaw Osinski