Skip to content

Commit 38eca58

Browse files
authored
Merge pull request #122 from nmoehrle/deterministic-mapmap
Switch to deterministic mapmap execution
2 parents a7b2f99 + 4c32832 commit 38eca58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/tex/view_selection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ view_selection(DataCosts const & data_costs, UniGraph * graph, Settings const &)
110110
ctr.relax_acyclic_maximal = true;
111111
ctr.tree_algorithm = mapmap::LOCK_FREE_TREE_SAMPLER;
112112

113-
/* Set true for deterministic (but slower) mapMAP execution. */
114-
ctr.sample_deterministic = false;
113+
/* Set false for non-deterministic (but faster) mapMAP execution. */
114+
ctr.sample_deterministic = true;
115115
ctr.initial_seed = 548923723;
116116

117117
std::cout << "\tOptimizing:\n\t\tTime[s]\tEnergy" << std::endl;

0 commit comments

Comments
 (0)