Skip to content

Commit

Permalink
Limit by default the number of Partial Sweeps by 1
Browse files Browse the repository at this point in the history
  • Loading branch information
SSoelvsten committed Apr 4, 2024
1 parent f0b2977 commit 0ac54cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/adiar/exec_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ namespace adiar
public:
/// \brief Default value construction.
constexpr transposition_max()
: _value(std::numeric_limits<unsigned char>::max())
: _value(1)
{}

/// \brief Wrap an `unsigned char`
Expand Down
2 changes: 1 addition & 1 deletion src/adiar/internal/algorithms/quantify.h
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ namespace adiar::internal
const double weighted_terminals = false_weight * false_terminals + true_weight * true_terminals;

const typename Policy::label_type terminal_threshold =
(200.0 * weighted_terminals) / total_arcs;
(250.0 * weighted_terminals) / total_arcs;

// ---------------------------------------------------------------------------------------------
// Shallow Variables Heuristic
Expand Down

0 comments on commit 0ac54cb

Please sign in to comment.