|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ksu.cis.projects.bogor.module.DefaultCounterExampleWriter
public class DefaultCounterExampleWriter
[Document Pending]
| Nested Class Summary | |
|---|---|
protected class |
DefaultCounterExampleWriter.DummyProgressManager
[Document Pending] |
protected static class |
DefaultCounterExampleWriter.DummyStateManagerProxy
[Document Pending] |
static class |
DefaultCounterExampleWriter.GuidedSchedulingStrategistProxy
[Document Pending] |
protected class |
DefaultCounterExampleWriter.GuidedSearcherProxy
[Document Pending] |
static class |
DefaultCounterExampleWriter.GuidedSystemSharedState
Information that should be kept in sync among components of a guided search system. |
static interface |
DefaultCounterExampleWriter.IGuidedSimulator
|
static interface |
DefaultCounterExampleWriter.IStateSnapshotSource
|
| Field Summary | |
|---|---|
protected IBogorConfiguration |
bc
|
static String |
BUNDLED_SCHEDULE_FILENAME
|
static String |
CONFIGURATION_CLASSNAME_FILENAME
|
static String |
CONFIGURATION_FILENAME
|
protected List<ICounterExampleSchedulingInfo> |
currErrorSchedules
|
protected String |
errorDirName
|
protected ArrayList<String> |
errorReasons
|
protected ArrayList<List<ICounterExampleSchedulingInfo>> |
errorSchedulesList
|
protected static String |
EXPAND_TRAILS_ID
|
protected boolean |
expandTrails
|
protected static String |
GENERATE_TRAILS_ID
|
protected boolean |
generateTrails
|
protected Properties |
overriddenBogorConfiguration
|
protected static String |
OVERRIDE_ID
|
protected PrintWriter |
pw
|
protected int |
stateNum
|
protected String |
statesDirName
|
protected SymbolTable |
symbolTable
|
protected static String |
TRAILS_EXT
|
protected String |
trailsExt
|
protected String |
transitionsDirName
|
protected ZipOutputStream |
zos
|
protected PrintWriter |
zpw
|
| Constructor Summary | |
|---|---|
DefaultCounterExampleWriter()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String TRAILS_EXT
public static final String CONFIGURATION_CLASSNAME_FILENAME
public static final String CONFIGURATION_FILENAME
public static final String BUNDLED_SCHEDULE_FILENAME
protected static final String GENERATE_TRAILS_ID
protected static final String EXPAND_TRAILS_ID
protected static final String OVERRIDE_ID
protected String trailsExt
protected boolean generateTrails
protected boolean expandTrails
protected IBogorConfiguration bc
protected SymbolTable symbolTable
protected PrintWriter pw
protected ArrayList<List<ICounterExampleSchedulingInfo>> errorSchedulesList
protected ArrayList<String> errorReasons
protected ZipOutputStream zos
protected PrintWriter zpw
protected List<ICounterExampleSchedulingInfo> currErrorSchedules
protected int stateNum
protected String errorDirName
protected String statesDirName
protected String transitionsDirName
protected Properties overriddenBogorConfiguration
| Constructor Detail |
|---|
public DefaultCounterExampleWriter()
| Method Detail |
|---|
public String getCopyrightNotice()
getCopyrightNotice in interface IModule
public DefaultCounterExampleWriter.IGuidedSimulator getGuidedSimulator(SymbolTable symtab,
Properties config,
Class bcClass,
List<ICounterExampleSchedulingInfo> scheduleDecisions)
public DefaultCounterExampleWriter.IGuidedSimulator getGuidedSimulator(SymbolTable symtab,
Properties config,
Class bcClass,
List<ICounterExampleSchedulingInfo> scheduleDecisions,
int numScheduleDecisionsToUse,
boolean externalizeAllSteps)
public IMessageStore setOptions(String key,
Properties configuration)
setOptions in interface IModulekey - [Document Pending]configuration - [Document Pending]public Properties getOverriddenBogorConfiguration()
getOverriddenBogorConfiguration in interface ICounterExampleWriterpublic IMessageStore connect(IBogorConfiguration bc)
connect in interface IModulebc - [Document Pending]public void dispose()
dispose in interface Disposable
public void storeCounterExample(List<ICounterExampleSchedulingInfo> cesis,
String reason)
storeCounterExample in interface ICounterExampleWriterpublic void writeCounterExamples()
writeCounterExamples in interface ICounterExampleWriterprotected Properties getCounterExampleGenerationConfiguration()
public Collection<Triple<String,Boolean,OptionScope>> getOptionIds()
getOptionIds in interface ISelfDescribingModuleedu.ksu.cis.projects.bogor.module.ISearcher)
or global in scope (and thus no qualifier is prepended).public Pair<Domain,Boolean> getOptionDomain(String id)
getOptionDomain in interface ISelfDescribingModule
public Collection<String> getSuggestedValues(String id,
IBogorConfiguration bc,
SymbolTable st)
getSuggestedValues in interface ISelfDescribingModule
public boolean validate(String id,
String value,
IBogorConfiguration bc,
SymbolTable st,
Collection<FileMessage> errors)
validate in interface ISelfDescribingModuleid - the option's name, as returned by the first tuple element of
an item returned by getOptionIds()value - the value of the option, or null if unconfiguedst - the symbol table for the BIR modelerrors - a container into which errors should be put. Implementors
should not assume that errors is empty upon
entry into this method; it may aggregate the results of
calling validate on many
ISelfDescribingModule instances.
true iff the option is supported and its value is legal
public static List<ICounterExampleSchedulingInfo> parseCounterExampleErrorSchedule(InputStream is)
throws ClassNotFoundException
ClassNotFoundException
public static IntObjectTable<ErrorType> getErrorTraceDescriptions(File trailsFile)
throws IOException,
JAXBException
IOException
JAXBException
public static DefaultCounterExampleWriter.IGuidedSimulator getSimulator(File trailsFile,
int traceNumber,
SymbolTable st,
PrintWriter pw)
throws ClassNotFoundException,
IOException
st - optional. If given, the symbol table isn't parsed from the trace file
ClassNotFoundException
IOException
public static DefaultCounterExampleWriter.IGuidedSimulator getSimulator(File trailsFile,
int traceNumber,
SymbolTable st,
Class bogorConfigurationClass,
PrintWriter pw)
throws ClassNotFoundException,
IOException
st - optional. If given, the symbol table isn't parsed from the trace file
ClassNotFoundException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||