#include <SimplicialComplex.h>
Inheritance diagram for SimplicialComplex< d, Vertex_, SimplexData_, VertexPrinter_ >::Simplex:

Public Types | |
| typedef ISimplex::vertex_iterator | vertex_iterator |
| typedef vertex_iterator | const_iterator |
| typedef vertex_iterator | iterator |
Public Member Functions | |
| Simplex (const Simplex &other) | |
| Simplex (ISimplex *s) | |
| size_t | hash () const |
| std::string | toString () const |
| vertex_iterator | begin () const |
| vertex_iterator | end () const |
| Vertex * | operator[] (unsigned i) const |
| Vertex * | get (unsigned i) const |
| unsigned | indexOf (const Vertex *v) const |
| bool | has (const Vertex *v) const |
| template<class BinaryPredicate> | |
| bool | has (const Vertex *v, const BinaryPredicate &pred) const |
| bool | operator== (const Simplex &other) const |
| bool | operator!= (const Simplex &other) const |
Static Public Member Functions | |
| static unsigned | dim () |
Static Public Attributes | |
| static const unsigned | dimension = d |
Friends | |
| class | SimplicialComplex |
| class | OSimplex |
| struct | Flipper |
| class | Star |
| struct | OptSimplex |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
||||||||||
|
Simplices can only be copied, not created (except by the complex). |
|
||||||||||
|
Avoid this constructor. This constructor is only public for people who want to define their own stack in the traversal routines. |
|
|||||||||
|
|
|
|||||||||
|
Dimension of the simplex. |
|
|||||||||
|
|
|
||||||||||||||||||||
|
Check whether the simplex holds any vertex u on which pred(v, u) is true. |
|
|||||||||
|
A good hash function for use in any hash table, no need to mod a prime. |
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
For debugging, generate a string that with some effort may be used to identify this simplex. |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
Dimension of the simplex. |
1.4.6