summaryrefslogtreecommitdiff
path: root/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-12-08 17:02:26 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2016-12-08 17:02:26 +0000
commitccc1ca066fa7c1fb35929eceb52f2f36179aea37 (patch)
tree0d3a407626c2074df39b5f4d5eb923498804465c /src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp
parent69907a03283337e76d7763f82250b4e2a6b8f631 (diff)
Remove inline from read_graph (now inline)
Remove Edge_t template (not needed) Add documentation on template params git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/distance_matrix_in_rips_module@1839 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: a011b11cddf1a20e29743e6b170dac054ac79c12
Diffstat (limited to 'src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp')
-rw-r--r--src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp b/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp
index 1dff4529..d1b8b2de 100644
--- a/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp
+++ b/src/Simplex_tree/example/simplex_tree_from_cliques_of_graph.cpp
@@ -35,7 +35,6 @@ typedef double Filtration_value;
typedef boost::adjacency_list < boost::vecS, boost::vecS, boost::undirectedS,
boost::property < vertex_filtration_t, Filtration_value >,
boost::property < edge_filtration_t, Filtration_value > > Graph_t;
-typedef std::pair< Vertex_handle, Vertex_handle > Edge_t;
int main(int argc, char * const argv[]) {
if (argc != 3) {
@@ -51,7 +50,7 @@ int main(int argc, char * const argv[]) {
Simplex_tree<> st;
start = clock();
- auto g = read_graph<Graph_t, Edge_t, Filtration_value, Vertex_handle>(filegraph);
+ auto g = read_graph<Graph_t, Filtration_value, Vertex_handle>(filegraph);
// insert the graph in the simplex tree as 1-skeleton
st.insert_graph(g);
end = clock();