Centralized versus distributed approaches to railway traffic control