81 cerr <<
"Error: n must be a positive integer." <<
endl;
87 for (
int i = 0; i < n; ++i)
94 for (
int i = 0; i < n; ++i)
101 cout <<
"Lista de " << sz <<
" elementos partida en dos" <<
endl;
132 cout <<
"****************" <<
endl;
136 for (
int i = 0; i < n; ++i)
143 cout <<
"Mostrando todos los elementos .. " <<
endl;
Iterator on the items of list.
Doubly-linked list (defined in tpl_dynList.H).
T & insert(const T &item)
T & append(const T &item)
DynList & reverse() noexcept
Generic filter iterator wrapper.
Slinknc * get_curr() const
bool has_curr() const noexcept
Single linked list of nodes.
void remove_all_and_delete() noexcept
size_t reverse() noexcept
It inverts all list elements. It returns list size.
constexpr bool is_empty() const noexcept
void cut(Slinknc *link, HTList &list) noexcept
It cuts 'this' over 'link' element and it puts all.
void append(Slinknc *link) noexcept
size_t split_list(HTList &l, HTList &r) noexcept
It divides 'this' into two equal lists without modifying.
void insert(Slinknc *link) noexcept
T & get_data() noexcept
Return a modifiable reference to the data.
Generic filter iterator wrapper for Aleph containers.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Singly linked list implementations with head-tail access.
Main namespace for Aleph-w library functions.
and
Check uniqueness with explicit hash + equality functors.
bool operator()(int i) const
Filter_Iterator< DynList< int >, DynList< int >::Iterator, Par > It