TTK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
ttk::PersistenceDiagramAuctionActor Class Reference

#include <PersistenceDiagramAuctionActor.h>

Inheritance diagram for ttk::PersistenceDiagramAuctionActor:
ttk::Bidder ttk::Good

Public Member Functions

 PersistenceDiagramAuctionActor ()=default
 
 PersistenceDiagramAuctionActor (double x, double y, bool is_diagonal, int id)
 
void SetCoordinates (const double x, const double y)
 
void SetCriticalCoordinates (const float coords_x, const float coords_y, const float coords_z)
 
void SetCriticalCoordinates (const std::array< float, 3 > coords)
 
std::array< float, 3 > GetCriticalCoordinates () const
 
void GetKDTCoordinates (double geometricalFactor, std::array< double, 5 > &coordinates) const
 
void projectOnDiagonal ()
 
int getId () const
 
double getPersistence () const
 
bool isDiagonal () const
 
double cost (const PersistenceDiagramAuctionActor &g, const int wasserstein, const double geometricalFactor, const double nonMatchingWeight) const
 
double cost (const PersistenceDiagramAuctionActor *g, const int wasserstein, const double geometricalFactor, const double nonMatchingWeight) const
 
double getPairGeometricalLength (const int wasserstein) const
 

Public Attributes

double x_ {}
 
double y_ {}
 
int id_ {}
 
std::array< float, 3 > coords_ {}
 

Protected Attributes

bool is_diagonal_ {false}
 
std::array< double, 3 > geom_pair_length_ {}
 

Detailed Description

Definition at line 20 of file PersistenceDiagramAuctionActor.h.

Constructor & Destructor Documentation

◆ PersistenceDiagramAuctionActor() [1/2]

ttk::PersistenceDiagramAuctionActor::PersistenceDiagramAuctionActor ( )
default

◆ PersistenceDiagramAuctionActor() [2/2]

ttk::PersistenceDiagramAuctionActor::PersistenceDiagramAuctionActor ( double  x,
double  y,
bool  is_diagonal,
int  id 
)
inline

Definition at line 24 of file PersistenceDiagramAuctionActor.h.

Member Function Documentation

◆ cost() [1/2]

double ttk::PersistenceDiagramAuctionActor::cost ( const PersistenceDiagramAuctionActor g,
const int  wasserstein,
const double  geometricalFactor,
const double  nonMatchingWeight 
) const

Definition at line 174 of file PersistenceDiagramAuction.cpp.

◆ cost() [2/2]

double ttk::PersistenceDiagramAuctionActor::cost ( const PersistenceDiagramAuctionActor g,
const int  wasserstein,
const double  geometricalFactor,
const double  nonMatchingWeight 
) const
inline

Definition at line 85 of file PersistenceDiagramAuctionActor.h.

◆ GetCriticalCoordinates()

std::array< float, 3 > ttk::PersistenceDiagramAuctionActor::GetCriticalCoordinates ( ) const
inline

Definition at line 43 of file PersistenceDiagramAuctionActor.h.

◆ getId()

int ttk::PersistenceDiagramAuctionActor::getId ( ) const
inline

Definition at line 68 of file PersistenceDiagramAuctionActor.h.

◆ GetKDTCoordinates()

void ttk::PersistenceDiagramAuctionActor::GetKDTCoordinates ( double  geometricalFactor,
std::array< double, 5 > &  coordinates 
) const
inline

Definition at line 47 of file PersistenceDiagramAuctionActor.h.

◆ getPairGeometricalLength()

double ttk::PersistenceDiagramAuctionActor::getPairGeometricalLength ( const int  wasserstein) const
inline

Definition at line 92 of file PersistenceDiagramAuctionActor.h.

◆ getPersistence()

double ttk::PersistenceDiagramAuctionActor::getPersistence ( ) const
inline

Definition at line 72 of file PersistenceDiagramAuctionActor.h.

◆ isDiagonal()

bool ttk::PersistenceDiagramAuctionActor::isDiagonal ( ) const
inline

Definition at line 76 of file PersistenceDiagramAuctionActor.h.

◆ projectOnDiagonal()

void ttk::PersistenceDiagramAuctionActor::projectOnDiagonal ( )
inline

Definition at line 62 of file PersistenceDiagramAuctionActor.h.

◆ SetCoordinates()

void ttk::PersistenceDiagramAuctionActor::SetCoordinates ( const double  x,
const double  y 
)
inline

Definition at line 28 of file PersistenceDiagramAuctionActor.h.

◆ SetCriticalCoordinates() [1/2]

void ttk::PersistenceDiagramAuctionActor::SetCriticalCoordinates ( const float  coords_x,
const float  coords_y,
const float  coords_z 
)
inline

Definition at line 33 of file PersistenceDiagramAuctionActor.h.

◆ SetCriticalCoordinates() [2/2]

void ttk::PersistenceDiagramAuctionActor::SetCriticalCoordinates ( const std::array< float, 3 >  coords)
inline

Definition at line 39 of file PersistenceDiagramAuctionActor.h.

Member Data Documentation

◆ coords_

std::array<float, 3> ttk::PersistenceDiagramAuctionActor::coords_ {}

Definition at line 101 of file PersistenceDiagramAuctionActor.h.

◆ geom_pair_length_

std::array<double, 3> ttk::PersistenceDiagramAuctionActor::geom_pair_length_ {}
protected

Definition at line 105 of file PersistenceDiagramAuctionActor.h.

◆ id_

int ttk::PersistenceDiagramAuctionActor::id_ {}

Definition at line 100 of file PersistenceDiagramAuctionActor.h.

◆ is_diagonal_

bool ttk::PersistenceDiagramAuctionActor::is_diagonal_ {false}
protected

Definition at line 104 of file PersistenceDiagramAuctionActor.h.

◆ x_

double ttk::PersistenceDiagramAuctionActor::x_ {}

Definition at line 99 of file PersistenceDiagramAuctionActor.h.

◆ y_

double ttk::PersistenceDiagramAuctionActor::y_ {}

Definition at line 99 of file PersistenceDiagramAuctionActor.h.


The documentation for this class was generated from the following files: