|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAirCanada
This class implements a method for determining a set of JetsGo routes that Air Canada should add to their flight network
Constructor Summary | |
AirCanada()
|
Method Summary | |
static Graph |
FindRoutes(int n,
java.util.Collection edges,
double ignore)
This method takes as a parameter an *undirected* graph represented by the number of its nodes and a collection of edges. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AirCanada()
Method Detail |
public static Graph FindRoutes(int n, java.util.Collection edges, double ignore)
n
- the number of nodes of the graph.edges
- a collection that contains the set of edges of the graph.ignore
- the weight of the edges that should not be returned in
the set of routes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |