We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee122e1 commit 4c4ad93Copy full SHA for 4c4ad93
src/trans-netlist/netlist.cpp
@@ -56,21 +56,32 @@ void netlistt::print(std::ostream &out) const
56
57
out << "Initial state: " << '\n';
58
59
- for(unsigned i=0; i<initial.size(); i++)
+ for(auto &c : initial)
60
{
61
out << " ";
62
- print(out, initial[i]);
+ print(out, c);
63
out << '\n';
64
}
65
66
67
68
+ out << "State invariant constraints: " << '\n';
69
+
70
+ for(auto &c : constraints)
71
+ {
72
+ out << " ";
73
74
+ out << '\n';
75
+ }
76
77
+ out << '\n' << std::flush;
78
79
out << "Transition constraints: " << '\n';
80
- for(unsigned i=0; i<transition.size(); i++)
81
+ for(auto &c : transition)
82
83
- print(out, transition[i]);
84
85
86
87
0 commit comments