|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.core.setupgenerator.AbstractParameter
weka.core.setupgenerator.MathParameter
public class MathParameter
Container class for search parameters.
| Field Summary | |
|---|---|
protected double |
m_Base
the base. |
protected String |
m_Expression
The expression for the property. |
protected double |
m_Max
the maximum. |
protected double |
m_Min
the minimum. |
protected double |
m_Step
the step. |
| Fields inherited from class weka.core.setupgenerator.AbstractParameter |
|---|
m_Property |
| Constructor Summary | |
|---|---|
MathParameter()
|
|
| Method Summary | |
|---|---|
String |
baseTipText()
Returns the tip text for this property. |
String |
expressionTipText()
Returns the tip text for this property. |
double |
getBase()
Get the value of the base. |
String |
getExpression()
Get the expression. |
double |
getMax()
Get the value of the Maximum. |
double |
getMin()
Get the value of the minimum. |
String[] |
getOptions()
returns the options of the current setup. |
double |
getStep()
Get the value of the step size. |
String |
globalInfo()
Returns a string describing the object. |
Enumeration |
listOptions()
Gets an enumeration describing the available options. |
String |
maxTipText()
Returns the tip text for this property. |
String |
minTipText()
Returns the tip text for this property. |
void |
setBase(double value)
Set the value of the base. |
void |
setExpression(String value)
Set the expression. |
void |
setMax(double value)
Set the value of the Maximum. |
void |
setMin(double value)
Set the value of the minimum. |
void |
setOptions(String[] options)
Parses the options for this object. |
void |
setStep(double value)
Set the value of the step size. |
String |
stepTipText()
Returns the tip text for this property. |
String |
toString()
Returns a string representation of the search parameter. |
| Methods inherited from class weka.core.setupgenerator.AbstractParameter |
|---|
clone, getProperty, propertyTipText, setProperty, typeTipText |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected double m_Min
protected double m_Max
protected double m_Step
protected double m_Base
protected String m_Expression
MathematicalExpression,
MathExpression| Constructor Detail |
|---|
public MathParameter()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractParameterpublic Enumeration listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class AbstractParameterpublic String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class AbstractParameter
public void setOptions(String[] options)
throws Exception
setOptions in interface weka.core.OptionHandlersetOptions in class AbstractParameteroptions - the options to use
Exception - if setting of options failspublic String minTipText()
public double getMin()
public void setMin(double value)
value - Value to use as minimum.public String maxTipText()
public double getMax()
public void setMax(double value)
value - Value to use as Maximum.public String stepTipText()
public double getStep()
public void setStep(double value)
value - Value to use as the step size.public String baseTipText()
public double getBase()
public void setBase(double value)
value - Value to use as the base.public String expressionTipText()
public String getExpression()
public void setExpression(String value)
value - Expression.public String toString()
toString in class AbstractParameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||