Skip navigation links
B C E G L M P R T 

B

BLineStop - Class in Lab3Help
A BLineStop represents a bus stop visited by a line.
BLineStop(String, int) - Constructor for class Lab3Help.BLineStop
Creates a new BLineStop with the given name and the given transition time.
BLineTable - Class in Lab3Help
The BLineTable class represents line information for the line with the given line id.
BLineTable(BLineStop[], int) - Constructor for class Lab3Help.BLineTable
Creates a new BLineTable with the given id and the given stop information.
BStop - Class in Lab3Help
The BStop class represents a bus stop.
BStop(String, int, int) - Constructor for class Lab3Help.BStop
Creates a new bus stop with the given name at the given coordinates.

C

computePath(String, String) - Method in class Lab3Help.External
 
computePath(E, E) - Method in interface Lab3Help.Path
Computes the path from from to to (if any).

E

External - Class in Lab3Help
Implements the Path interface by calling an external program.
External(String, List<BStop>, List<BLineTable>) - Constructor for class Lab3Help.External
Creates an instance of this class for the program program (or, if the use of program fails in certain ways, program + ".bat") and the transport network defined by stops and lines.
External(List<BStop>, List<BLineTable>) - Constructor for class Lab3Help.External
Creates an instance of this class for the program Lab3 (or, if the use of Lab3 fails in certain ways, Lab3.bat) in the current directory and the transport network defined by stops and lines.

G

getLineNo() - Method in class Lab3Help.BLineTable
Returns the line id of this line table
getName() - Method in class Lab3Help.BLineStop
Returns the name of this stop.
getName() - Method in class Lab3Help.BStop
Returns the name of the bus stop
getPath() - Method in class Lab3Help.External
 
getPath() - Method in interface Lab3Help.Path
Returns an iterator over the nodes in the path.
getPathLength() - Method in class Lab3Help.External
 
getPathLength() - Method in interface Lab3Help.Path
Returns the length of the computed path, that is, the sum of the weights of each arc on the path.
getStops() - Method in class Lab3Help.BLineTable
Returns the stops information this line table
getTime() - Method in class Lab3Help.BLineStop
Returns the time needed from the stop before to this stop.
getX() - Method in class Lab3Help.BStop
Returns the x coordinate of the bus stop
getY() - Method in class Lab3Help.BStop
Returns the y coordinate of the bus stop
GUI - Class in Lab3Help
A GUI for programming assignment 3.
GUI(List<BStop>, List<BLineTable>, Path<String>) - Constructor for class Lab3Help.GUI
A GUI for programming assignment 3.

L

Lab3File - Class in Lab3Help
Some methods that can be used to read stop and line files.
Lab3File() - Constructor for class Lab3Help.Lab3File
 
Lab3Help - package Lab3Help
 

M

main(String[]) - Static method in class Lab3Help.GUI
A GUI for programming assignment 3.
MalformedData - Exception in Lab3Help
Signals that malformed data has been encountered.
MalformedData(String) - Constructor for exception Lab3Help.MalformedData
Constructs an exception with the given error message.

P

Path<E> - Interface in Lab3Help
A path is a sequence of nodes describing how to get from one node to another in a graph.

R

readLines(String) - Method in class Lab3Help.Lab3File
Reads the bus line information from the given file returning a List of BLineTable.
readStops(String) - Method in class Lab3Help.Lab3File
Reads the bus stops in the given file into a List.

T

toString() - Method in class Lab3Help.BStop
Returns the name of the bus stop
B C E G L M P R T 
Skip navigation links