package jsprit.core.problem.vehicle;

import java.util.Collection;


public class InfiniteFleetManagerFactory implements VehicleFleetManagerFactory{

	private Collection<Vehicle> vehicles;
	
	public InfiniteFleetManagerFactory(Collection<Vehicle> vehicles) {
		super();
		this.vehicles = vehicles;
	}

	@Override
	public VehicleFleetManager createFleetManager() {
		return new InfiniteVehicles(vehicles);
	}

}

@@ -1,8 +1,887 @@
+/*******************************************************************************%0A * Copyright (C) 2013  Stefan Schroeder%0A * %0A * This library is free software; you can redistribute it and/or%0A * modify it under the terms of the GNU Lesser General Public%0A * License as published by the Free Software Foundation; either %0A * version 3.0 of the License, or (at your option) any later version.%0A * %0A * This library is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU%0A * Lesser General Public License for more details.%0A * %0A * You should have received a copy of the GNU Lesser General Public %0A * License along with this library.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A ******************************************************************************/%0A
 package 
@@ -940,17 +940,74 @@
 ction;%0A%0A
+/**%0A * Factory that creates an infinite fleetmanager.%0A */
 %0A
-
 public c
@@ -1120,16 +1120,75 @@
 cles;%0A%09%0A
+        /**%0A         * Constructs the factory.%0A         */%0A
 %09public 
@@ -1290,16 +1290,86 @@
 es;%0A%09%7D%0A%0A
+        /**%0A         * Creates the infinite fleetmanager.%0A         */%0A
 %09@Overri

add javadoc