CppAD: A C++ Algorithmic Differentiation Package
20130102
|
Helper class used by index_sort. More...
Public Member Functions | |
bool | operator< (const index_sort_element &other) const |
operator requried by std::sort | |
void | set_key (const Compare &value) |
set the key for this element | |
void | set_index (const size_t &index) |
set the index for this element | |
Compare | get_key (void) const |
get the key for this element | |
size_t | get_index (void) const |
get the index for this element | |
Private Attributes | |
Compare | key_ |
key used to determine position of this element | |
size_t | index_ |
index vlaue corresponding to this key |
Helper class used by index_sort.
Definition at line 95 of file index_sort.hpp.