45 for (
auto i = 0; i < n; ++i)
54 for (
auto i = 1; i < n; ++i)
61 Node::Iterator it(list);
62 for (
auto i = 0; i < n; ++i)
69 for (Node::Iterator it(p); it.has_curr(); it.next())
70 out << it.get_curr()->get_data() <<
" ";
79 cout <<
"usage: " <<
argv[0] <<
" n m i" <<
endl
81 <<
"Where n: number of items of big list" <<
endl
82 <<
" m: number of items of sublist to be inserted" <<
endl
83 <<
" i: position where the sublist will be inserted" <<
endl;
97 list->remove_all_and_delete();
WeightedDigraph::Node Node
size_t size_t int32_t * out
void append(Dlink *node) noexcept
Insert node before this.
Node belonging to a double circular linked list with header node.
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
void exit(const char *file, int line, const char *format,...)
Print a message and exit the program.
std::ostream & operator<<(std::ostream &osObject, const Field< T > &rightOp)
FooMap m(5, fst_unit_pair_hash, snd_unit_pair_hash)
Node * create_list_with_header(size_t n)
Node * create_list_without_header(size_t n)
Node * access(Node *list, size_t n)
Doubly linked list node with typed data.