1 package org.opentrafficsim.road.gtu.generator;
2
3 /**
4 * Interface to check whether a GTU will have sufficient space to be generated. Implementations of this interface need
5 * to define required input for instance by their constructors.
6 * <p>
7 * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
8 * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
9 * </p>
10 * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
11 * initial version 5 apr. 2016 <br>
12 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
13 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
14 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
15 */
16
17 public interface SpaceChecker
18 {
19
20 /**
21 * Checks whether a GTU will have enough space to be generated.
22 * @return Whether a GTU will have enough space to be generated.
23 */
24 public boolean checkEnoughSpace();
25
26 }