public class Edge extends it.polito.appeal.traci.TraciObject<Edge.Variable> implements it.polito.appeal.traci.StepAdvanceListener
| Modifier and Type | Class and Description |
|---|---|
static class |
Edge.Variable
Enumerates all the read queries.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getCo2Emission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getCoEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getFuelConsumption()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getHcEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getNoiseEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getNoxEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
Double |
getPmxEmission()
Executes an instance of
ReadObjectVarQuery relative to this query,
and returns the corresponding value. |
void |
nextStep(double step)
Callback for step advancement.
|
it.polito.appeal.traci.ChangeGlobalTravelTimeQuery |
queryChangeTravelTime() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadCO2Emission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadCOEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadFuelConsumption() |
it.polito.appeal.traci.ReadGlobalTravelTimeQuery |
queryReadGlobalTravelTime() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadHCEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadNoiseEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadNOXEmission() |
it.polito.appeal.traci.ReadObjectVarQuery<Double> |
queryReadPMXEmission() |
public void nextStep(double step)
it.polito.appeal.traci.StepAdvanceListenernextStep in interface it.polito.appeal.traci.StepAdvanceListenerstep - the new simulation time, in secondspublic it.polito.appeal.traci.ReadGlobalTravelTimeQuery queryReadGlobalTravelTime()
ReadGlobalTravelTimeQuery relative to this query.public it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadCO2Emission()
ReadObjectVarQuery relative to this query.public Double getCo2Emission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadCOEmission()
ReadObjectVarQuery relative to this query.public Double getCoEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadHCEmission()
ReadObjectVarQuery relative to this query.public Double getHcEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadPMXEmission()
ReadObjectVarQuery relative to this query.public Double getPmxEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadNOXEmission()
ReadObjectVarQuery relative to this query.public Double getNoxEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadFuelConsumption()
ReadObjectVarQuery relative to this query.public Double getFuelConsumption() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ReadObjectVarQuery<Double> queryReadNoiseEmission()
ReadObjectVarQuery relative to this query.public Double getNoiseEmission() throws IOException
ReadObjectVarQuery relative to this query,
and returns the corresponding value.IOExceptionpublic it.polito.appeal.traci.ChangeGlobalTravelTimeQuery queryChangeTravelTime()
ChangeGlobalTravelTimeQuery relative to this query.Copyright © 2015 Politecnico di Torino. All rights reserved.