public class MissedFlightsAnalyzer extends Analyzer
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Flight> |
flightSchedule
The flight schedule.
|
private java.util.HashMap<Flight,java.lang.Integer> |
missedFlights
The missed flights.
|
| Constructor and Description |
|---|
MissedFlightsAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getLineNames()
Gets the names of the lines.
|
java.lang.String |
getTitle()
The title of the value update.
|
double[] |
getValues()
Gets the current values for a graph.
|
java.lang.String |
getYAxis()
The title of the y axis.
|
private boolean |
reachedGate(Passenger passenger)
Determines if the passenger reached its gate.
|
void |
setMap(Map map)
Sets the map.
|
void |
update(int timeStep)
Update the graph time with a specified step.
|
exportData, getDataset, getMapprivate java.util.List<Flight> flightSchedule
private java.util.HashMap<Flight,java.lang.Integer> missedFlights
public java.lang.String[] getLineNames()
AnalyzergetLineNames in class Analyzerpublic java.lang.String getTitle()
Analyzerpublic double[] getValues()
Analyzerpublic java.lang.String getYAxis()
Analyzerprivate boolean reachedGate(Passenger passenger)
passenger - The passenger.public void update(int timeStep)
Analyzer