TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
sparse_distance_matrix Struct Reference

Public Member Functions

 sparse_distance_matrix (std::vector< std::vector< index_diameter_t > > &&_neighbors, index_t _num_edges)
 
template<typename DistanceMatrix >
 sparse_distance_matrix (const DistanceMatrix &mat, const value_t threshold)
 
size_t size () const
 

Public Attributes

std::vector< std::vector< index_diameter_t > > neighbors
 
index_t num_edges
 
std::vector< std::vector< index_diameter_t >::const_reverse_iterator > neighbor_it
 
std::vector< std::vector< index_diameter_t >::const_reverse_iterator > neighbor_end
 

Detailed Description

Definition at line 393 of file ripserpy.cpp.

Constructor & Destructor Documentation

◆ sparse_distance_matrix() [1/2]

sparse_distance_matrix::sparse_distance_matrix ( std::vector< std::vector< index_diameter_t > > &&  _neighbors,
index_t  _num_edges 
)
inline

Definition at line 402 of file ripserpy.cpp.

◆ sparse_distance_matrix() [2/2]

template<typename DistanceMatrix >
sparse_distance_matrix::sparse_distance_matrix ( const DistanceMatrix &  mat,
const value_t  threshold 
)
inline

Definition at line 408 of file ripserpy.cpp.

Member Function Documentation

◆ size()

size_t sparse_distance_matrix::size ( ) const
inline

Definition at line 418 of file ripserpy.cpp.

Member Data Documentation

◆ neighbor_end

std::vector<std::vector<index_diameter_t>::const_reverse_iterator> sparse_distance_matrix::neighbor_end
mutable

Definition at line 400 of file ripserpy.cpp.

◆ neighbor_it

std::vector<std::vector<index_diameter_t>::const_reverse_iterator> sparse_distance_matrix::neighbor_it
mutable

Definition at line 398 of file ripserpy.cpp.

◆ neighbors

std::vector<std::vector<index_diameter_t> > sparse_distance_matrix::neighbors

Definition at line 394 of file ripserpy.cpp.

◆ num_edges

index_t sparse_distance_matrix::num_edges

Definition at line 395 of file ripserpy.cpp.


The documentation for this struct was generated from the following file: