#include"Digraph.h" #include"DFSDirectedCycle.h" #include"DFSTopo.h" int main(){ Digraph* G = new Digraph("./data/tinyDAG.txt"); //tinyDAG无环有向图 //基础测试 cout<getE()<getV()<degree(0)<hasCycle(G)<getTopo(G)) cout<