org.dllearner.configuration
Interface IConfiguration


public interface IConfiguration

Created by IntelliJ IDEA. User: Chris Date: 8/18/11 Time: 9:45 PM This interface defines our interaction with a DL-Learner specific configuration.


Method Summary
 Set<String> getNegativeExamples()
          Get the set of negative examples associated with this configuration.
 Object getObjectValue(String key)
          Get the object for the given key.
 Set<String> getPositiveExamples()
          Get the set of positive examples associated with this configuration.
 Properties getProperties()
          Get a Properties object describing all of the properties which this configuration object knows about.
 

Method Detail

getObjectValue

Object getObjectValue(String key)
Get the object for the given key.

Parameters:
key - The key of the object to retrieve.
Returns:
The Object representation of the value keyed by key.

getProperties

Properties getProperties()
Get a Properties object describing all of the properties which this configuration object knows about. As Properties are basically Map objects, you can use getObjectValue(String key). To get the Object.

Returns:
A Properties Object.

getPositiveExamples

Set<String> getPositiveExamples()
Get the set of positive examples associated with this configuration. Never returns null, only an empty set if there are no positive examples.

Returns:
The set of positive examples associated with this configuration.

getNegativeExamples

Set<String> getNegativeExamples()
Get the set of negative examples associated with this configuration. Never returns null, only an empty set if there are no negative examples.

Returns:
The set of negative examples associated with this configuration.


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann