View Javadoc
1   package org.opentrafficsim.core.egtf;
2   
3   /**
4    * Shape interface for a kernel.
5    * <p>
6    * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7    * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
8    * <p>
9    * @version $Revision$, $LastChangedDate$, by $Author$, initial version 24 okt. 2018 <br>
10   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
11   */
12  public interface KernelShape
13  {
14  
15      /**
16       * Calculates a weight.
17       * @param c double; assumed propagation speed
18       * @param dx double; distance between measurement and estimated point
19       * @param dt double; time between measurement and estimated point
20       * @return double; weight
21       */
22      double weight(double c, double dx, double dt);
23  
24  }