これはフォーラムへの私の最初の投稿です。皆さんが元気であることを願っています。
Eclipse内のJavaのアドホックシミュレーターであるJiST/SWANSの使用に問題があります。
APIを(もちろん外部JARとして)ロードすることができましたが、基本的にJiSTのランタイムをeclipseに統合する際に問題が発生します。hello world imを実行した後、ランタイム内で変更が必要になる可能性があるため、通常はstackoverflowerror例外が発生します。
import jist.runtime.JistAPI;
public class hello implements JistAPI.Entity {
/**
* @param args
*/
public static void main(String[] args) {
System.out.println("simulation start");
hello t = new hello();
t.myEvent();
}
public void myEvent()
{
JistAPI.sleep(1);
myEvent();
System.out.println("hello world, t=" + JistAPI.getTime());
}
}
ウェブサイトは次のとおりです。http://jist.ece.cornell.edu/index.html
前もって感謝します!