moa.options.OptionHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moa Show documentation
Show all versions of moa Show documentation
Massive On-line Analysis is an environment for massive data mining. MOA
provides a framework for data stream mining and includes tools for evaluation
and a collection of machine learning algorithms. Related to the WEKA project,
also written in Java, while scaling to more demanding problems.
/*
* OptionHandler.java
* Copyright (C) 2007 University of Waikato, Hamilton, New Zealand
* @author Richard Kirkby ([email protected])
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
*/
package moa.options;
import com.github.javacliparser.Configurable;
import com.github.javacliparser.Options;
import moa.MOAObject;
import moa.core.ObjectRepository;
import moa.tasks.TaskMonitor;
/**
* Interface representing an object that handles options or parameters.
*
* @author Richard Kirkby ([email protected])
* @version $Revision: 7 $
*/
public interface OptionHandler extends MOAObject, Configurable {
/**
* Gets the purpose of this object
*
* @return the string with the purpose of this object
*/
public String getPurposeString();
/**
* Gets the options of this object
*
* @return the options of this object
*/
public Options getOptions();
/**
* This method prepares this object for use.
*
*/
public void prepareForUse();
/**
* This method prepares this object for use.
*
* @param monitor the TaskMonitor to use
* @param repository the ObjectRepository to use
*/
public void prepareForUse(TaskMonitor monitor, ObjectRepository repository);
/**
* This method produces a copy of this object.
*
* @return a copy of this object
*/
@Override
public OptionHandler copy();
/**
* Gets the Command Line Interface text to create the object
*
* @return the Command Line Interface text to create the object
*/
public String getCLICreationString(Class> expectedType);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy