jigcell.compare.objective
Interface IObjective
- All Superinterfaces:
- java.lang.Cloneable, IDataGenerator, IDataSource, IEditableDataGenerator, IProgrammableDataGenerator, IReadableDataSource, IWriteableDataSource, java.awt.datatransfer.Transferable
- All Known Implementing Classes:
- BooleanRelationalObjective, BuddingYeastPhenotypeObjective, GenericPhenotypeObjective, MetricObjective, MinkowskiObjective, Objective, ObjectiveHelper, ObjectiveTemplate, ScriptEvaluationObjective, WOSSObjective
public interface IObjective
- extends IProgrammableDataGenerator
A DataGenerator that takes a functional expression and a collection of data to produce an element.
This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.
- Author:
- Nicholas Allen
|
Field Summary |
static java.lang.String |
OPTION_OBJECTIVE
Option for the objective function |
static java.lang.String |
PROPERTY_OBJECTIVE_EDIT
Property key for notifications that a function has changed |
static java.lang.String |
RESOURCE_OBJECTIVES
Resource key for the list of available objective functions |
| Methods inherited from interface java.awt.datatransfer.Transferable |
getTransferData, getTransferDataFlavors, isDataFlavorSupported |
OPTION_OBJECTIVE
static final java.lang.String OPTION_OBJECTIVE
- Option for the objective function
- See Also:
- Constant Field Values
PROPERTY_OBJECTIVE_EDIT
static final java.lang.String PROPERTY_OBJECTIVE_EDIT
- Property key for notifications that a function has changed
- See Also:
- Constant Field Values
RESOURCE_OBJECTIVES
static final java.lang.String RESOURCE_OBJECTIVES
- Resource key for the list of available objective functions
- See Also:
- Constant Field Values
clear
void clear()
- Destroys all work done by this generator.
- Specified by:
clear in interface IEditableDataGenerator
getData
IDataGeneratorList getData()
- The set of data used.
getFunction
java.lang.String getFunction()
- The function used for the objective computation.
setData
void setData(IDataGeneratorList data)
- Sets the collection of data to draw from. The objective will never modify this data.
- Parameters:
data - Data
setFunction
void setFunction(java.lang.String function)
- Sets the function used to compute the objective.
- Parameters:
function - Textual description of a function