public interface ChirotopeFactory extends Factory<OMasChirotope>
NB: This library uses co-lexicographic ordering, not lexicograpghic ordering.
When using chirotopes from the literature you need to ensure that you know where they are using
lexicographic like Bibliography.björnerEtAl1999
or co-lexicographic like Bibliography.finschi2001
Modifier and Type | Method and Description |
---|---|
OMasChirotope |
construct(Chirotope chi)
Create an oriented matroid from a chirotope provided programmatically.
|
OMasChirotope |
construct(Collection<? extends Label> e,
Chirotope chi)
Create an oriented matroid from a chirotope provided programmatically, with given
element labels.
|
OMasChirotope |
fromCoLexicographic(int rank,
String chi)
Create an oriented matroid from its colexicographic representation as a series of +, -, 0s.
|
OMasChirotope |
fromLexicographic(int rank,
String chi)
Create an oriented matroid from its lexicographic representation as a series of +, -, 0s.
|
OMasChirotope construct(Chirotope chi)
chi
- This is accessed only in monotone increasing fashion, and is not assumed to be alternatingOMasChirotope construct(Collection<? extends Label> e, Chirotope chi)
e
- The elment labels taken in the order of their iterator.chi
- This is accessed only in monotone increasing fashion, and is not assumed to be alternatingOMasChirotope fromCoLexicographic(int rank, String chi)
rank
- The rank of the oriented matroid encoded in the chirotopechi
- The chirotope string, a sequence of + - or 0OMasChirotope fromLexicographic(int rank, String chi)
NB: this library uses colexicographic ordering throughout and lexicographic ordering is only available here, and at the two other listed methods.
rank
- The rank of the oriented matroid encoded in the chirotopechi
- The chirotope string, a sequence of + - or 0fromLexicographic(int, String)
,
FactoryFactory.fromLexicographic(int, int, String)
,
OMasChirotope.toLexicographicString()