I am trying to use the Digraph.class file contained in algs4.jar but am getting the "cannot be resolved to a type" error as shown below. I have added algs4.jar to the buildpath by right clicking > Build Path > Add to Build Path. I have tried restarting eclipse and using Project > Clean...
Any ideas what I'm doing wrong?