﻿ott.geometry.graph.Graph
========================

.. currentmodule:: ott.geometry.graph

.. autoclass:: Graph
    
    .. rubric:: Methods

    .. autosummary::
        :toctree: .
    
        ~Graph.apply_cost
        ~Graph.apply_kernel
        ~Graph.apply_lse_kernel
        ~Graph.apply_square_cost
        ~Graph.apply_transport_from_potentials
        ~Graph.apply_transport_from_scalings
        ~Graph.copy_epsilon
        ~Graph.from_graph
        ~Graph.marginal_from_potentials
        ~Graph.marginal_from_scalings
        ~Graph.potential_from_scaling
        ~Graph.prepare_divergences
        ~Graph.scaling_from_potential
        ~Graph.set_scale_cost
        ~Graph.subset
        ~Graph.to_LRCGeometry
        ~Graph.transport_from_potentials
        ~Graph.transport_from_scalings
        ~Graph.update_potential
        ~Graph.update_scaling
    
    .. rubric:: Attributes

    .. autosummary::
        :toctree: .
    
        ~Graph.can_LRC
        ~Graph.cost_matrix
        ~Graph.cost_rank
        ~Graph.diag_cost
        ~Graph.dtype
        ~Graph.epsilon
        ~Graph.epsilon_scheduler
        ~Graph.inv_scale_cost
        ~Graph.is_online
        ~Graph.is_square
        ~Graph.is_squared_euclidean
        ~Graph.is_symmetric
        ~Graph.kernel_matrix
        ~Graph.mean_cost_matrix
        ~Graph.median_cost_matrix
        ~Graph.shape
        ~Graph.std_cost_matrix
    