distribution.java

来自「发布/订阅系统路由重配算法,可应用于ad hoc环境」· Java 代码 · 共 26 行

JAVA
26
字号
package sim;/** * Defines a set of methods a distribution (of values) must provide. */public interface Distribution {	/**	 * Returns the next value.	 * @return the next value.	 */	public double getValue();	/**	 * Returns the distribution's expected value.	 * @return the distribution's expected value.	 */	public double getExpectedValue();	/**	 * Returns the distribution's variance.	 * @return the distribution's variance.	 */    public double getVariance();}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?