Merge evaluate() functionnality into find_edges(), get delta for missed edges.
[goir.git] / uvector.hh
blob63d59bfcc914bb5657aa081e41360f195f15db07
1 #ifndef _GOIR_UVECTOR_HH
2 #define _GOIR_UVECTOR_HH
4 #include <utility>
5 #include <vector>
7 namespace goir {
9 class UVector: public std::vector< std::pair<unsigned,unsigned> > {
10 public:
11 void fprint(FILE* outf) {
12 for (std::vector< std::pair<unsigned,unsigned> >::const_iterator i = begin();
13 i != end();
14 i++)
15 fprintf(outf, "%u,%u ", i->first, i->second);
16 fprintf(outf, "\n");
22 #endif // _GOIR_UVECTOR_HH