Index

src/app/ui/charts/charts-config.ts

busiestChartOptions
busiestChartOptions: object
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: string
Type : string
Default value : '#63a4ff'
trafficChartOptions
trafficChartOptions: object
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 }] } }

src/app/ui/models/reducers.ts

currentStep
currentStep: MemoizedSelector<object, number>
Type : MemoizedSelector<object, number>
Default value : createSelector( wizardState, fromWizard.getCurrentStep )

Exports the current step state.

error
error: MemoizedSelector<object, string>
Type : MemoizedSelector<object, string>
Default value : createSelector( wizardState, fromWizard.getError )

Exports the error state.

featureUiState
featureUiState: MemoizedSelector<object, UiState>
Type : MemoizedSelector<object, UiState>
Default value : createFeatureSelector<UiState>('ui')
map
map: MemoizedSelector<object, Map>
Type : MemoizedSelector<object, Map>
Default value : createSelector( mapState, fromMap.getMap )
mapState
mapState: MemoizedSelector<object, fromMap.MapState>
Type : MemoizedSelector<object, fromMap.MapState>
Default value : createSelector( featureUiState, (state: UiState) => state.map )

Exports the map state.

pending
pending: MemoizedSelector<object, string | boolean>
Type : MemoizedSelector<object, string | boolean>
Default value : createSelector( wizardState, fromWizard.getPending )

Exports the pending state.

reducers
reducers: ActionReducerMap<UiState>
Type : ActionReducerMap<UiState>
Default value : { wizard: fromWizard.wizardReducer, map: fromMap.mapReducer }
steps
steps: MemoizedSelector<object, Step[]>
Type : MemoizedSelector<object, Step[]>
Default value : createSelector( wizardState, fromWizard.getSteps )

Exports the steps state.

wizardState
wizardState: MemoizedSelector<object, fromWizard.WizardState>
Type : MemoizedSelector<object, fromWizard.WizardState>
Default value : createSelector( featureUiState, (state: UiState) => state.wizard )

Exports the wizard state.

src/app/simulation/models/reducers.ts

end
end: MemoizedSelector<object, boolean>
Type : MemoizedSelector<object, boolean>
Default value : createSelector( simulationState, fromSimulation.getEnd )

Exports the end state.

featureSimulationState
featureSimulationState: MemoizedSelector<object, SimulationState>
Type : MemoizedSelector<object, SimulationState>
Default value : createFeatureSelector<SimulationState>('simulation')
periods
periods: MemoizedSelector<object, any>
Type : MemoizedSelector<object, any>
Default value : createSelector( simulationState, fromSimulation.getPeriods )

Exports the periods state.

reducers
reducers: ActionReducerMap<SimulationState>
Type : ActionReducerMap<SimulationState>
Default value : { simulation: fromSimulation.simulationReducer }
simulation
simulation: MemoizedSelector<object, Simulation>
Type : MemoizedSelector<object, Simulation>
Default value : createSelector( simulationState, fromSimulation.getSimulation )
simulationState
simulationState: MemoizedSelector<object, fromSimulation.SimulationState>
Type : MemoizedSelector<object, fromSimulation.SimulationState>
Default value : createSelector( featureSimulationState, (state: SimulationState) => state.simulation )

Exports the simulation state.

src/environments/environment.test.ts

environment
environment: object
Type : object
Default value : { production: false, testing: true, functions: { networkData: { url: '' }, trafficData: { url: '' } } }

src/environments/environment.prod.ts

environment
environment: object
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' } } }

src/environments/environment.ts

environment
environment: object
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' } } }

src/app/ui/models/reducers/wizard.reducer.ts

getCurrentStep
getCurrentStep: number
Type : number
Default value : (state: WizardState) => state.currentStep
getError
getError: string
Type : string
Default value : (state: WizardState) => state.error
getPending
getPending: string | boolean
Type : string | boolean
Default value : (state: WizardState) => state.pending
getSteps
getSteps: Step[]
Type : Step[]
Default value : (state: WizardState) => state.steps
initialWizardState
initialWizardState: WizardState
Type : WizardState
Default value : { steps: STEPS, currentStep: 0, error: null, pending: false }

src/app/simulation/models/reducers/simulation.reducer.ts

getEnd
getEnd: boolean
Type : boolean
Default value : (state: SimulationState) => state.end
getPeriods
getPeriods: any
Type : any
Default value : (state: SimulationState) => state.periods
getSimulation
getSimulation: Simulation
Type : Simulation
Default value : (state: SimulationState) => state.simulation
initialSimulationState
initialSimulationState: SimulationState
Type : SimulationState
Default value : { simulation: null, end: false, periods: null }

src/app/ui/models/reducers/map.reducer.ts

getMap
getMap: Map
Type : Map
Default value : (state: MapState) => state.map
initialMapState
initialMapState: MapState
Type : MapState
Default value : { map: null }

src/app/home/home.transition.ts

HOME_TRANSITION
HOME_TRANSITION: AnimationTriggerMetadata
Type : AnimationTriggerMetadata
Default value : trigger('homeTransition', [ transition('void => *', [ style({ opacity: 0 }), animate('500ms 0ms ease-in', style({ opacity: 1 }) ) ]) ])

src/app/ui/map/map.style.ts

mapStyle
mapStyle: google.maps.MapTypeStyle[]
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" } ] } ]

src/app/shared/material.module.ts

materialModules
materialModules: any[]
Type : any[]
Default value : [ MatSidenavModule, MatToolbarModule, MatCardModule, MatButtonModule, MatIconModule, MatMenuModule, MatStepperModule, MatInputModule, MatSnackBarModule, MatProgressSpinnerModule, MatTooltipModule, MatDialogModule, MatGridListModule, MatSelectModule, MatExpansionModule, MatTableModule ]

src/app/shared/shared.module.ts

sharedModules
sharedModules: any[]
Type : any[]
Default value : [ CommonModule, RouterModule, HttpClientModule, FormsModule, ReactiveFormsModule, MaterialModule, FlexLayoutModule ]

src/app/ui/models/ui-state.ts

STEPS
STEPS: Step[]
Type : Step[]
Default value : []

Initial steps.

src/app/ui/ui-config.ts

uiConfig
uiConfig: object
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.

result-matching ""

    No results matching ""