1 ! Copyright (C) 2008 William Schlieper <schlieper@unc.edu>
2 ! See http://factorcode.org/license.txt for BSD license.
4 USING: accessors kernel graph-theory ;
6 IN: graph-theory.reversals
8 TUPLE: reversal graph ;
10 GENERIC: reverse-graph ( graph -- reversal )
12 M: graph reverse-graph reversal boa ;
14 M: reversal reverse-graph graph>> ;
16 INSTANCE: reversal graph