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

#include <PDClustering.h>

Inheritance diagram for ttk::PDClustering:
ttk::Debug ttk::BaseClass

Public Member Functions

 PDClustering ()
 
 ~PDClustering () override=default
 
std::vector< int > execute (std::vector< DiagramType > &final_centroids, std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &all_matchings)
 
std::array< double, 3 > getDistances () const
 
double getMostPersistent (int type=-1)
 
std::vector< std::vector< int > > get_centroids_sizes ()
 
double getLessPersistent (int type=-1)
 
std::vector< std::vector< double > > getMinDiagonalPrices ()
 
std::vector< std::vector< double > > getMinPrices ()
 
void correctMatchings (std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &previous_matchings)
 
double computeDistance (const BidderDiagram &D1, const BidderDiagram &D2, const double delta_lim)
 
double computeDistance (const BidderDiagram &D1, const GoodDiagram &D2, const double delta_lim)
 
double computeDistance (BidderDiagram *const D1, const GoodDiagram *const D2, const double delta_lim)
 
double computeDistance (const GoodDiagram &D1, const GoodDiagram &D2, const double delta_lim)
 
GoodDiagram centroidWithZeroPrices (const GoodDiagram &centroid)
 
BidderDiagram centroidToDiagram (const GoodDiagram &centroid)
 
GoodDiagram diagramToCentroid (const BidderDiagram &diagram)
 
BidderDiagram diagramWithZeroPrices (const BidderDiagram &diagram)
 
void setBidderDiagrams ()
 
void initializeEmptyClusters ()
 
void initializeCentroids ()
 
void initializeCentroidsKMeanspp ()
 
void initializeAcceleratedKMeans ()
 
void initializeBarycenterComputers (std::vector< double > &min_persistence)
 
void printDistancesToFile ()
 
void printMatchings (std::vector< std::vector< std::vector< MatchingType > > >)
 
void printRealDistancesToFile ()
 
void printPricesToFile (int)
 
double computeRealCost ()
 
std::vector< double > enrichCurrentBidderDiagrams (std::vector< double > &previous_min_persistence, std::vector< double > &min_persistence, std::vector< std::vector< double > > &initial_diagonal_prices, std::vector< std::vector< double > > &initial_off_diagonal_prices, std::vector< int > &min_points_to_add, bool add_points_to_barycenter, bool first_enrichment)
 
std::vector< std::vector< double > > getDistanceMatrix ()
 
void getCentroidDistanceMatrix ()
 
void computeDistanceToCentroid ()
 
void updateClusters ()
 
void invertClusters ()
 
void invertInverseClusters ()
 
void computeBarycenterForTwoGlobal (std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &)
 
void computeBarycenterForTwo (std::vector< std::vector< MatchingType > > &matchings, std::vector< std::vector< int > > &bidders_ids, std::vector< BidderDiagram > &current_bidder_diagrams, std::vector< BidderDiagram > &bidder_diagrams, GoodDiagram &barycenter)
 
void acceleratedUpdateClusters ()
 
std::vector< double > updateCentroidsPosition (std::vector< std::vector< double > > *min_price, std::vector< std::vector< double > > *min_diag_price, std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &all_matchings, int only_matchings)
 
void resetDosToOriginalValues ()
 
int setDiagrams (std::vector< DiagramType > *data_min, std::vector< DiagramType > *data_saddle, std::vector< DiagramType > *data_max)
 
int setDos (bool doMin, bool doSad, bool doMax)
 
int setNumberOfInputs (int numberOfInputs)
 
int setK (const int k)
 
void setWasserstein (const int &wasserstein)
 
void setUseProgressive (const bool use_progressive)
 
void setKMeanspp (const bool use_kmeanspp)
 
void setUseKDTree (const bool use_kdtree)
 
void setAccelerated (const bool use_accelerated)
 
void setTimeLimit (const double time_limit)
 
void setGeometricalFactor (const double geometrical_factor)
 
void setLambda (const double lambda)
 
void setForceUseOfAlgorithm (const bool forceUseOfAlgorithm)
 
void setDeterministic (const bool deterministic)
 
void setUseDeltaLim (const bool UseDeltaLim)
 
void setDistanceWritingOptions (const int distanceWritingOptions)
 
void setDeltaLim (const double deltaLim)
 
void setNonMatchingWeight (double nonMatchingWeight)
 
void printClustering ()
 
void printOldClustering ()
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Protected Attributes

std::vector< PDBarycenterbarycenter_computer_min_ {}
 
std::vector< PDBarycenterbarycenter_computer_sad_ {}
 
std::vector< PDBarycenterbarycenter_computer_max_ {}
 
bool barycenter_inputs_reset_flag
 
bool precision_criterion_ {false}
 
bool precision_max_ {false}
 
bool precision_min_ {false}
 
bool precision_sad_ {false}
 
bool forceUseOfAlgorithm_ {false}
 
bool deterministic_ {true}
 
int wasserstein_ {2}
 
double geometrical_factor_ {1.0}
 
double deltaLim_
 
bool UseDeltaLim_ {false}
 
int distanceWritingOptions_ {0}
 
double lambda_
 
double nonMatchingWeight_ = 1.0
 
int k_
 
int numberOfInputs_
 
bool use_progressive_ {true}
 
bool use_accelerated_
 
bool use_kmeanspp_
 
bool use_kdtree_
 
double time_limit_ {std::numeric_limits<double>::max()}
 
double epsilon_min_ {1e-8}
 
std::array< double, 3 > epsilon_
 
double cost_
 
double cost_min_ {0.0}
 
double cost_sad_ {0.0}
 
double cost_max_ {0.0}
 
std::vector< std::vector< int > > current_bidder_ids_min_
 
std::vector< std::vector< int > > current_bidder_ids_sad_
 
std::vector< std::vector< int > > current_bidder_ids_max_
 
std::vector< DiagramType > * inputDiagramsMin_
 
std::vector< DiagramType > * inputDiagramsSaddle_
 
std::vector< DiagramType > * inputDiagramsMax_
 
std::array< bool, 3 > original_dos
 
bool do_min_
 
std::vector< BidderDiagrambidder_diagrams_min_
 
std::vector< BidderDiagramcurrent_bidder_diagrams_min_
 
std::vector< GoodDiagramcentroids_min_
 
std::vector< GoodDiagramcentroids_with_price_min_
 
bool do_sad_
 
std::vector< BidderDiagrambidder_diagrams_saddle_
 
std::vector< BidderDiagramcurrent_bidder_diagrams_saddle_
 
std::vector< GoodDiagramcentroids_saddle_
 
std::vector< GoodDiagramcentroids_with_price_saddle_
 
bool do_max_
 
std::vector< BidderDiagrambidder_diagrams_max_
 
std::vector< BidderDiagramcurrent_bidder_diagrams_max_
 
std::vector< GoodDiagramcentroids_max_
 
std::vector< GoodDiagramcentroids_with_price_max_
 
std::vector< std::vector< int > > clustering_
 
std::vector< std::vector< int > > old_clustering_
 
std::vector< int > inv_clustering_
 
std::vector< std::vector< int > > centroids_sizes_
 
std::vector< bool > r_
 
std::vector< double > u_
 
std::vector< std::vector< double > > l_
 
std::vector< std::vector< double > > centroidsDistanceMatrix_ {}
 
std::vector< double > distanceToCentroid_ {}
 
int n_iterations_
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

Author
Jules Vidal jules.nosp@m..vid.nosp@m.al@li.nosp@m.p6.f.nosp@m.r
Joseph Budin josep.nosp@m.h.bu.nosp@m.din@p.nosp@m.olyt.nosp@m.echni.nosp@m.que..nosp@m.edu
Date
September 2019

Related publication
"Progressive Wasserstein Barycenters of Persistence Diagrams"
Jules Vidal, Joseph Budin and Julien Tierny
Proc. of IEEE VIS 2019.
IEEE Transactions on Visualization and Computer Graphics, 2019.

See also
PersistenceDiagramClustering

Definition at line 26 of file PDClustering.h.

Constructor & Destructor Documentation

◆ PDClustering()

ttk::PDClustering::PDClustering ( )
inline

Definition at line 29 of file PDClustering.h.

◆ ~PDClustering()

ttk::PDClustering::~PDClustering ( )
overridedefault

Member Function Documentation

◆ acceleratedUpdateClusters()

void ttk::PDClustering::acceleratedUpdateClusters ( )

Definition at line 1277 of file PDClustering.cpp.

◆ centroidToDiagram()

ttk::BidderDiagram ttk::PDClustering::centroidToDiagram ( const GoodDiagram centroid)

Definition at line 885 of file PDClustering.cpp.

◆ centroidWithZeroPrices()

ttk::GoodDiagram ttk::PDClustering::centroidWithZeroPrices ( const GoodDiagram centroid)

Definition at line 863 of file PDClustering.cpp.

◆ computeBarycenterForTwo()

void ttk::PDClustering::computeBarycenterForTwo ( std::vector< std::vector< MatchingType > > &  matchings,
std::vector< std::vector< int > > &  bidders_ids,
std::vector< BidderDiagram > &  current_bidder_diagrams,
std::vector< BidderDiagram > &  bidder_diagrams,
GoodDiagram barycenter 
)

Definition at line 2578 of file PDClustering.cpp.

◆ computeBarycenterForTwoGlobal()

void ttk::PDClustering::computeBarycenterForTwoGlobal ( std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &  all_matchings_per_type_and_cluster)

Definition at line 2556 of file PDClustering.cpp.

◆ computeDistance() [1/4]

double ttk::PDClustering::computeDistance ( BidderDiagram *const  D1,
const GoodDiagram *const  D2,
const double  delta_lim 
)

Definition at line 840 of file PDClustering.cpp.

◆ computeDistance() [2/4]

double ttk::PDClustering::computeDistance ( const BidderDiagram D1,
const BidderDiagram D2,
const double  delta_lim 
)

Definition at line 821 of file PDClustering.cpp.

◆ computeDistance() [3/4]

double ttk::PDClustering::computeDistance ( const BidderDiagram D1,
const GoodDiagram D2,
const double  delta_lim 
)

Definition at line 828 of file PDClustering.cpp.

◆ computeDistance() [4/4]

double ttk::PDClustering::computeDistance ( const GoodDiagram D1,
const GoodDiagram D2,
const double  delta_lim 
)

Definition at line 855 of file PDClustering.cpp.

◆ computeDistanceToCentroid()

void ttk::PDClustering::computeDistanceToCentroid ( )

Definition at line 1149 of file PDClustering.cpp.

◆ computeRealCost()

double ttk::PDClustering::computeRealCost ( )

Definition at line 2509 of file PDClustering.cpp.

◆ correctMatchings()

void ttk::PDClustering::correctMatchings ( std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &  previous_matchings)

Definition at line 506 of file PDClustering.cpp.

◆ diagramToCentroid()

ttk::GoodDiagram ttk::PDClustering::diagramToCentroid ( const BidderDiagram diagram)

Definition at line 899 of file PDClustering.cpp.

◆ diagramWithZeroPrices()

ttk::BidderDiagram ttk::PDClustering::diagramWithZeroPrices ( const BidderDiagram diagram)

Definition at line 874 of file PDClustering.cpp.

◆ enrichCurrentBidderDiagrams()

std::vector< double > ttk::PDClustering::enrichCurrentBidderDiagrams ( std::vector< double > &  previous_min_persistence,
std::vector< double > &  min_persistence,
std::vector< std::vector< double > > &  initial_diagonal_prices,
std::vector< std::vector< double > > &  initial_off_diagonal_prices,
std::vector< int > &  min_points_to_add,
bool  add_points_to_barycenter,
bool  first_enrichment 
)

Definition at line 2007 of file PDClustering.cpp.

◆ execute()

std::vector< int > ttk::PDClustering::execute ( std::vector< DiagramType > &  final_centroids,
std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &  all_matchings 
)

Definition at line 24 of file PDClustering.cpp.

◆ get_centroids_sizes()

std::vector< std::vector< int > > ttk::PDClustering::get_centroids_sizes ( )

Definition at line 636 of file PDClustering.cpp.

◆ getCentroidDistanceMatrix()

void ttk::PDClustering::getCentroidDistanceMatrix ( )

Definition at line 1115 of file PDClustering.cpp.

◆ getDistanceMatrix()

std::vector< std::vector< double > > ttk::PDClustering::getDistanceMatrix ( )

Definition at line 1080 of file PDClustering.cpp.

◆ getDistances()

std::array< double, 3 > ttk::PDClustering::getDistances ( ) const
inline

Definition at line 41 of file PDClustering.h.

◆ getLessPersistent()

double ttk::PDClustering::getLessPersistent ( int  type = -1)

Definition at line 681 of file PDClustering.cpp.

◆ getMinDiagonalPrices()

std::vector< std::vector< double > > ttk::PDClustering::getMinDiagonalPrices ( )

Definition at line 769 of file PDClustering.cpp.

◆ getMinPrices()

std::vector< std::vector< double > > ttk::PDClustering::getMinPrices ( )

Definition at line 724 of file PDClustering.cpp.

◆ getMostPersistent()

double ttk::PDClustering::getMostPersistent ( int  type = -1)

Definition at line 640 of file PDClustering.cpp.

◆ initializeAcceleratedKMeans()

void ttk::PDClustering::initializeAcceleratedKMeans ( )

Definition at line 1049 of file PDClustering.cpp.

◆ initializeBarycenterComputers()

void ttk::PDClustering::initializeBarycenterComputers ( std::vector< double > &  min_persistence)

Definition at line 2369 of file PDClustering.cpp.

◆ initializeCentroids()

void ttk::PDClustering::initializeCentroids ( )

Definition at line 915 of file PDClustering.cpp.

◆ initializeCentroidsKMeanspp()

void ttk::PDClustering::initializeCentroidsKMeanspp ( )

Definition at line 945 of file PDClustering.cpp.

◆ initializeEmptyClusters()

void ttk::PDClustering::initializeEmptyClusters ( )

Definition at line 911 of file PDClustering.cpp.

◆ invertClusters()

void ttk::PDClustering::invertClusters ( )

Converts the clustering (vector of vector of diagram's id) into a vector of size numberOfInputs_ containing the cluster of each input diagram.

Definition at line 1245 of file PDClustering.cpp.

◆ invertInverseClusters()

void ttk::PDClustering::invertInverseClusters ( )

Definition at line 1262 of file PDClustering.cpp.

◆ printClustering()

void ttk::PDClustering::printClustering ( )
inline

Definition at line 211 of file PDClustering.h.

◆ printDistancesToFile()

void ttk::PDClustering::printDistancesToFile ( )

Definition at line 2451 of file PDClustering.cpp.

◆ printMatchings()

void ttk::PDClustering::printMatchings ( std::vector< std::vector< std::vector< MatchingType > > >  matchings)

Definition at line 617 of file PDClustering.cpp.

◆ printOldClustering()

void ttk::PDClustering::printOldClustering ( )
inline

Definition at line 230 of file PDClustering.h.

◆ printPricesToFile()

void ttk::PDClustering::printPricesToFile ( int  iteration)

Definition at line 2492 of file PDClustering.cpp.

◆ printRealDistancesToFile()

void ttk::PDClustering::printRealDistancesToFile ( )

Definition at line 2476 of file PDClustering.cpp.

◆ resetDosToOriginalValues()

void ttk::PDClustering::resetDosToOriginalValues ( )
inline

Definition at line 119 of file PDClustering.h.

◆ setAccelerated()

void ttk::PDClustering::setAccelerated ( const bool  use_accelerated)
inline

Definition at line 170 of file PDClustering.h.

◆ setBidderDiagrams()

void ttk::PDClustering::setBidderDiagrams ( )

Definition at line 1941 of file PDClustering.cpp.

◆ setDeltaLim()

void ttk::PDClustering::setDeltaLim ( const double  deltaLim)
inline

Definition at line 203 of file PDClustering.h.

◆ setDeterministic()

void ttk::PDClustering::setDeterministic ( const bool  deterministic)
inline

Definition at line 187 of file PDClustering.h.

◆ setDiagrams()

int ttk::PDClustering::setDiagrams ( std::vector< DiagramType > *  data_min,
std::vector< DiagramType > *  data_saddle,
std::vector< DiagramType > *  data_max 
)
inline

Definition at line 124 of file PDClustering.h.

◆ setDistanceWritingOptions()

void ttk::PDClustering::setDistanceWritingOptions ( const int  distanceWritingOptions)
inline

Definition at line 200 of file PDClustering.h.

◆ setDos()

int ttk::PDClustering::setDos ( bool  doMin,
bool  doSad,
bool  doMax 
)
inline

Definition at line 133 of file PDClustering.h.

◆ setForceUseOfAlgorithm()

void ttk::PDClustering::setForceUseOfAlgorithm ( const bool  forceUseOfAlgorithm)
inline

Definition at line 184 of file PDClustering.h.

◆ setGeometricalFactor()

void ttk::PDClustering::setGeometricalFactor ( const double  geometrical_factor)
inline

Definition at line 178 of file PDClustering.h.

◆ setK()

int ttk::PDClustering::setK ( const int  k)
inline

Definition at line 149 of file PDClustering.h.

◆ setKMeanspp()

void ttk::PDClustering::setKMeanspp ( const bool  use_kmeanspp)
inline

Definition at line 162 of file PDClustering.h.

◆ setLambda()

void ttk::PDClustering::setLambda ( const double  lambda)
inline

Definition at line 181 of file PDClustering.h.

◆ setNonMatchingWeight()

void ttk::PDClustering::setNonMatchingWeight ( double  nonMatchingWeight)
inline

Definition at line 207 of file PDClustering.h.

◆ setNumberOfInputs()

int ttk::PDClustering::setNumberOfInputs ( int  numberOfInputs)
inline

Definition at line 144 of file PDClustering.h.

◆ setTimeLimit()

void ttk::PDClustering::setTimeLimit ( const double  time_limit)
inline

Definition at line 174 of file PDClustering.h.

◆ setUseDeltaLim()

void ttk::PDClustering::setUseDeltaLim ( const bool  UseDeltaLim)
inline

Definition at line 191 of file PDClustering.h.

◆ setUseKDTree()

void ttk::PDClustering::setUseKDTree ( const bool  use_kdtree)
inline

Definition at line 166 of file PDClustering.h.

◆ setUseProgressive()

void ttk::PDClustering::setUseProgressive ( const bool  use_progressive)
inline

Definition at line 158 of file PDClustering.h.

◆ setWasserstein()

void ttk::PDClustering::setWasserstein ( const int &  wasserstein)
inline

Definition at line 154 of file PDClustering.h.

◆ updateCentroidsPosition()

std::vector< double > ttk::PDClustering::updateCentroidsPosition ( std::vector< std::vector< double > > *  min_price,
std::vector< std::vector< double > > *  min_diag_price,
std::vector< std::vector< std::vector< std::vector< MatchingType > > > > &  all_matchings,
int  only_matchings 
)

Definition at line 1479 of file PDClustering.cpp.

◆ updateClusters()

void ttk::PDClustering::updateClusters ( )

Definition at line 1181 of file PDClustering.cpp.

Member Data Documentation

◆ barycenter_computer_max_

std::vector<PDBarycenter> ttk::PDClustering::barycenter_computer_max_ {}
protected

Definition at line 248 of file PDClustering.h.

◆ barycenter_computer_min_

std::vector<PDBarycenter> ttk::PDClustering::barycenter_computer_min_ {}
protected

Definition at line 246 of file PDClustering.h.

◆ barycenter_computer_sad_

std::vector<PDBarycenter> ttk::PDClustering::barycenter_computer_sad_ {}
protected

Definition at line 247 of file PDClustering.h.

◆ barycenter_inputs_reset_flag

bool ttk::PDClustering::barycenter_inputs_reset_flag
protected

Definition at line 250 of file PDClustering.h.

◆ bidder_diagrams_max_

std::vector<BidderDiagram> ttk::PDClustering::bidder_diagrams_max_
protected

Definition at line 307 of file PDClustering.h.

◆ bidder_diagrams_min_

std::vector<BidderDiagram> ttk::PDClustering::bidder_diagrams_min_
protected

Definition at line 295 of file PDClustering.h.

◆ bidder_diagrams_saddle_

std::vector<BidderDiagram> ttk::PDClustering::bidder_diagrams_saddle_
protected

Definition at line 301 of file PDClustering.h.

◆ centroids_max_

std::vector<GoodDiagram> ttk::PDClustering::centroids_max_
protected

Definition at line 309 of file PDClustering.h.

◆ centroids_min_

std::vector<GoodDiagram> ttk::PDClustering::centroids_min_
protected

Definition at line 297 of file PDClustering.h.

◆ centroids_saddle_

std::vector<GoodDiagram> ttk::PDClustering::centroids_saddle_
protected

Definition at line 303 of file PDClustering.h.

◆ centroids_sizes_

std::vector<std::vector<int> > ttk::PDClustering::centroids_sizes_
protected

Definition at line 316 of file PDClustering.h.

◆ centroids_with_price_max_

std::vector<GoodDiagram> ttk::PDClustering::centroids_with_price_max_
protected

Definition at line 310 of file PDClustering.h.

◆ centroids_with_price_min_

std::vector<GoodDiagram> ttk::PDClustering::centroids_with_price_min_
protected

Definition at line 298 of file PDClustering.h.

◆ centroids_with_price_saddle_

std::vector<GoodDiagram> ttk::PDClustering::centroids_with_price_saddle_
protected

Definition at line 304 of file PDClustering.h.

◆ centroidsDistanceMatrix_

std::vector<std::vector<double> > ttk::PDClustering::centroidsDistanceMatrix_ {}
protected

Definition at line 321 of file PDClustering.h.

◆ clustering_

std::vector<std::vector<int> > ttk::PDClustering::clustering_
protected

Definition at line 312 of file PDClustering.h.

◆ cost_

double ttk::PDClustering::cost_
protected

Definition at line 280 of file PDClustering.h.

◆ cost_max_

double ttk::PDClustering::cost_max_ {0.0}
protected

Definition at line 283 of file PDClustering.h.

◆ cost_min_

double ttk::PDClustering::cost_min_ {0.0}
protected

Definition at line 281 of file PDClustering.h.

◆ cost_sad_

double ttk::PDClustering::cost_sad_ {0.0}
protected

Definition at line 282 of file PDClustering.h.

◆ current_bidder_diagrams_max_

std::vector<BidderDiagram> ttk::PDClustering::current_bidder_diagrams_max_
protected

Definition at line 308 of file PDClustering.h.

◆ current_bidder_diagrams_min_

std::vector<BidderDiagram> ttk::PDClustering::current_bidder_diagrams_min_
protected

Definition at line 296 of file PDClustering.h.

◆ current_bidder_diagrams_saddle_

std::vector<BidderDiagram> ttk::PDClustering::current_bidder_diagrams_saddle_
protected

Definition at line 302 of file PDClustering.h.

◆ current_bidder_ids_max_

std::vector<std::vector<int> > ttk::PDClustering::current_bidder_ids_max_
protected

Definition at line 287 of file PDClustering.h.

◆ current_bidder_ids_min_

std::vector<std::vector<int> > ttk::PDClustering::current_bidder_ids_min_
protected

Definition at line 285 of file PDClustering.h.

◆ current_bidder_ids_sad_

std::vector<std::vector<int> > ttk::PDClustering::current_bidder_ids_sad_
protected

Definition at line 286 of file PDClustering.h.

◆ deltaLim_

double ttk::PDClustering::deltaLim_
protected

Definition at line 259 of file PDClustering.h.

◆ deterministic_

bool ttk::PDClustering::deterministic_ {true}
protected

Definition at line 256 of file PDClustering.h.

◆ distanceToCentroid_

std::vector<double> ttk::PDClustering::distanceToCentroid_ {}
protected

Definition at line 322 of file PDClustering.h.

◆ distanceWritingOptions_

int ttk::PDClustering::distanceWritingOptions_ {0}
protected

Definition at line 261 of file PDClustering.h.

◆ do_max_

bool ttk::PDClustering::do_max_
protected

Definition at line 306 of file PDClustering.h.

◆ do_min_

bool ttk::PDClustering::do_min_
protected

Definition at line 294 of file PDClustering.h.

◆ do_sad_

bool ttk::PDClustering::do_sad_
protected

Definition at line 300 of file PDClustering.h.

◆ epsilon_

std::array<double, 3> ttk::PDClustering::epsilon_
protected

Definition at line 279 of file PDClustering.h.

◆ epsilon_min_

double ttk::PDClustering::epsilon_min_ {1e-8}
protected

Definition at line 278 of file PDClustering.h.

◆ forceUseOfAlgorithm_

bool ttk::PDClustering::forceUseOfAlgorithm_ {false}
protected

Definition at line 255 of file PDClustering.h.

◆ geometrical_factor_

double ttk::PDClustering::geometrical_factor_ {1.0}
protected

Definition at line 258 of file PDClustering.h.

◆ inputDiagramsMax_

std::vector<DiagramType>* ttk::PDClustering::inputDiagramsMax_
protected

Definition at line 290 of file PDClustering.h.

◆ inputDiagramsMin_

std::vector<DiagramType>* ttk::PDClustering::inputDiagramsMin_
protected

Definition at line 288 of file PDClustering.h.

◆ inputDiagramsSaddle_

std::vector<DiagramType>* ttk::PDClustering::inputDiagramsSaddle_
protected

Definition at line 289 of file PDClustering.h.

◆ inv_clustering_

std::vector<int> ttk::PDClustering::inv_clustering_
protected

Definition at line 314 of file PDClustering.h.

◆ k_

int ttk::PDClustering::k_
protected

Definition at line 270 of file PDClustering.h.

◆ l_

std::vector<std::vector<double> > ttk::PDClustering::l_
protected

Definition at line 320 of file PDClustering.h.

◆ lambda_

double ttk::PDClustering::lambda_
protected

Definition at line 267 of file PDClustering.h.

◆ n_iterations_

int ttk::PDClustering::n_iterations_
protected

Definition at line 324 of file PDClustering.h.

◆ nonMatchingWeight_

double ttk::PDClustering::nonMatchingWeight_ = 1.0
protected

Definition at line 268 of file PDClustering.h.

◆ numberOfInputs_

int ttk::PDClustering::numberOfInputs_
protected

Definition at line 271 of file PDClustering.h.

◆ old_clustering_

std::vector<std::vector<int> > ttk::PDClustering::old_clustering_
protected

Definition at line 313 of file PDClustering.h.

◆ original_dos

std::array<bool, 3> ttk::PDClustering::original_dos
protected

Definition at line 292 of file PDClustering.h.

◆ precision_criterion_

bool ttk::PDClustering::precision_criterion_ {false}
protected

Definition at line 251 of file PDClustering.h.

◆ precision_max_

bool ttk::PDClustering::precision_max_ {false}
protected

Definition at line 252 of file PDClustering.h.

◆ precision_min_

bool ttk::PDClustering::precision_min_ {false}
protected

Definition at line 253 of file PDClustering.h.

◆ precision_sad_

bool ttk::PDClustering::precision_sad_ {false}
protected

Definition at line 254 of file PDClustering.h.

◆ r_

std::vector<bool> ttk::PDClustering::r_
protected

Definition at line 318 of file PDClustering.h.

◆ time_limit_

double ttk::PDClustering::time_limit_ {std::numeric_limits<double>::max()}
protected

Definition at line 276 of file PDClustering.h.

◆ u_

std::vector<double> ttk::PDClustering::u_
protected

Definition at line 319 of file PDClustering.h.

◆ use_accelerated_

bool ttk::PDClustering::use_accelerated_
protected

Definition at line 273 of file PDClustering.h.

◆ use_kdtree_

bool ttk::PDClustering::use_kdtree_
protected

Definition at line 275 of file PDClustering.h.

◆ use_kmeanspp_

bool ttk::PDClustering::use_kmeanspp_
protected

Definition at line 274 of file PDClustering.h.

◆ use_progressive_

bool ttk::PDClustering::use_progressive_ {true}
protected

Definition at line 272 of file PDClustering.h.

◆ UseDeltaLim_

bool ttk::PDClustering::UseDeltaLim_ {false}
protected

Definition at line 260 of file PDClustering.h.

◆ wasserstein_

int ttk::PDClustering::wasserstein_ {2}
protected

Definition at line 257 of file PDClustering.h.


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