#include <CutPursuit_L2.h>
|
| std::pair< T, T > | compute_energy () override |
| |
| size_t | split () override |
| |
| void | init_labels (std::vector< bool > &binary_label) |
| |
| void | compute_centers (VectorOfCentroids< T > ¢ers, const uint32_t &nb_comp, const std::vector< bool > &binary_label) |
| |
| void | compute_center (std::vector< std::vector< T >> ¢er, const uint32_t &ind_com, const std::vector< bool > &binary_label) |
| |
| void | set_capacities (const VectorOfCentroids< T > ¢ers) |
| |
| std::pair< std::vector< T >, T > | compute_value (const uint32_t &ind_com) override |
| |
| std::pair< std::vector< T >, T > | compute_merge_gain (const VertexDescriptor< T > &comp1, const VertexDescriptor< T > &comp2) override |
| |
| | CutPursuit (uint32_t nbVertex=1) |
| |
| std::pair< std::vector< T >, std::vector< T > > | run () |
| |
| void | initialize () |
| |
| void | compute_reduced_value () |
| |
| size_t | activate_edges (bool allows_saturation=true) |
| |
| void | reduce () |
| |
| void | compute_connected_components () |
| |
| std::vector< VertexDescriptor< T > > | connected_comp_from_root (const VertexDescriptor< T > &root, const size_t &size_comp, std::vector< bool > &vertices_seen, std::vector< bool > &edges_seen) |
| |
| void | compute_reduced_graph () |
| |
| uint32_t | merge (bool is_cutoff) |
| |
| void | cutoff () |
| |
| void | saturateComponent (const uint32_t &ind_com) |
| |
◆ compute_center()
template<typename T >
| void CP::CutPursuit_L2< T >::compute_center |
( |
std::vector< std::vector< T >> & |
center, |
|
|
const uint32_t & |
ind_com, |
|
|
const std::vector< bool > & |
binary_label |
|
) |
| |
|
inline |
◆ compute_centers()
◆ compute_energy()
◆ compute_merge_gain()
◆ compute_value()
template<typename T >
| std::pair<std::vector<T>, T> CP::CutPursuit_L2< T >::compute_value |
( |
const uint32_t & |
ind_com | ) |
|
|
inlineoverridevirtual |
◆ init_labels()
◆ set_capacities()
◆ split()
Reimplemented from CP::CutPursuit< T >.
References CP::CutPursuit< T >::activate_edges(), CP::CutPursuit< T >::components, CP::CutPursuit_L2< T >::compute_centers(), CP::CutPursuit< T >::dim, CP::CutPursuit_L2< T >::init_labels(), CP::CutPursuit< T >::main_graph, CP::CutPursuit< T >::nVertex, CP::CutPursuit< T >::parameter, CP::CutPursuit< T >::saturated_components, CP::CutPursuit_L2< T >::set_capacities(), CP::CutPursuit< T >::sink, CP::CutPursuit< T >::source, and vertex_index.
The documentation for this struct was generated from the following file: