package cn.denghanxi.s42; import edu.princeton.cs.algs4.In; import java.io.File; /** * 有向图 */ public class TinyDG { public static Digraph getTinyDG() { File currentDirFile = new File("."); return new Digraph(new In(TinyDG.class.getResource("/tinyDG.txt"))); } }