Public Types | |
enum | om_type { empty, alternating } |
Public Member Functions | |
OrientedMatroid (size_t, size_t) | |
virtual OrientedMatroid * | clone () const =0 |
size_t | getRank () const |
size_t | getNumElements () const |
virtual void | relabel (index_t, index_t)=0 |
virtual void | relabel (const Permutation &)=0 |
virtual void | reorient (index_t)=0 |
virtual void | reorient (const std::set< index_t > &)=0 |
virtual void | reorient (const Combination &)=0 |
virtual void | remove (index_t) |
virtual void | contract (index_t) |
virtual bool | operator== (const OrientedMatroid &) const =0 |
bool | equivalent (const OrientedMatroid &) |
Protected Attributes | |
size_t | m_rank |
size_t | m_numElements |
omc::OrientedMatroid::OrientedMatroid | ( | size_t | r, | |
size_t | n | |||
) | [inline] |
Constructor.
void omc::OrientedMatroid::contract | ( | index_t | i | ) | [inline, virtual] |
Single element contraction.
Reimplemented in omc::Chirotope, and omc::Circuits.
size_t omc::OrientedMatroid::getNumElements | ( | ) | const [inline] |
Get the number of elements of the oriented matroid.
size_t omc::OrientedMatroid::getRank | ( | ) | const [inline] |
Get the rank of the oriented matroid.
void omc::OrientedMatroid::remove | ( | index_t | i | ) | [inline, virtual] |
Single element deletion.
Reimplemented in omc::Chirotope, and omc::Circuits.