⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 priceinitialization.java

📁 蚁群算法是模仿真实的蚁群行为而提出的一种模拟进化算法
💻 JAVA
字号:
package test1;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class PriceInitialization {  public PriceInitialization() {  }  public double[] priIn(){   double[] initPrice = new double[15];   for (int i = 0; i < 15; i++){     double aa = 10 + 100 * Math.random();     double bb = Math.round(aa);     initPrice[i] = bb;   }     return initPrice;   }  }

⌨️ 快捷键说明

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