CoxIter  1.2
CoxIter - Computing invariants of hyperbolic Coxeter groups
graphs.product.set.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 #ifndef GRAPHSPRODUCTSET_H
24 #define GRAPHSPRODUCTSET_H
25 
36 #include <set>
37 #include <string>
38 #include <iterator>
39 
40 #include "graph.h"
41 #include "graphs.product.h"
42 
43 using namespace std;
44 
46 {
47  public:
48  unsigned int iRank;
49  set< Graph*, GraphPtrComp > graphs;
50 
51  public:
53  GraphsProductSet( const GraphsProduct& gp );
54 
60  vector< short unsigned int > get_iVertices( ) const;
61 
67  bool b_areVerticesSubsetOf( const GraphsProductSet& gp ) const;
68 
69  friend ostream& operator<<( ostream &o, const GraphsProductSet& gp );
70 };
71 
72 #endif // GRAPHSPRODUCTSET_H
set< Graph *, GraphPtrComp > graphs
Pointeurs vers les graphes qui constituent le produit.
Definition: graphs.product.set.h:49
unsigned int iRank
Rank of the graph.
Definition: graphs.product.set.h:48
: Un produit de graphs
Definition: graphs.product.h:45
Definition: graphs.product.set.h:45
ostream & operator<<(ostream &o, const CoxIter &g)
Definition: coxiter.cpp:1313