Browse Source

Merge branch 'future' into learning_engine

Former-commit-id: ceafd3325b
tempestpy_adaptions
dehnert 9 years ago
parent
commit
03266f563c
  1. 3
      src/storage/bisimulation/BisimulationDecomposition.cpp

3
src/storage/bisimulation/BisimulationDecomposition.cpp

@ -240,6 +240,9 @@ namespace storm {
++iterations; ++iterations;
// Get and prepare the next splitter. // Get and prepare the next splitter.
// Sort the splitters according to their sizes to prefer small splitters. That is just a heuristic, but
// tends to work well.
std::sort(splitterQueue.begin(), splitterQueue.end(), [] (Block<BlockDataType> const* b1, Block<BlockDataType> const* b2) { return b1->getNumberOfStates() < b2->getNumberOfStates(); } );
Block<BlockDataType>* splitter = splitterQueue.front(); Block<BlockDataType>* splitter = splitterQueue.front();
splitterQueue.pop_front(); splitterQueue.pop_front();
splitter->data().setSplitter(false); splitter->data().setSplitter(false);

Loading…
Cancel
Save