CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
size_t CppAD::local::sparse_list::reference_count ( size_t  i) const

Counts references to sets.

iis the index of the set that we are counting the references to.
if the set is empty, the return value is zero. Otherwise it is the number of sets that share the same linked list

Definition at line 119 of file sparse_list.hpp.

Referenced by binary_intersection(), binary_union(), and check_data_structure().