Classes | |
class | basis_iterator |
Public Member Functions | |
Chirotope (size_t, size_t, OrientedMatroid::om_type) | |
Chirotope (size_t, size_t, std::string) | |
Chirotope (const Chirotope &) | |
Chirotope * | clone () const |
sign_t | getSign (const Tuple &) const |
sign_t | getSign (const std::string &) const |
void | setSign (const Tuple &, sign_t) |
void | setSign (const std::string &, sign_t) |
void | setSigns (std::string) |
void | relabel (index_t, index_t) |
void | relabel (const Permutation &) |
void | reorient (index_t) |
void | reorient (const std::set< index_t > &) |
void | reorient (const Combination &) |
void | remove (index_t) |
void | contract (index_t) |
bool | operator== (const OrientedMatroid &) const |
bool | verify () |
basis_iterator | basis_begin () const |
basis_iterator | basis_end () const |
Protected Attributes | |
SignedSet | m_Sign |
Friends | |
std::ostream & | operator<< (std::ostream &, Chirotope &) |
std::istream & | operator>> (std::istream &, Chirotope &) |
omc::Chirotope::Chirotope | ( | size_t | r, | |
size_t | n, | |||
OrientedMatroid::om_type | omt = OrientedMatroid::empty | |||
) | [inline] |
Constructor: blank chirotope (every sign is 0).
omc::Chirotope::Chirotope | ( | size_t | r, | |
size_t | n, | |||
std::string | signs | |||
) | [inline] |
Constructor: from a string of signs.
omc::Chirotope::Chirotope | ( | const Chirotope & | C | ) | [inline] |
Copy constructor.
Chirotope::basis_iterator omc::Chirotope::basis_begin | ( | ) | const |
Get the first basis iterator.
Chirotope::basis_iterator omc::Chirotope::basis_end | ( | ) | const |
Get the end basis iterator.
Chirotope * omc::Chirotope::clone | ( | ) | const [inline, virtual] |
"Virtual constructor" of OrientedMatroid.
Implements omc::OrientedMatroid.
void omc::Chirotope::contract | ( | index_t | i | ) | [virtual] |
Single element contraction.
Reimplemented from omc::OrientedMatroid.
sign_t omc::Chirotope::getSign | ( | const std::string & | s | ) | const |
Get the sign of an r-tuple (represented by a string).
sign_t omc::Chirotope::getSign | ( | const Tuple & | T | ) | const |
Get the sign of an r-tuple.
bool omc::Chirotope::operator== | ( | const OrientedMatroid & | Om | ) | const |
Operator ==.
void omc::Chirotope::relabel | ( | const Permutation & | perm | ) | [virtual] |
Relabel using a given permutation.
Implements omc::OrientedMatroid.
void omc::Chirotope::relabel | ( | index_t | i, | |
index_t | j | |||
) | [virtual] |
Relabel a pair of indices.
Implements omc::OrientedMatroid.
void omc::Chirotope::remove | ( | index_t | i | ) | [virtual] |
Single element deletion.
Reimplemented from omc::OrientedMatroid.
void omc::Chirotope::reorient | ( | const Combination & | comb | ) | [virtual] |
Reorient a set of elements specified by a Combination object.
Implements omc::OrientedMatroid.
void omc::Chirotope::reorient | ( | const std::set< index_t > & | I | ) | [virtual] |
Reorient a set of elements specified by a set.
Implements omc::OrientedMatroid.
void omc::Chirotope::reorient | ( | index_t | i | ) | [virtual] |
Reorient a single element.
Implements omc::OrientedMatroid.
void omc::Chirotope::setSign | ( | const std::string & | s, | |
sign_t | sign | |||
) |
Set the sign of an r-tuple (represented by a string).
void omc::Chirotope::setSign | ( | const Tuple & | T, | |
sign_t | sign | |||
) |
Set the sign of an r-tuple (represented by a string).
void omc::Chirotope::setSigns | ( | std::string | signs | ) |
Set the signs.
bool omc::Chirotope::verify | ( | ) | [virtual] |
Verify if it is a legal chirotope, i.e., check if the chirotope axioms are satified.
Implements omc::Verifiable.