Example usage for weka.core Capabilities Capabilities

List of usage examples for weka.core Capabilities Capabilities

Introduction

In this page you can find the example usage for weka.core Capabilities Capabilities.

Prototype

Capabilities

Source Link

Usage

From source file:adams.gui.help.WekaOptionHandlerHelpGenerator.java

License:Open Source License

/**
 * returns a comma-separated list of all the capabilities.
 *
 * @param c      the capabilities to get a string representation from
 * @return      the string describing the capabilities
 *//*from ww  w  .ja  v  a 2s.c o  m*/
protected String listCapabilities(Capabilities c) {
    String result;
    Iterator iter;

    result = "";
    iter = c.capabilities();
    while (iter.hasNext()) {
        if (result.length() != 0)
            result += ", ";
        result += iter.next().toString();
    }

    return result;
}