compute-db-station-weight
Version:
Estimate the weight of a DB station using departures.
12 lines (8 loc) • 299 B
JavaScript
import {createDbHafas as createHafas} from 'db-hafas'
import {createEstimate} from 'hafas-estimate-station-weight'
import weights from './lib/weights.js'
const hafas = createHafas('compute-db-station-weight')
const estimate = createEstimate(hafas, weights)
export {
estimate as computeWeight,
}