|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--XMLClient
This class reads a string from the server. The string is an XML document. The document contains course descriptions. Each course description has a unique course ID and a set of prerequisites that may be empty. The program passes the course id's and the prerequisites to a graph data structure where they form a directed acyclic graph (DAG). A topological sort is performed. This sort produces every legal ordering of the topics.
| Constructor Summary | |
XMLClient()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public XMLClient()
| Method Detail |
public static void main(java.lang.String[] args)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||