Loading...
Searching...
No Matches
Distance.cpp File Reference
#include "Distance.h"
#include "FarField.h"
#include "IRAAlign.h"
#include "MinImage.h"
#include "PairCutoff.h"
#include <algorithm>
#include <array>
#include <cfloat>
#include <cmath>
#include <limits>
#include <map>
#include <stdexcept>
#include <vector>
#include "../../backend/Macros.h"

Go to the source code of this file.

Namespaces

namespace  aux

Functions

std::pair< gpr::Coord, gpr::FieldMatrixIdx > aux::get_canonical_configuration (const gpr::Coord &x_in, const gpr::FieldMatrixIdx &types_in)
double aux::solve_assignment_problem (const Eigen::MatrixXd &cost_matrix)
 Solves the assignment problem using the Hungarian algorithm.
std::vector< int > aux::solve_assignment_indices (const Eigen::MatrixXd &cost_matrix)
 Like solve_assignment_problem, but returns the optimal assignment.
double aux::calculate_aligned_rmsd (const gpr::Coord &P, const gpr::Coord &Q)