1 package gov.nasa.jpf; 20 21 25 public interface Search { 26 27 public static final String DEPTH_CONSTRAINT = "DEPTH"; 28 public static final String QUEUE_CONSTRAINT = "QUEUE"; 29 public static final String SIZE_CONSTRAINT = "SIZE"; 30 31 34 void addListener (SearchListener listener); 35 36 void addProperty (Property property); 37 void removeProperty (Property property); 38 39 42 ErrorList getErrors (); 43 44 47 boolean hasNextState(); 48 49 52 boolean isNewState (); 53 54 boolean isEndState (); 55 56 59 int getSearchDepth(); 60 61 64 Transition getTransition(); 65 66 69 int getStateNumber(); 70 71 74 String getSearchConstraint(); 75 76 79 boolean requestBacktrack (); 80 81 84 boolean supportsBacktrack (); 85 86 89 boolean supportsRestoreState (); 90 91 94 void search (); 95 96 } 97 | Popular Tags |