diff options
author | 2013-08-19 11:20:18 +0100 | |
---|---|---|
committer | 2013-08-19 11:20:18 +0100 | |
commit | 133dac43b2d0daa022bfe26ab15bcdfaf75eae0e (patch) | |
tree | 82705cc27b6d5d0c06212d7a006a9a30bcfe9ff0 /Source/VCGeneration | |
parent | 819c1f07fe1e0244e14306ad1dee213a9a034f1e (diff) |
new option for reversing the topological order - this could potentially help to speedup houdini refutation of candidates
Diffstat (limited to 'Source/VCGeneration')
-rw-r--r-- | Source/VCGeneration/ConditionGeneration.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/VCGeneration/ConditionGeneration.cs b/Source/VCGeneration/ConditionGeneration.cs index 36b8fbe5..e3991f93 100644 --- a/Source/VCGeneration/ConditionGeneration.cs +++ b/Source/VCGeneration/ConditionGeneration.cs @@ -1342,7 +1342,14 @@ namespace VC { }
}
}
- IEnumerable sortedNodes = dag.TopologicalSort();
+
+ IEnumerable sortedNodes;
+ if (CommandLineOptions.Clo.ReverseTopologicalSorting) {
+ sortedNodes = dag.TopologicalSort(true);
+ } else {
+ sortedNodes = dag.TopologicalSort();
+ }
+
Contract.Assert(sortedNodes != null);
#endregion
|