TTK
|
#include <PersistenceDiagramAuctionActor.h>
Public Types | |
using | KDT = KDTree< double, std::array< double, 5 > > |
Public Member Functions | |
Bidder ()=default | |
Bidder (const double x, const double y, const bool is_diagonal, const int id) | |
Bidder (const PersistencePair &pair, const int id, const double lambda) | |
int | runBidding (GoodDiagram *goods, Good &diagonalGood, int wasserstein, double epsilon, double geometricalFactor, double nonMatchingWeight) |
int | runKDTBidding (GoodDiagram *goods, Good &diagonalGood, int wasserstein, double epsilon, double geometricalFactor, double nonMatchingWeight, KDT *kdt, const int kdt_index=0) |
int | runDiagonalBidding (GoodDiagram *goods, Good &twinGood, int wasserstein, double epsilon, double geometricalFactor, double nonMatchingWeight, std::priority_queue< std::pair< int, double >, std::vector< std::pair< int, double > >, Compare > &diagonal_queue) |
int | runDiagonalKDTBidding (GoodDiagram *goods, Good &diagonalGood, int wasserstein, double epsilon, double geometricalFactor, double nonMatchingWeight, std::vector< KDT * > &correspondence_kdt_map, std::priority_queue< std::pair< int, double >, std::vector< std::pair< int, double > >, Compare > &diagonal_queue, const int kdt_index=0) |
const Good & | getProperty () const |
void | setDiagonalPrice (const double price) |
void | setPricePaid (const double price) |
void | setProperty (const Good &g) |
void | resetProperty () |
void | setPositionInAuction (const int pos) |
int | getPositionInAuction () const |
Public Member Functions inherited from ttk::PersistenceDiagramAuctionActor | |
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 | diagonal_price_ {} |
Public Attributes inherited from ttk::PersistenceDiagramAuctionActor | |
double | x_ {} |
double | y_ {} |
int | id_ {} |
std::array< float, 3 > | coords_ {} |
Protected Attributes | |
bool | is_diagonal_ {} |
double | price_paid_ {} |
Good | property_ {} |
Protected Attributes inherited from ttk::PersistenceDiagramAuctionActor | |
bool | is_diagonal_ {false} |
std::array< double, 3 > | geom_pair_length_ {} |
Definition at line 196 of file PersistenceDiagramAuctionActor.h.
using ttk::Bidder::KDT = KDTree<double, std::array<double, 5> > |
Definition at line 248 of file PersistenceDiagramAuctionActor.h.
|
default |
|
inline |
Definition at line 201 of file PersistenceDiagramAuctionActor.h.
|
inline |
Definition at line 209 of file PersistenceDiagramAuctionActor.h.
|
inline |
Definition at line 309 of file PersistenceDiagramAuctionActor.h.
|
inline |
Definition at line 291 of file PersistenceDiagramAuctionActor.h.
|
inline |
Definition at line 303 of file PersistenceDiagramAuctionActor.h.
int ttk::Bidder::runBidding | ( | GoodDiagram * | goods, |
Good & | diagonalGood, | ||
int | wasserstein, | ||
double | epsilon, | ||
double | geometricalFactor, | ||
double | nonMatchingWeight | ||
) |
Definition at line 209 of file PersistenceDiagramAuction.cpp.
int ttk::Bidder::runDiagonalBidding | ( | GoodDiagram * | goods, |
Good & | twinGood, | ||
int | wasserstein, | ||
double | epsilon, | ||
double | geometricalFactor, | ||
double | nonMatchingWeight, | ||
std::priority_queue< std::pair< int, double >, std::vector< std::pair< int, double > >, Compare > & | diagonal_queue | ||
) |
Definition at line 267 of file PersistenceDiagramAuction.cpp.
int ttk::Bidder::runDiagonalKDTBidding | ( | GoodDiagram * | goods, |
Good & | diagonalGood, | ||
int | wasserstein, | ||
double | epsilon, | ||
double | geometricalFactor, | ||
double | nonMatchingWeight, | ||
std::vector< KDT * > & | correspondence_kdt_map, | ||
std::priority_queue< std::pair< int, double >, std::vector< std::pair< int, double > >, Compare > & | diagonal_queue, | ||
const int | kdt_index = 0 |
||
) |
Runs bidding of a diagonal bidder
Definition at line 382 of file PersistenceDiagramAuction.cpp.
int ttk::Bidder::runKDTBidding | ( | GoodDiagram * | goods, |
Good & | diagonalGood, | ||
int | wasserstein, | ||
double | epsilon, | ||
double | geometricalFactor, | ||
double | nonMatchingWeight, | ||
KDT * | kdt, | ||
const int | kdt_index = 0 |
||
) |
Runs bidding of a non-diagonal bidder
Definition at line 505 of file PersistenceDiagramAuction.cpp.
|
inline |
Definition at line 294 of file PersistenceDiagramAuctionActor.h.
|
inline |
Definition at line 306 of file PersistenceDiagramAuctionActor.h.
|
inline |
Definition at line 297 of file PersistenceDiagramAuctionActor.h.
|
inline |
Definition at line 300 of file PersistenceDiagramAuctionActor.h.
double ttk::Bidder::diagonal_price_ {} |
Definition at line 198 of file PersistenceDiagramAuctionActor.h.
|
protected |
Definition at line 314 of file PersistenceDiagramAuctionActor.h.
|
protected |
Definition at line 315 of file PersistenceDiagramAuctionActor.h.
|
protected |
Definition at line 316 of file PersistenceDiagramAuctionActor.h.