#include <APPSPACK_Value.hpp>
Stores a function value, v, which may be infinite (or unknown).
Two function values and
are compared as follows:
Definition at line 58 of file APPSPACK_Value.hpp.
Public Member Functions | |
ostream & | leftshift (ostream &stream) const |
Print object to the given stream. | |
Constructors | |
Value () | |
Value (bool isValue_in, double value_in) | |
Value (double value_in) | |
Value (const Value &source) | |
Destructor | |
~Value () | |
Accessors | |
bool | getIsValue () const |
double | getValue () const |
Manipulators | |
void | operator= (const Value &source) |
void | operator= (double source) |
void | setValueTo (bool isValue_in, double value_in) |
void | setValueTo (double value_in) |
void | setValueToUnknown () |
Comparisons | |
bool | operator< (const Value &w) const |
bool | operator> (const Value &w) const |
bool | operator== (const Value &w) const |
bool | isSufficientDecrease (const Value &w, double rho) const |
Private Attributes | |
bool | isValue |
If true, there is a finite function value. Otherwise the function value is ![]() | |
double | value |
The function value (only has meaning if isValue is true). |
|
Sets v = |
|
|
|
|
|
Copy constructor Definition at line 58 of file APPSPACK_Value.cpp. |
|
Destructor Definition at line 64 of file APPSPACK_Value.cpp. |
|
Copy operator Definition at line 79 of file APPSPACK_Value.cpp. |
|
Copy from double Definition at line 85 of file APPSPACK_Value.cpp. |
|
See Value(bool isValue_in, double value_in) Definition at line 91 of file APPSPACK_Value.cpp. References isValue, and value. Referenced by APPSPACK::Conveyor::exchange(), APPSPACK::Cache::Manager::processInputLine(), APPSPACK::processTextInputFileLine(), and APPSPACK::Parameter::Entry::unpack(). |
|
See Value(double value_in) Definition at line 97 of file APPSPACK_Value.cpp. |
|
Reset to |
|
Return true if v < w; false otherwise. Definition at line 109 of file APPSPACK_Value.cpp. |
|
Return true if v > w; false otherwise. Definition at line 123 of file APPSPACK_Value.cpp. |
|
Return true if v = w; false otherwise. Definition at line 137 of file APPSPACK_Value.cpp. |
|
Return true if v < (w - rho); false otherwise. Definition at line 153 of file APPSPACK_Value.cpp. Referenced by APPSPACK::Point::isSufficientDecrease(). |
|
Print object to the given stream. Definition at line 168 of file APPSPACK_Value.cpp. References isValue, and value. Referenced by operator<<(). |
|
If true, there is a finite function value. Otherwise the function value is Definition at line 142 of file APPSPACK_Value.hpp. Referenced by leftshift(), operator<(), operator=(), operator==(), operator>(), setValueTo(), and setValueToUnknown(). |
|
The function value (only has meaning if isValue is true). Definition at line 145 of file APPSPACK_Value.hpp. Referenced by leftshift(), operator<(), operator=(), operator==(), operator>(), setValueTo(), and setValueToUnknown(). |
© Sandia Corporation | Site Contact | Privacy and Security
Generated on Wed Dec 14 18:41:05 2005 for APPSPACK 4.0.2 by
1.3.8 written by Dimitri van Heesch,
© 1997-2002