summaryrefslogtreecommitdiff
path: root/lib/include/wolff/types.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2019-01-14 15:47:59 -0500
committerJaron Kent-Dobias <jaron@kent-dobias.com>2019-01-14 15:47:59 -0500
commit49ac78a6c04e215950bc9c0f97368605e63da15b (patch)
tree64b770c543a0c90bc7dcbc06ceaaa31e96e541ce /lib/include/wolff/types.h
parent994cbf1a3b611ff4c94ced3b1630e51fd249d7ed (diff)
downloadc++-49ac78a6c04e215950bc9c0f97368605e63da15b.tar.gz
c++-49ac78a6c04e215950bc9c0f97368605e63da15b.tar.bz2
c++-49ac78a6c04e215950bc9c0f97368605e63da15b.zip
Large refactoring around changes in the graph class.
- Graphs now use lists of references instead of vectors of indicies. - Vertices and edges have associated classes that can be given arbitrary properties via template specification. - All essential library headers have been combined into one, wolff.hpp.
Diffstat (limited to 'lib/include/wolff/types.h')
-rw-r--r--lib/include/wolff/types.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/include/wolff/types.h b/lib/include/wolff/types.h
deleted file mode 100644
index 5bbaa6d..0000000
--- a/lib/include/wolff/types.h
+++ /dev/null
@@ -1,32 +0,0 @@
-
-#ifndef WOLFF_TYPES_H
-#define WOLFF_TYPES_H
-
-#include <inttypes.h>
-
-typedef uint_fast32_t v_t; // vertex and edge indices
-typedef uint_fast8_t q_t; // enumerated states
-typedef uint_fast8_t D_t; // dimension
-typedef uint_fast16_t L_t; // linear size
-typedef uint_fast64_t N_t; // cycle iterator
-
-#define MAX_v UINT_FAST32_MAX
-#define MAX_q UINT_FAST8_MAX
-#define MAX_D UINT_FAST8_MAX
-#define MAX_L UINT_FAST16_MAX
-#define MAX_N UINT_FAST64_MAX
-
-#define PRIv PRIuFAST32
-#define PRIq PRIuFAST8
-#define PRID PRIuFAST8
-#define PRIL PRIuFAST16
-#define PRIN PRIuFAST64
-
-#define SCNv SCNuFAST32
-#define SCNq SCNuFAST8
-#define SCND SCNuFAST8
-#define SCNL SCNuFAST16
-#define SCNN SCNuFAST64
-
-#endif
-