41 #include <LEP/mcb/config.h> 44 #include <LEDA/system/basic.h> 45 #include <LEDA/core/list.h> 46 #include <LEDA/core/d_int_set.h> 47 #include <LEDA/system/error.h> 48 #include <LEDA/system/assert.h> 50 #include <LEDA/basic.h> 51 #include <LEDA/list.h> 52 #include <LEDA/d_int_set.h> 53 #include <LEDA/error.h> 54 #include <LEDA/assert.h> 62 #if defined(LEDA_NAMESPACE) 64 using leda::list_item;
65 using leda::error_handler;
66 using leda::d_int_set;
143 #if (__LEDA__ >= 500) 187 d_int_set
operator%(
const d_int_set& a )
const;
245 void print( std::ostream & o )
const;
271 int pop() {
return l.pop(); }
285 bool empty()
const {
return l.empty(); }
290 int size( )
const {
return l.size(); }
300 list_item
first( )
const {
return l.first(); }
308 list_item
last( )
const {
return l.last(); }
315 list_item
succ( list_item it )
const {
return l.succ(it); }
322 list_item
pred( list_item it )
const {
return l.pred(it); }
329 int index( list_item it )
const {
return l.contents(it); }
336 int inf( list_item it )
const {
return l.contents(it); }
339 typedef list_item item;
341 item first_item()
const {
return l.first(); }
342 item last_item()
const {
return l.last(); }
343 item next_item(item it)
const {
return it ? l.succ(it) : 0; }
spvecgf2 intersect(const spvecgf2 &a) const
std::istream & operator>>(std::istream &o, spvecgf2 &v)
Definition of edge numbering.
A sparse vector with elements in GF2.
Definition: spvecgf2.h:112
list_item first() const
Definition: spvecgf2.h:300
bool empty() const
Definition: spvecgf2.h:285
int index(list_item it) const
Definition: spvecgf2.h:329
Definition: spvecgf2.h:369
spvecgf2 operator%(const spvecgf2 &a) const
The main package namespace.
int operator*(const spvecgf2 &a) const
spvecgf2 & operator-=(const spvecgf2 &a)
list_item last() const
Definition: spvecgf2.h:308
Basic arithmetic definitions.
spvecgf2 & operator=(const spvecgf2 &i)
spvecgf2 operator+(const spvecgf2 &a) const
d_int_set to_d_int_set() const
list_item pred(list_item it) const
Definition: spvecgf2.h:322
list_item succ(list_item it) const
Definition: spvecgf2.h:315
spvecgf2 & operator%=(const spvecgf2 &a)
void add(const spvecgf2 &a)
void print(std::ostream &o) const
int pop()
Definition: spvecgf2.h:271
spvecgf2 operator-() const
int size() const
Definition: spvecgf2.h:290
void clear()
Definition: spvecgf2.h:240
int inf(list_item it) const
Definition: spvecgf2.h:336
spvecgf2 & operator+=(const spvecgf2 &a)
void sort()
Definition: spvecgf2.h:278
list< int > to_list() const
Definition: spvecgf2.h:235
std::ostream & operator<<(std::ostream &o, const spvecgf2 &v)