src/transport.rs

branch
dev
changeset 44
03251c546744
parent 43
aacd9af21b3a
child 45
5200e7090e06
--- a/src/transport.rs	Thu Jan 23 23:39:40 2025 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-/// Definitions related to optimal transport
-
-use crate::types::*;
-
-pub trait TransportLipschitz<Cost> {
-    /// Type of floats
-    type FloatType : Float;
-
-    /// Returns the transport Lipschitz factor of Self.
-    ///
-    /// If `Self` is a linear operator $A$ on $ℳ(Ω)$, and `Cost` represents the spatial
-    /// cost function $c$, this factor $L$ is such that, for all $0 ≤ λ ∈ ℳ(Ω^2)$,
-    /// $$
-    ///     \norm{A(π_\#^1-π_\#^0)λ}^2 ≤ L \norm{λ}_{ℳ(Ω^2)} ∫ c(x, y) dλ(x, y).
-    /// $$
-    fn transport_lipschitz_factor(&self, cost : Cost) -> Self::FloatType;
-}

mercurial