// MolMod is a collection of molecular modelling tools for python.
// Copyright (C) 2007 - 2019 Toon Verstraelen <Toon.Verstraelen@UGent.be>, Center
// for Molecular Modeling (CMM), Ghent University, Ghent, Belgium; all rights
// reserved unless otherwise stated.
//
// This file is part of MolMod.
//
// MolMod is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 3
// of the License, or (at your option) any later version.
//
// MolMod is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, see <http://www.gnu.org/licenses/>
//
// --


#ifndef MOLMOD_SIMILARITY_H_
#define MOLMOD_SIMILARITY_H_


#include <stddef.h>

void similarity_table_labels(size_t n, long *labels, long* labels_table);
void similarity_table_distances(size_t n, double *distance_matrix, double *distances_table);
double similarity_measure(size_t n1, long *labels1, double *distances1, size_t n2, long *labels2,
                          double *distances2, double margin, double cutoff);


#endif  // MOLMOD_SIMILARITY_H_
