simulator.java
来自「Rakiura JFern是一个非常轻型的带有模拟器的Petri网络框架」· Java 代码 · 共 42 行
JAVA
42 行
// This is copyrighted source file, part of Rakiura JFern package. // See the file LICENSE for copyright information and the terms and conditions// for copying, distributing and modifications of Rakiura JFern package.// Copyright (C) 1999-2002 by Mariusz Nowostawski and others [http://www.rakiura.org]package org.rakiura.cpn;/**/import java.util.List;/** * Represents a protocol to a simulator. * *<br><br> * Simulator.java<br> * Created: Tue Sep 26 16:23:07 2000<br> * *@author <a href="mariusz@rakiura.org">Mariusz Nowostawski</a> *@version 2.1.0 $Revision: 1.5 $ *@since 1.0 */public interface Simulator { /** * Runs the simulation in step mode. *@return true if there is some enabled transitions. */ boolean step(); /** * Runs the simulation in a continuous mode. */ void run(); /** *@return the net on which this simulator operates. */ Net net();} // Simulator//////////////////// end of file ////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?