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

📄 feeds.java

📁 Java source code for the Ant Colony Optimization Problem.
💻 JAVA
字号:
package jwo.jpss.ants;   // Part of the ant simulation package.

//  *******************************************************
/** Interface for things that can eat.
  * @author Jo Wood
  * @version 1.1, 17th January, 2001.
  */
//  *******************************************************

public interface Feeds 
{   
    /** Eat a given amount of food.
      * @param foodUnits Amount of food to eat.
      */
    public abstract void eat(int foodUnits);
    
    
    /** Metabolise a given amount of food.
      * @param foodUnits Amount of food to metabolise.
      */
    public abstract void metabolise(int foodUnits);

}

⌨️ 快捷键说明

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