[package]
edition = "2021"
name = "wass"
version = "0.1.4"
authors = ["Arc <attobop@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optimal transport: Wasserstein distance, Sinkhorn algorithm, and Sinkhorn divergence"
homepage = "https://github.com/arclabs561/wass"
documentation = "https://docs.rs/wass"
readme = "README.md"
keywords = [
"optimal-transport",
"wasserstein",
"sinkhorn",
"divergence",
]
categories = [
"algorithms",
"science",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/arclabs561/wass"
[features]
default = []
simd = ["dep:innr"]
[lib]
name = "wass"
path = "src/lib.rs"
[[example]]
name = "color_transfer"
path = "examples/color_transfer.rs"
[[example]]
name = "document_alignment_demo"
path = "examples/document_alignment_demo.rs"
[[example]]
name = "gromov_wasserstein_graph_match"
path = "examples/gromov_wasserstein_graph_match.rs"
[[example]]
name = "noisy_ocr_matching"
path = "examples/noisy_ocr_matching.rs"
[[example]]
name = "ot_clustering"
path = "examples/ot_clustering.rs"
[[example]]
name = "point_cloud_registration"
path = "examples/point_cloud_registration.rs"
[[example]]
name = "sinkhorn_divergence_same_support"
path = "examples/sinkhorn_divergence_same_support.rs"
[[example]]
name = "sparse_vs_sinkhorn"
path = "examples/sparse_vs_sinkhorn.rs"
[[example]]
name = "unbalanced_outlier_tradeoff"
path = "examples/unbalanced_outlier_tradeoff.rs"
[[example]]
name = "unbalanced_sinkhorn_mass_mismatch"
path = "examples/unbalanced_sinkhorn_mass_mismatch.rs"
[[test]]
name = "noisy_ocr_expected_matches_e2e"
path = "tests/noisy_ocr_expected_matches_e2e.rs"
[[test]]
name = "sinkhorn_divergence_convexity_e2e"
path = "tests/sinkhorn_divergence_convexity_e2e.rs"
[[test]]
name = "sinkhorn_divergence_cost_shift_invariant_e2e"
path = "tests/sinkhorn_divergence_cost_shift_invariant_e2e.rs"
[[test]]
name = "sinkhorn_divergence_e2e"
path = "tests/sinkhorn_divergence_e2e.rs"
[[test]]
name = "sinkhorn_divergence_gaussian_shift_e2e"
path = "tests/sinkhorn_divergence_gaussian_shift_e2e.rs"
[[test]]
name = "sinkhorn_divergence_general_e2e"
path = "tests/sinkhorn_divergence_general_e2e.rs"
[[test]]
name = "sinkhorn_log_zeros_e2e"
path = "tests/sinkhorn_log_zeros_e2e.rs"
[[test]]
name = "unbalanced_divergence_symmetry_e2e"
path = "tests/unbalanced_divergence_symmetry_e2e.rs"
[[test]]
name = "unbalanced_divergence_zero_diagonal_sparse_e2e"
path = "tests/unbalanced_divergence_zero_diagonal_sparse_e2e.rs"
[[test]]
name = "unbalanced_outlier_tradeoff_e2e"
path = "tests/unbalanced_outlier_tradeoff_e2e.rs"
[[test]]
name = "unbalanced_plan_mass_monotone_in_rho_e2e"
path = "tests/unbalanced_plan_mass_monotone_in_rho_e2e.rs"
[[test]]
name = "unbalanced_sinkhorn_e2e"
path = "tests/unbalanced_sinkhorn_e2e.rs"
[dependencies.innr]
version = "0.1.0"
optional = true
[dependencies.ndarray]
version = "0.16"
[dependencies.rand]
version = "0.9"
[dependencies.rand_chacha]
version = "0.9"
[dependencies.rand_distr]
version = "0.5"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.clump]
version = "0.4"
[dev-dependencies.proptest]
version = "1.5"