Skip to content

Commit

Permalink
feat: change default LP from legacy LP to 2-phase LP
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSeemaier committed Jun 27, 2024
1 parent 30addef commit a826467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kaminpar-shm/presets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ Context create_default_context() {
.clustering =
{
// Context -> Coarsening -> Clustering
.algorithm = ClusteringAlgorithm::LEGACY_LABEL_PROPAGATION,
.algorithm = ClusteringAlgorithm::LABEL_PROPAGATION,
.lp =
{
// Context -> Coarsening -> Clustering -> Label Propagation
.num_iterations = 5,
.large_degree_threshold = 1000000,
.max_num_neighbors = 200000,
.cluster_weights_structure = ClusterWeightsStructure::VEC,
.impl = LabelPropagationImplementation::SINGLE_PHASE,
.impl = LabelPropagationImplementation::TWO_PHASE,
.second_phase_selection_strategy =
SecondPhaseSelectionStrategy::FULL_RATING_MAP,
.second_phase_aggregation_strategy =
Expand Down

0 comments on commit a826467

Please sign in to comment.