From 5a78dc70afe172e8f38bff09639be21fc92b1fb4 Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Tue, 26 May 2020 11:42:51 +0200 Subject: license --- src/python/gudhi/clustering/_tomato.cc | 11 ++++++++++- src/python/gudhi/clustering/tomato.py | 10 +++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) (limited to 'src/python') diff --git a/src/python/gudhi/clustering/_tomato.cc b/src/python/gudhi/clustering/_tomato.cc index 638e1259..ce01834a 100644 --- a/src/python/gudhi/clustering/_tomato.cc +++ b/src/python/gudhi/clustering/_tomato.cc @@ -1,4 +1,13 @@ -// g++ -O3 -Wall -shared -fPIC `python3 -m pybind11 --includes` XXX.cpp -o tomato`python3-config --extension-suffix` +/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. + * See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details. + * Author(s): Marc Glisse + * + * Copyright (C) 2020 Inria + * + * Modification(s): + * - YYYY/MM Author: Description of the modification + */ + #include #include #include diff --git a/src/python/gudhi/clustering/tomato.py b/src/python/gudhi/clustering/tomato.py index 901a9399..29642662 100644 --- a/src/python/gudhi/clustering/tomato.py +++ b/src/python/gudhi/clustering/tomato.py @@ -1,10 +1,18 @@ +# This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT. +# See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details. +# Author(s): Marc Glisse +# +# Copyright (C) 2020 Inria +# +# Modification(s): +# - YYYY/MM Author: Description of the modification + import numpy from ..point_cloud.knn import KNearestNeighbors from ..point_cloud.dtm import DTMDensity from ._tomato import * # The fit/predict interface is not so well suited... -# FIXME: choose if they are called weight, density, filtration, etc and be consistent. class Tomato: -- cgit v1.2.3