|
CBMC
|
#include <union_find.h>
Inheritance diagram for union_find< T, hasht >:
Collaboration diagram for union_find< T, hasht >:Public Types | |
| using | size_type = typename numbering_typet::size_type |
| using | iterator = typename numbering_typet::iterator |
| using | const_iterator = typename numbering_typet::const_iterator |
Public Member Functions | |
| bool | make_union (const T &a, const T &b) |
| bool | make_union (const_iterator it_a, const_iterator it_b) |
| bool | same_set (const T &a, const T &b) const |
| bool | same_set (const_iterator it_a, const_iterator it_b) const |
| const T & | find (const_iterator it) const |
| const T & | find (const T &a) |
| size_type | find_number (const_iterator it) const |
| size_type | find_number (size_type a) const |
| size_type | find_number (const T &a) |
| bool | is_root_number (size_type a) const |
| bool | is_root (const T &a) const |
| bool | is_root (const_iterator it) const |
| size_type | number (const T &a) |
| void | clear () |
| void | isolate (const_iterator it) |
| void | isolate (const T &a) |
| optionalt< number_type > | get_number (const T &a) const |
| size_t | size () const |
| T & | operator[] (size_type t) |
| const T & | operator[] (size_type t) const |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
Protected Types | |
| using | subt = numbering_typet |
Protected Attributes | |
| unsigned_union_find | uuf |
Private Types | |
| using | numbering_typet = numberingt< T, hasht > |
| using | number_type = typename numbering_typet::number_type |
Private Attributes | |
| numbering_typet | numbers |
| T | The type of values stored. |
| hasht | The type of hash used for looking up the value numbering. |
Definition at line 138 of file union_find.h.
| using union_find< T, hasht >::const_iterator = typename numbering_typet::const_iterator |
Definition at line 152 of file union_find.h.
| using union_find< T, hasht >::iterator = typename numbering_typet::iterator |
Definition at line 150 of file union_find.h.
|
private |
Definition at line 144 of file union_find.h.
|
private |
Definition at line 140 of file union_find.h.
| using union_find< T, hasht >::size_type = typename numbering_typet::size_type |
Definition at line 148 of file union_find.h.
|
protected |
Definition at line 283 of file union_find.h.
|
inline |
Definition at line 273 of file union_find.h.
|
inline |
Definition at line 274 of file union_find.h.
|
inline |
Definition at line 275 of file union_find.h.
|
inline |
Definition at line 279 of file union_find.h.
|
inline |
Definition at line 247 of file union_find.h.
|
inline |
Definition at line 277 of file union_find.h.
|
inline |
Definition at line 278 of file union_find.h.
|
inline |
Definition at line 196 of file union_find.h.
|
inline |
Definition at line 191 of file union_find.h.
|
inline |
Definition at line 211 of file union_find.h.
|
inline |
Definition at line 201 of file union_find.h.
|
inline |
Definition at line 206 of file union_find.h.
|
inline |
Definition at line 263 of file union_find.h.
|
inline |
Definition at line 221 of file union_find.h.
|
inline |
Definition at line 230 of file union_find.h.
|
inline |
Definition at line 216 of file union_find.h.
|
inline |
Definition at line 258 of file union_find.h.
|
inline |
Definition at line 253 of file union_find.h.
|
inline |
Definition at line 155 of file union_find.h.
|
inline |
Definition at line 164 of file union_find.h.
|
inline |
Definition at line 235 of file union_find.h.
|
inline |
Definition at line 270 of file union_find.h.
|
inline |
Definition at line 271 of file union_find.h.
|
inline |
Definition at line 173 of file union_find.h.
|
inline |
Definition at line 186 of file union_find.h.
|
inline |
Definition at line 268 of file union_find.h.
|
private |
Definition at line 141 of file union_find.h.
|
protected |
Definition at line 282 of file union_find.h.