001package algs42;
002
003public class MyDegrees {
004        // TODO: complete the methods
005        // The constructor may take time proportional to V+E
006        // The other methods should all take constant time
007        public MyDegrees(Digraph G)  { }
008
009        // indegree of v
010        public int indegree(int v) { return 0; }
011
012        // outdegree of v
013        public int outdegree(int v) { return 0; }
014
015        // sources
016        public Iterable<Integer> sources() { return null; }
017
018        // sinks
019        public Iterable<Integer> sinks() { return null; }
020
021        // is G a map?
022        public boolean isMap() { return false; }
023}