busiestChartOptions |
busiestChartOptions:
|
Type : object
|
Default value : {
legend: {
display: true
},
title: {
display: true
},
responsive: true,
maintainAspectRatio: false,
scales: {
xAxes: [{
id: 'x-axis-0',
type: 'category',
scaleLabel: {
display: true,
labelString: 'Time'
},
ticks: {
beginAtZero: true
}
}],
yAxes: [{
id: 'y-axis-0',
type: 'linear',
ticks: {
stepSize: 10
}
}]
},
annotation: {
drawTime: 'afterDatasetsDraw',
annotations: []
}
}
|
busiestColor |
busiestColor:
|
Type : string
|
Default value : '#63a4ff'
|
trafficChartOptions |
trafficChartOptions:
|
Type : object
|
Default value : {
legend: {
display: false
},
title: {
display: true
},
responsive: true,
maintainAspectRatio: false,
scales: {
xAxes: [{
scaleLabel: {
display: true,
labelString: 'Time (s)'
},
ticks: {
beginAtZero: true
}
}],
yAxes: [{
display: true,
maxBarThickness: 40
}]
}
}
|
error |
error:
|
Type : MemoizedSelector<object, string>
|
Default value : createSelector(
wizardState,
fromWizard.getError
)
|
Exports the error state. |
featureUiState |
featureUiState:
|
Type : MemoizedSelector<object, UiState>
|
Default value : createFeatureSelector<UiState>('ui')
|
map |
map:
|
Type : MemoizedSelector<object, Map>
|
Default value : createSelector(
mapState,
fromMap.getMap
)
|
mapState |
mapState:
|
Type : MemoizedSelector<object, fromMap.MapState>
|
Default value : createSelector(
featureUiState,
(state: UiState) => state.map
)
|
Exports the map state. |
reducers |
reducers:
|
Type : ActionReducerMap<UiState>
|
Default value : {
wizard: fromWizard.wizardReducer,
map: fromMap.mapReducer
}
|
steps |
steps:
|
Type : MemoizedSelector<object, Step[]>
|
Default value : createSelector(
wizardState,
fromWizard.getSteps
)
|
Exports the steps state. |
wizardState |
wizardState:
|
Type : MemoizedSelector<object, fromWizard.WizardState>
|
Default value : createSelector(
featureUiState,
(state: UiState) => state.wizard
)
|
Exports the wizard state. |
end |
end:
|
Type : MemoizedSelector<object, boolean>
|
Default value : createSelector(
simulationState,
fromSimulation.getEnd
)
|
Exports the end state. |
featureSimulationState |
featureSimulationState:
|
Type : MemoizedSelector<object, SimulationState>
|
Default value : createFeatureSelector<SimulationState>('simulation')
|
periods |
periods:
|
Type : MemoizedSelector<object, any>
|
Default value : createSelector(
simulationState,
fromSimulation.getPeriods
)
|
Exports the periods state. |
reducers |
reducers:
|
Type : ActionReducerMap<SimulationState>
|
Default value : {
simulation: fromSimulation.simulationReducer
}
|
simulation |
simulation:
|
Type : MemoizedSelector<object, Simulation>
|
Default value : createSelector(
simulationState,
fromSimulation.getSimulation
)
|
simulationState |
simulationState:
|
Type : MemoizedSelector<object, fromSimulation.SimulationState>
|
Default value : createSelector(
featureSimulationState,
(state: SimulationState) => state.simulation
)
|
Exports the simulation state. |
environment |
environment:
|
Type : object
|
Default value : {
production: false,
testing: true,
functions: {
networkData: {
url: ''
},
trafficData: {
url: ''
}
}
}
|
environment |
environment:
|
Type : object
|
Default value : {
production: true,
testing: false,
functions: {
networkData: {
url: 'https://us-central1-' + appConfig.firebase.projectId + '.cloudfunctions.net/networkData'
},
trafficData: {
url: 'https://us-central1-' + appConfig.firebase.projectId + '.cloudfunctions.net/trafficData'
}
}
}
|
environment |
environment:
|
Type : object
|
Default value : {
production: false,
testing: false,
functions: {
networkData: {
url: 'http://localhost:4201/' + appConfig.firebase.projectId + '/us-central1/networkData'
},
trafficData: {
url: 'http://localhost:4201/' + appConfig.firebase.projectId + '/us-central1/trafficData'
}
}
}
|
getCurrentStep |
getCurrentStep:
|
Type : number
|
Default value : (state: WizardState) => state.currentStep
|
getError |
getError:
|
Type : string
|
Default value : (state: WizardState) => state.error
|
getPending |
getPending:
|
Type : string | boolean
|
Default value : (state: WizardState) => state.pending
|
getSteps |
getSteps:
|
Type : Step[]
|
Default value : (state: WizardState) => state.steps
|
initialWizardState |
initialWizardState:
|
Type : WizardState
|
Default value : {
steps: STEPS,
currentStep: 0,
error: null,
pending: false
}
|
getEnd |
getEnd:
|
Type : boolean
|
Default value : (state: SimulationState) => state.end
|
getPeriods |
getPeriods:
|
Type : any
|
Default value : (state: SimulationState) => state.periods
|
getSimulation |
getSimulation:
|
Type : Simulation
|
Default value : (state: SimulationState) => state.simulation
|
initialSimulationState |
initialSimulationState:
|
Type : SimulationState
|
Default value : {
simulation: null,
end: false,
periods: null
}
|
getMap |
getMap:
|
Type : Map
|
Default value : (state: MapState) => state.map
|
initialMapState |
initialMapState:
|
Type : MapState
|
Default value : {
map: null
}
|
HOME_TRANSITION |
HOME_TRANSITION:
|
Type : AnimationTriggerMetadata
|
Default value : trigger('homeTransition', [
transition('void => *', [
style({
opacity: 0
}),
animate('500ms 0ms ease-in',
style({
opacity: 1
})
)
])
])
|
mapStyle |
mapStyle:
|
Type : google.maps.MapTypeStyle[]
|
Default value : [
{
"featureType": "administrative",
"elementType": "geometry",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "transit",
"stylers": [
{
"visibility": "off"
}
]
}
]
|
sharedModules |
sharedModules:
|
Type : any[]
|
Default value : [
CommonModule,
RouterModule,
HttpClientModule,
FormsModule,
ReactiveFormsModule,
MaterialModule,
FlexLayoutModule
]
|
STEPS |
STEPS:
|
Type : Step[]
|
Default value : []
|
Initial steps. |
uiConfig |
uiConfig:
|
Type : object
|
Default value : {
/**
* Initial map.
*/
map: {
center: { lat: 41.910943, lng: 12.476358 },
zoom: 4
},
/**
* Time of simulation limit in hours.
*/
timeLimit: 24,
/**
* Area limit in hectares.
*/
areaMaxLimit: 30,
areaMinLimit: 3,
links: {
baseColor: '#babdbe',
noTrafficColor: '#76d219',
moderateTrafficColor: '#d27519',
heavyTrafficColor: '#d2191a'
},
/**
* Minimum edge distance for traffic data.
*/
minDistance: 20,
/**
* Minimum edge duration for traffic data.
*/
minDuration: 2,
/**
* Maximum number of O/D pairs that the user can select.
*/
maxOdPairs: 5,
/**
* The number of shortest paths to compute.
*/
k: 3,
/**
* Multinomial logit parameter.
*/
theta: 2,
/**
* Minimum spacing between subsequent vehicles.
*/
sp: 5,
/**
* Shortest paths.
*/
paths: {
/**
* Highly, Medium, Poorly
*/
colors: [
'#004ba0',
'#1976d2',
'#63a4ff'
]
},
/**
* Maximum No. vehicles for O/D pair.
*/
maxDemand: 10000,
/**
* Weather Adjustment Factor Coefficients.
* "Traffic Analysis Toolbox. Volume XI: Weather and Traffic Analysis, Modeling and Simulation"
*/
adjustmentFactorCoefficients: {
maxFlow: [0.91, 0.009, -0.404, -1.455, 0, 0]
},
/**
* Visibility (m).
*/
visibility: {
max: 10000,
default: 10000 // Normal value
},
/**
* Rain rating (mm).
*/
rainIntensity: {
max: 70
},
/**
* Snow rating (mm).
*/
snowIntensity: {
max: 20
},
weatherIcons: ['01d', '02d', '03d', '04d', '09d', '10d', '11d', '13d', '50d'],
/**
* Minimum fraction of the capacity of the moderate traffic level.
*/
moderateTraffic: 0.25,
/**
* Minimum fraction of the capacity of the heavy traffic level.
*/
heavyTraffic: 0.75,
/**
* Simulated time interval (ms).
*/
simulatedTimeInterval: 500,
timeIntervalIncrement: 100,
timeIntervalDecrement: 100,
/**
* Maximum time interval in seconds for LTM.
*/
maxTimeInterval: 10
}
|
User interface configuration. |