Geogram
Version 1.9.1-rc
A programming library of geometric algorithms
|
Solver for semi-discrete optimal transport in 2d. More...
#include <exploragram/basic/common.h>
#include <exploragram/optimal_transport/optimal_transport.h>
#include <geogram/voronoi/generic_RVD_polygon.h>
Go to the source code of this file.
Classes | |
class | GEO::OptimalTransportMap2d |
Computes semi-discrete optimal transport maps. More... | |
Namespaces | |
GEO | |
Global Vorpaline namespace. | |
Functions | |
void EXPLORAGRAM_API | GEO::compute_Laguerre_centroids_2d (Mesh *omega, index_t nb_points, const double *points, double *centroids, Mesh *RVD=nullptr, bool verbose=false, index_t nb_air_particles=0, const double *air_particles=nullptr, index_t air_particles_stride=0, double air_fraction=0.0, const double *weights_in=nullptr, double *weights_out=nullptr, index_t nb_iter=1000) |
Computes the centroids of the Laguerre cells that correspond to optimal transport in 2D. More... | |
Solver for semi-discrete optimal transport in 2d.
Definition in file optimal_transport_2d.h.