X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fbipartite.h;h=71b6ece02387ee10cdfdc45bb8eb5db0e5c99f8b;hb=25ea4567ce42388f59fdc45e11f278290fdd1353;hp=c24c99b5cdccbabb4db440b160a9ee3e2533e743;hpb=1bfc88e0b316097777f7d54ce55b0833f922f844;p=libfirm diff --git a/ir/adt/bipartite.h b/ir/adt/bipartite.h index c24c99b5c..71b6ece02 100644 --- a/ir/adt/bipartite.h +++ b/ir/adt/bipartite.h @@ -21,6 +21,15 @@ void bipartite_add(bipartite_t *gr, int i, int j); void bipartite_remv(bipartite_t *gr, int i, int j); int bipartite_adj(const bipartite_t *gr, int i, int j); void bipartite_matching(const bipartite_t *gr, int *matching); -void bipartite_dump(FILE *f, const bipartite_t *gr); + +/** + * Dumps a bipartite graph to a file stream. + */ +void bipartite_dump_f(FILE *f, const bipartite_t *gr); + +/** + * Dumps a bipartite graph to file name. + */ +void bipartite_dump(const char *name, const bipartite_t *gr); #endif /* _BIPARTITE_H */