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, getMap
private java.util.List<Flight> flightSchedule
private java.util.HashMap<Flight,java.lang.Integer> missedFlights
public java.lang.String[] getLineNames()
Analyzer
getLineNames
in class Analyzer
public java.lang.String getTitle()
Analyzer
public double[] getValues()
Analyzer
public java.lang.String getYAxis()
Analyzer
private boolean reachedGate(Passenger passenger)
passenger
- The passenger.public void update(int timeStep)
Analyzer