Phoenix.Optimization
Overview
Class to hold information about a design variableInheritance

Declaration
Description
Class to hold information about a design variablePublic Member Functions
Properties
Properties inherited from IVariableName
Constructor & Destructor Documentation
DesignVariable()
name- string containing the name of the design variable
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variable
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variablestartValue- object containing the start value for the design variable
DesignVariable()
designVariable- DesignVariable containing the design variable to be copied.
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variableselectedAlphabet- DataTable containing the name value pairs associated with the discrete design variable.
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variablestartValue- object containing the start value for the design variableselectedAlphabet- DataTable containing the name value pairs associated with the discrete design variable.
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variablelowerBound- double containing the lower bound for the design variable orNaNif there is no lower bound.upperBound- double containing the upper bound for the design variable orNaNif there is no upper bound.
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variablestartValue- object containing the start value for the design variable.lowerBound- double containing the lower bound for the design variable orNaNif there is no lower bound.upperBound- double containing the upper bound for the design variable orNaNif there is no upper bound.
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variablestartValue- object containing the start value for the design variablelowerBound- double containing the lower bound for the design variable orNaNif there is no lower bound.upperBound- double containing the upper bound for the design variable orNaNif there is no upper bound.selectedAlphabet- DataTable containing the name value pairs associated with the discrete design variable.
DesignVariable()
uid- uniqie identifier of the design variable allows to keep track of itname- string containing the name of the design variablestartValue- object containing the start value for the design variablelowerBound- double containing the lower bound for the design variable orNaNif there is no lower bound.upperBound- double containing the upper bound for the design variable orNaNif there is no upper bound.selectedAlphabet- DataTable containing the name value pairs associated with the discrete design variable.alphabet- DataTable containing the full available name value pairs for the discrete design variable.
Member Function Documentation
BoundFromString
boundText- Bound as a string.
- Bound value.
BoundToString
bound- Bound value.
- Bound as a string.
CheckBounds
CheckLowerBoundValue
CheckMe
doTryToFix-
CheckStartValue
CheckUpperBoundValue
Equals
desVar- The DesignVariable object to compare with the current DesignVariable.
trueif the specified DesignVariable is equal to the current DesignVariable; otherwise,false.
Equals
obj- The object to compare with the current object.
trueif the specified Object is equal to the current Object; otherwise,false.
FixValue
o-
GetHashCode
DesignVariable.
Returns:
- A hash code for the current
DesignVariable.
IsValueValid
false for: "", null, NaN, “NaN”. Else returns true. Note: UT for this method are under PHXSolverTest::StaticMethodTests.
Parameters:
value-
operator!=
DesignVariable instances are considered not equal.
Parameters:
a- The firstDesignVariableto compare.b- The secondDesignVariableto compare.
trueif theDesignVariablesare not considered equal; otherwise,false.
operator==
DesignVariable instances are considered equal.
Parameters:
a- The firstDesignVariableto compare.b- The secondDesignVariableto compare.
trueif theDesignVariablesare considered equal; otherwise,false.
TryConvertToDouble
PHXSolverTest::StaticMethodTests.
Parameters:
o-
ValueFromString
valueText-
ValueToString
string.Empty for double Nan or Infinity
Parameters:
o-
Property Documentation
Alphabet
BestDesignValue
BestDesignValueGUI
BestLastDesignValueAsXmlAttr
IsDiscrete
IsMarked
LowerBound
NaN if there is no lower bound.
LowerBoundErrText
LowerBoundForCheck
LowerBoundGUI
LowerBoundText
ModelCenterValue
ModelCenterValueGUI
Name
NameErrText
SelectedAlphabet
StartValue
StartValueAsDouble
StartValueAsXmlAttr
StartValueBehavior
StartValueCalcGUI
StartValueErrText
StartValueGUI
StartValueRaw
StartValueRawText
Uid
UpperBound
NaN if there is no upper bound.