summaryrefslogtreecommitdiff
path: root/src/Persistence_representations/concept/Topological_data_with_averages.h
blob: b1b5ca80ee00cd0ad87903c1841dad9411feea1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*    This file is part of the Gudhi Library. The Gudhi library
 *    (Geometric Understanding in Higher Dimensions) is a generic C++
 *    library for computational topology.
 *
 *    Author(s):       Pawel Dlotko
 *
 *    Copyright (C) 2016 Inria
 *
 *    Modification(s):
 *      - YYYY/MM Author: Description of the modification
 */

#ifndef CONCEPT_TOPOLOGICAL_DATA_WITH_AVERAGES_H_
#define CONCEPT_TOPOLOGICAL_DATA_WITH_AVERAGES_H_

namespace Gudhi {

namespace Persistence_representations {

/** \brief The concept Topological_data_with_averages describes the requirements
  * for a type to implement a container that allows computations of averages.
  * Note that the average object after being computed is stored in *this.
  */
class Topological_data_with_averages {
 public:
  void compute_average(const std::vector<Topological_data_with_averages*>& to_average);
};

}  // namespace Persistence_representations

}  // namespace Gudhi

#endif  // CONCEPT_TOPOLOGICAL_DATA_WITH_AVERAGES_H_