I'll post a longer reasoning now that I'm off mobile.
When I review questions, I first check to see if the Asker put sufficient effort into the question to warrant the time to answer. Typically that means, for technical questions, that they have code that compiles and runs, with some sort of error or aberrant output. It should also indicate that the Asker has either done enough work, or sufficient research to be able to recognize a good answer when they see it.
In this case we have several problems.
- The Asker is asking for an implementation of Djikstra's aglorithm
- The Asker has provided insufficient code relevant to the question
- This exact homework problem has been posted here before
With regard to the first, there are many ways to implement the algorithm. Failure to specify which approach the Asker is attempting is sufficient to close as Too Broad, in its own right.
Both the first item and the second indicate that the Asker has not sufficiently attempted the problem to justify asking others for help. The code could easily be rewritten to be:
public ShortestPathFinderApp(String filename) {
AdjacencyList adj = new AdjacencyList(filename);
adj.doMyHomeworkForMe();
...
}
The Asker did not provide any attempt at an implementation to the actual assignment.
Now before we move on to item 3, I want to elaborate on why in particular a failure to attempt does not warrant any sympathy from me for a "i dont know where to start" question.
I do have some sympathy for the Asker here, as I don't believe universities introduce Djikstra's algorithm in a very effective manner. There's a tendancy to toss it in with discussions of graph traversal algorithms, usually before the student has had any exposure to its use in routing tables through a networking class. This was probably the most mind bending algorithm for me in university.
I want to have sympathy for the Asker, I do. But that's no excuse for failure to do some legwork on the problem. Reading the Wiki, which contains pseudocode on the algorithm is an obvious first step. Making an attempt to translate that pseudocode to java is a second. Lexicore was right to point those out to the Asker in the comments to give them a chance to remediate these issues. Lastly, the Asker should check to see if the question has been asked before here. It has.
In a perfect world, the Asker would fix the broadness and get an answer. But then the question would be a duplicate "Djikstra's Algorithm in Java", thus my flag.