#include <APPSPACK_Cache_Point.hpp>
Collaboration diagram for APPSPACK::Cache::Point:
Definition at line 56 of file APPSPACK_Cache_Point.hpp.
Public Member Functions | |
Point () | |
Empty constructor. | |
Point (const Vector &x_in) | |
Constructor. | |
Point (const Vector &x_in, const Value &f_in) | |
Constructor. | |
Point (const Point &source) | |
Copy constructor. | |
~Point () | |
Destructor. | |
void | copyData (const Point &source) |
Copy the relevant data from another cached point. | |
const Value & | getF () |
Extract data. | |
bool | operator> (const Point &pt) const |
Compare two Points, based on a lexicographic ordering of their coordinates. | |
bool | operator< (const Point &pt) const |
Reverse of operator>. | |
bool | operator!= (const Point &pt) const |
Compare two Points for non-equality within the given tolerance. | |
Static Public Member Functions | |
void | setStaticScaling (const Vector &scaling_in) |
Set the static Point::scaling vector. | |
void | setStaticTolerance (double tolerance_in) |
Set the static Point::tol value. | |
Static Public Attributes | |
Vector | scaling |
scaling of variables | |
double | tolerance = 0 |
comparison tolerance | |
Private Member Functions | |
void | checkSize () const |
Check that the size of this point matches that of the scaling. | |
void | checkSize (const Point &pt) const |
Check that the size of this point matches that of the given point. | |
Private Attributes | |
Vector * | xPtr |
pointer to data if this data is actually owned by the cached point | |
const Vector & | x |
Reference to the data, either internally or externally owned. | |
Value | f |
The function value. |
|
Empty constructor. Definition at line 43 of file APPSPACK_Cache_Point.cpp. |
|
Constructor.
References checkSize(), and APPSPACK::Vector. |
|
Constructor.
References checkSize(), and APPSPACK::Vector. |
|
Copy constructor.
References checkSize(), and APPSPACK::Vector. |
|
Destructor. Definition at line 74 of file APPSPACK_Cache_Point.cpp. References xPtr. |
|
Copy the relevant data from another cached point. Definition at line 79 of file APPSPACK_Cache_Point.cpp. References f. |
|
Extract data. Definition at line 84 of file APPSPACK_Cache_Point.cpp. References f. Referenced by APPSPACK::Cache::Manager::isCached(). |
|
Compare two Points, based on a lexicographic ordering of their coordinates. Let x denote the vector corresponding to this object and y denote the vector corresponding to the incoming Point. Then this operator returns true if
Here Otherwise, returns false. Definition at line 89 of file APPSPACK_Cache_Point.cpp. References checkSize(), scaling, tolerance, and x. |
|
Reverse of operator>. Definition at line 119 of file APPSPACK_Cache_Point.cpp. References checkSize(), scaling, tolerance, and x. |
|
Compare two Points for non-equality within the given tolerance. Let x denote the vector corresponding to this object and y denote the vector corresponding to the incoming Point. Then this operator returns true if
Here Otherwise, returns false. Definition at line 146 of file APPSPACK_Cache_Point.cpp. References checkSize(), scaling, tolerance, and x. |
|
Set the static Point::scaling vector. Definition at line 165 of file APPSPACK_Cache_Point.cpp. References scaling, and APPSPACK::Vector. |
|
Set the static Point::tol value. Definition at line 170 of file APPSPACK_Cache_Point.cpp. References tolerance. |
|
Check that the size of this point matches that of the scaling. Definition at line 177 of file APPSPACK_Cache_Point.cpp. Referenced by operator!=(), operator<(), operator>(), and Point(). |
|
Check that the size of this point matches that of the given point. Definition at line 187 of file APPSPACK_Cache_Point.cpp. References x. |
|
scaling of variables
Referenced by checkSize(), operator!=(), operator<(), operator>(), and setStaticScaling(). |
|
comparison tolerance Definition at line 41 of file APPSPACK_Cache_Point.cpp. Referenced by operator!=(), operator<(), operator>(), and setStaticTolerance(). |
|
pointer to data if this data is actually owned by the cached point Definition at line 158 of file APPSPACK_Cache_Point.hpp. Referenced by ~Point(). |
|
Reference to the data, either internally or externally owned. Definition at line 161 of file APPSPACK_Cache_Point.hpp. Referenced by checkSize(), operator!=(), operator<(), and operator>(). |
|
The function value. Definition at line 164 of file APPSPACK_Cache_Point.hpp. Referenced by copyData(), and getF(). |
© 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