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

📄 predatorinvariantanalysis.java

📁 Petri网分析工具PIPE is open-source
💻 JAVA
字号:
/**
 * Wrapper class to allow the predator Invariant Analysis module to be integrated with PIPE
 *  @author Manos Papantoniou
 *  @version March 2003
 */

package pipe.modules.predatorInvariantAnalysis;

import pipe.dataLayer.*;
import pipe.modules.*;

public class PredatorInvariantAnalysis implements Module {
  private static final String MODULE_NAME = "Predator Invariant Analysis";

  // empty default constructor
  public PredatorInvariantAnalysis() {}

  /** @return        The module name
   */
  public String getName() {
    return MODULE_NAME;
  }

  // call module's runModule(), no arguments needed (asks user for file to analyse)
  public void run (DataLayer dataObj) {
    try {
    dataObj.savePNML("current.xml");
    }
    catch (Exception e){
      e.printStackTrace();
    }
    Analysis predatorMod = new Analysis();
    predatorMod.runModule();
  }
}

⌨️ 快捷键说明

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