CoxIter  1.2
CoxIter - Computing invariants of hyperbolic Coxeter groups
gbd.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2013, 2014, 2015, 2016
3 Rafael Guglielmetti, rafael.guglielmetti@unifr.ch
4 */
5 
6 /*
7 This file is part of CoxIter.
8 
9 CoxIter is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as
11 published by the Free Software Foundation, either version 3 of the
12 License, or (at your option) any later version.
13 
14 CoxIter is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with CoxIter. If not, see <http://www.gnu.org/licenses/>.
21 */
22 
23 
24 
34 #ifndef GBD_H
35 #define GBD_H
36 
37 #include <string>
38 
39 using namespace std;
40 
41 #include "coxiter.h"
42 
43 struct NewVertex
44 {
45  string strLabel;
46  unsigned int iIndex;
47  unsigned int iOriginVertex;
48 };
49 
50 class GBD
51 {
52  private:
54  vector< vector<unsigned int> > iCox;
55  unsigned int iVerticesCount;
56 
57  unsigned int iVertex;
58 
59  vector< NewVertex > newVertices;
60  vector< vector<unsigned int> > iNewCox;
61  unsigned int iNewVerticesCount;
62 
63  string strError;
64 
65  public:
66  GBD( CoxIter* ci );
67 
68  bool removeVertex( const string& strVertexName );
69  void printMatrix( vector< vector< unsigned int > >* iMatrix );
70 
71  string get_strError( ) const;
72 };
73 
74 #endif // GBD_H
vector< vector< unsigned int > > iNewCox
New Coxeter matrix.
Definition: gbd.h:60
string strLabel
Definition: gbd.h:45
vector< NewVertex > newVertices
Definition: gbd.h:59
unsigned int iIndex
Definition: gbd.h:46
string strError
Definition: gbd.h:63
Definition: gbd.h:43
vector< vector< unsigned int > > iCox
Coxeter matrix.
Definition: gbd.h:54
unsigned int iNewVerticesCount
Definition: gbd.h:61
unsigned int iVertex
Index of the vertex.
Definition: gbd.h:57
Gal, Bonnafé-Dyer This part is still experimental!
Definition: gbd.h:50
unsigned int iVerticesCount
Number of vertices of the starting graph.
Definition: gbd.h:55
unsigned int iOriginVertex
Definition: gbd.h:47
Main class for the work.
Definition: coxiter.h:73
CoxIter * ci
Definition: gbd.h:53