Package weka.gui.beans
Interface WekaWrapper
-
- All Known Implementing Classes:
Associator,Classifier,Clusterer,Filter,Loader,Saver
public interface WekaWrapperInterface to something that can wrap around a class of Weka algorithms (classifiers, filters etc). Typically implemented by a bean for handling classes of Weka algorithms.- Since:
- 1.0
- Version:
- $Revision$
- Author:
- Mark Hall
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetWrappedAlgorithm()Get the algorithmvoidsetWrappedAlgorithm(Object algorithm)Set the algorithm.
-
-
-
Method Detail
-
setWrappedAlgorithm
void setWrappedAlgorithm(Object algorithm)
Set the algorithm.- Parameters:
algorithm- anObjectvalue- Throws:
IllegalArgumentException- if the supplied object is not of the class of algorithms handled by this wrapper.
-
getWrappedAlgorithm
Object getWrappedAlgorithm()
Get the algorithm- Returns:
- an
Objectvalue
-
-