001/* *********************************************************************** *
002 * project: org.matsim.*
003 * ArrayFastRouterDelegateFactory.java
004 *                                                                         *
005 * *********************************************************************** *
006 *                                                                         *
007 * copyright       : (C) 2012 by the members listed in the COPYING,        *
008 *                   LICENSE and WARRANTY file.                            *
009 * email           : info at matsim dot org                                *
010 *                                                                         *
011 * *********************************************************************** *
012 *                                                                         *
013 *   This program is free software; you can redistribute it and/or modify  *
014 *   it under the terms of the GNU General Public License as published by  *
015 *   the Free Software Foundation; either version 2 of the License, or     *
016 *   (at your option) any later version.                                   *
017 *   See also COPYING, LICENSE and WARRANTY file                           *
018 *                                                                         *
019 * *********************************************************************** */
020
021package org.matsim.core.router;
022
023import org.matsim.core.router.util.ArrayRoutingNetwork;
024import org.matsim.core.router.util.NodeDataFactory;
025import org.matsim.core.router.util.RoutingNetwork;
026
027public class ArrayFastRouterDelegateFactory implements FastRouterDelegateFactory {
028
029        @Override
030        public ArrayFastRouterDelegate createFastRouterDelegate(Dijkstra dijkstra,
031                        NodeDataFactory nodeDataFactory, RoutingNetwork routingNetwork) {
032                return new ArrayFastRouterDelegate(dijkstra, nodeDataFactory, (ArrayRoutingNetwork) routingNetwork);
033        }
034}