From 10366e331346dbcce6c9e0fe8651f0dfe9743a8f Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 12 Feb 2019 23:13:54 +0100 Subject: added the centerofmassendpoint and the genforesttree endpoint --- .gitignore | 1 + http.go | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index d3beee5..c3c927c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.o *.a *.so +*.csv # Folders _obj diff --git a/http.go b/http.go index fde7423..d19e1a0 100644 --- a/http.go +++ b/http.go @@ -85,3 +85,11 @@ func listOfStarsCsvEndpoint() []string { func updateTotalMassEndpoint(index int64) { updateTotalMass(index) } + +func updateCenterOfMassEndpoint(index int64) { + updateCenterOfMass(index) +} + +func genForestTreeEndpoint(index int64) string { + return genForestTree(index) +} -- cgit 1.4.1