1
2
3
4
5
6
7
8
9
10 package nl.tudelft.simulation.dsol.tutorial.section42.policies;
11
12 /***
13 * A OrderingPolicy <br>
14 * (c) copyright 2003 <a href="http://www.simulation.tudelft.nl">Delft
15 * University of Technology </a>, the Netherlands. <br>
16 * See for project information <a
17 * href="http://www.simulation.tudelft.nl">www.simulation.tudelft.nl </a> <br>
18 * License of use: <a href="http://www.gnu.org/copyleft/gpl.html">General Public
19 * License (GPL) </a>, no warranty <br>
20 *
21 * @version 1.0 Dec 8, 2003 <br>
22 * @author <a href="http://www.simulation.tudelft.nl/people/jacobs.html">Peter
23 * Jacobs </a>
24 */
25 public interface OrderingPolicy
26 {
27 /***
28 * decides the amount of product to order
29 *
30 * @param inventory the current inventory
31 * @return long the amount
32 */
33 long computeAmountToOrder(final long inventory);
34 }