reorganizing dirs in dir_reorg branch, sorry for all the commit notifications
[javacyc.git] / javacyc_1.0 / StressTest.java
blob5a06d96bab384b995e3d1e115d355d3cbeca5b13
1 import java.util.*;
3 public class StressTest {
4 public static void main(String[] args) {
5 Javacyc cyc = new Javacyc("ARA");
6 doTrialRun(cyc);
10 private static void doTrialRun(Javacyc cyc) {
11 ArrayList result_enzrxn =
12 cyc.getClassAllInstances("|Enzymatic-Reactions|");
13 for (int i = 0; i < result_enzrxn.size(); i++) {
14 String er = (String)result_enzrxn.get(i);
15 System.out.println(i);
16 System.out.println(cyc.getSlotValue(er,"Reaction"));
17 System.out.println(cyc.getSlotValue(er,"Reaction-Direction"));