Package edu.cmu.tetrad.util
Class ParamDescription
java.lang.Object
edu.cmu.tetrad.util.ParamDescription
Describes a parameter.
- Version:
- $Id: $Id
- Author:
- josephramsey, Zhou Yuan zhy19@pitt.edu
-
Constructor Summary
ConstructorsConstructorDescriptionParamDescription
(String paramName, String shortDescription, String longDescription, Serializable defaultValue) Constructor for ParamDescription.ParamDescription
(String paramName, String shortDescription, String longDescription, Serializable defaultValue, double lowerBound, double upperBound) Constructor for ParamDescription.ParamDescription
(String paramName, String shortDescription, String longDescription, Serializable defaultValue, int lowerBound, int upperBound) Constructor for ParamDescription. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fielddefaultValue
.Getter for the fieldlongDescription
.double
Getter for the fieldlowerBoundDouble
.int
Getter for the fieldlowerBoundInt
.long
Getter for the fieldlowerBoundLong
.Getter for the fieldparamName
.Getter for the fieldshortDescription
.double
Getter for the fieldupperBoundDouble
.int
Getter for the fieldupperBoundInt
.long
Getter for the fieldupperBoundLong
.void
setDefaultValue
(Serializable defaultValue) Setter for the fielddefaultValue
.void
setLongDescription
(String longDescription) Setter for the fieldlongDescription
.void
setLowerBoundDouble
(double lowerBoundDouble) Setter for the fieldlowerBoundDouble
.void
setLowerBoundInt
(int lowerBoundInt) Setter for the fieldlowerBoundInt
.void
setLowerBoundLong
(long lowerBoundLong) Setter for the fieldlowerBoundLong
.void
setParamName
(String paramName) Setter for the fieldparamName
.void
setShortDescription
(String shortDescription) Setter for the fieldshortDescription
.void
setUpperBoundDouble
(double upperBoundDouble) Setter for the fieldupperBoundDouble
.void
setUpperBoundInt
(int upperBoundInt) Setter for the fieldupperBoundInt
.void
setUpperBoundLong
(long upperBoundLong) Setter for the fieldupperBoundLong
.
-
Constructor Details
-
ParamDescription
public ParamDescription(String paramName, String shortDescription, String longDescription, Serializable defaultValue) Constructor for ParamDescription.
- Parameters:
paramName
- aString
objectshortDescription
- aString
objectlongDescription
- aString
objectdefaultValue
- aSerializable
object
-
ParamDescription
public ParamDescription(String paramName, String shortDescription, String longDescription, Serializable defaultValue, int lowerBound, int upperBound) Constructor for ParamDescription.
- Parameters:
paramName
- aString
objectshortDescription
- aString
objectlongDescription
- aString
objectdefaultValue
- aSerializable
objectlowerBound
- a intupperBound
- a int
-
ParamDescription
public ParamDescription(String paramName, String shortDescription, String longDescription, Serializable defaultValue, double lowerBound, double upperBound) Constructor for ParamDescription.
- Parameters:
paramName
- aString
objectshortDescription
- aString
objectlongDescription
- aString
objectdefaultValue
- aSerializable
objectlowerBound
- a doubleupperBound
- a double
-
-
Method Details
-
getParamName
-
setParamName
-
getShortDescription
-
setShortDescription
-
getLongDescription
-
setLongDescription
-
getDefaultValue
Getter for the field
defaultValue
.- Returns:
- a
Serializable
object
-
setDefaultValue
Setter for the field
defaultValue
.- Parameters:
defaultValue
- aSerializable
object
-
getLowerBoundDouble
public double getLowerBoundDouble()Getter for the field
lowerBoundDouble
.- Returns:
- a double
-
setLowerBoundDouble
public void setLowerBoundDouble(double lowerBoundDouble) Setter for the field
lowerBoundDouble
.- Parameters:
lowerBoundDouble
- a double
-
getUpperBoundDouble
public double getUpperBoundDouble()Getter for the field
upperBoundDouble
.- Returns:
- a double
-
setUpperBoundDouble
public void setUpperBoundDouble(double upperBoundDouble) Setter for the field
upperBoundDouble
.- Parameters:
upperBoundDouble
- a double
-
getLowerBoundInt
public int getLowerBoundInt()Getter for the field
lowerBoundInt
.- Returns:
- a int
-
setLowerBoundInt
public void setLowerBoundInt(int lowerBoundInt) Setter for the field
lowerBoundInt
.- Parameters:
lowerBoundInt
- a int
-
getUpperBoundInt
public int getUpperBoundInt()Getter for the field
upperBoundInt
.- Returns:
- a int
-
setUpperBoundInt
public void setUpperBoundInt(int upperBoundInt) Setter for the field
upperBoundInt
.- Parameters:
upperBoundInt
- a int
-
getLowerBoundLong
public long getLowerBoundLong()Getter for the field
lowerBoundLong
.- Returns:
- a long
-
setLowerBoundLong
public void setLowerBoundLong(long lowerBoundLong) Setter for the field
lowerBoundLong
.- Parameters:
lowerBoundLong
- a long
-
getUpperBoundLong
public long getUpperBoundLong()Getter for the field
upperBoundLong
.- Returns:
- a long
-
setUpperBoundLong
public void setUpperBoundLong(long upperBoundLong) Setter for the field
upperBoundLong
.- Parameters:
upperBoundLong
- a long
-