Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

1035612 views
1
//
2
// types.h
3
// Bistellar
4
//
5
// Created by Alexander Thumm on 07.10.11.
6
// Copyright 2011 -. All rights reserved.
7
//
8
9
#ifndef Bistellar_types_h
10
#define Bistellar_types_h
11
12
#include <deque>
13
#include <utility>
14
15
class Face;
16
class BistellarMove;
17
18
// type used for vertices. The type in use must provide istream and ostream functionality, be comparable and storable in STL container classes.
19
typedef unsigned int vertex_t;
20
21
inline int vertex_t_compare(const void * v1, const void * v2)
22
{
23
return *(static_cast<const vertex_t *>(v1)) - *(static_cast<const vertex_t *>(v2));
24
}
25
26
// type used for face lists
27
typedef std::deque< Face > face_list_t;
28
29
// type used for bistellar move lists
30
typedef std::deque< BistellarMove > bistellar_move_list_t;
31
// type used for bistellar move option lists
32
typedef std::deque< std::pair< BistellarMove, bool> > bistellar_move_option_list_t;
33
34
35
// uncomment this for debug output
36
//#define Bistellar_debug_output
37
38
#endif
39
40