12 if (invariants.
size() <= 1) {
13 sout <<
" #Points: " << invariants.
size();
15 sout <<
" #Points: " << invariants.
size();
16 sout <<
" Site Distances: {";
17 for (
int i = 0; i < invariants.
displacement().size(); i++) {
21 sout << std::setprecision(5) << invariants.
displacement()[i];
31 if (invariants.
size() <= 1) {
32 sout <<
" #Points: " << invariants.
size();
34 sout <<
" #Points: " << invariants.
size();
35 sout <<
" Site Distances: {";
36 for (
int i = 0; i < invariants.
displacement().size(); i++) {
40 sout << std::setprecision(5) << invariants.
displacement()[i];
Stores cluster invariants: number of sites and site distances.
int size() const
Number of elements in the cluster.
std::vector< double > const & displacement() const
const Access displacements between coordinates in the cluster, sorted in ascending order
Stores cluster invariants: number of sites and site distances (using robust_min_dist)
int size() const
Number of elements in the cluster.
std::vector< double > const & displacement() const
const Access displacements between coordinates in the cluster, sorted in ascending order,...
std::ostream & operator<<(std::ostream &_stream, const FormattedPrintable &_formatted)