|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ksu.cis.projects.bogor.module.DefaultCounterExampleWriter.GuidedSearcherProxy
protected class DefaultCounterExampleWriter.GuidedSearcherProxy
[Document Pending]
Field Summary | |
---|---|
protected IBacktrackingInfoFactory |
bif
[Document Pending] |
protected boolean |
externalizeAllStateInfo
Flag controlling whether all states, transition sets, and next thread locations are externalized on the fly. |
protected IntStack |
recentlyMovedThreadIds
Stack of thread descriptors corresponding to id of thread which executed each transition on DFS stack. |
protected List<ICounterExampleSchedulingInfo> |
schedulingDecisions
The error path to reconstruct. |
protected int |
schedulingDecisionsToUse
Execute the first X many steps of the counterexample trail. |
protected DefaultStateExternalizer |
se
[Document Pending] |
protected DefaultCounterExampleWriter.GuidedSystemSharedState |
sharedSearchState
Search metadata shared across all guided components. |
protected ISearcher |
sr
[Document Pending] |
protected ISchedulingStrategist |
ss
[Document Pending] |
Fields inherited from interface edu.ksu.cis.projects.bogor.module.ISearcher |
---|
ASSERTION_FAILED_CODE, EXT_FAILED_CODE, ILL_FORMED_MODEL_CODE, INVALID_END_STATE_CODE, INVARIANT_VIOLATED_CODE, RANGE_EXCEPTION_CODE, UNCAUGHT_EXCEPTION_CODE |
Constructor Summary | |
---|---|
DefaultCounterExampleWriter.GuidedSearcherProxy(ISearcher sr,
DefaultCounterExampleWriter.GuidedSystemSharedState gsss,
List<ICounterExampleSchedulingInfo> schedulingDecisions)
Creates a new GuidedSearcherProxy object. |
|
DefaultCounterExampleWriter.GuidedSearcherProxy(ISearcher sr,
DefaultCounterExampleWriter.GuidedSystemSharedState gsss,
List<ICounterExampleSchedulingInfo> schedulingDecisions,
int schedulingDecisionsToUse,
boolean externalizeAllData)
Creates a new GuidedSearcherProxy object. |
Method Summary | |
---|---|
boolean |
backtrack()
[Document Pending] |
IMessageStore |
connect(IBogorConfiguration bc)
[Document Pending] |
IState |
createInitialState()
[Document Pending] |
void |
dispose()
[Document Pending] |
void |
doTransition(int threadId,
Transformation t,
Action a)
[Document Pending] |
void |
error(int errCode)
[Document Pending] |
protected void |
externalizeEnabledTransitions(IState state,
int[] threadIds,
Transformation[] transformations)
[Document Pending] |
protected void |
externalizeNextMovedThread(IState state,
int threadId,
Transformation t)
[Document Pending] |
protected void |
externalizeState(String stateId)
[Document Pending] |
ArrayList<IBacktrackingInfo> |
getBacktrackingInfos()
[Document Pending] |
String |
getCopyrightNotice()
[Document Pending] |
String |
getEnabledTransitions()
Get the set of enabled transitions at time of snapshot. |
int |
getErrorCount()
[Document Pending] |
protected Location |
getLocation(int locDesc)
[Document Pending] |
String |
getNextMovedThread()
Get the transition set to be executed next at time of snapshot. |
IState |
getState()
[Document Pending] |
String |
getStateSnapshot()
Get state at time of snapshot. |
void |
initialize()
[Document Pending] |
Object |
invoke(Object receiver,
Method m,
Object[] args)
[Document Pending] |
void |
search()
[Document Pending] |
IMessageStore |
setOptions(String key,
Properties configuration)
[Document Pending] |
boolean |
shouldStore()
[Document Pending] |
boolean |
step()
[Document Pending] |
boolean |
stepBackward()
[Document Pending] |
boolean |
store()
[Document Pending] |
void |
writeCounterExamples()
[Document Pending] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DefaultStateExternalizer se
protected ISearcher sr
protected ISchedulingStrategist ss
protected IBacktrackingInfoFactory bif
protected List<ICounterExampleSchedulingInfo> schedulingDecisions
protected boolean externalizeAllStateInfo
protected int schedulingDecisionsToUse
protected DefaultCounterExampleWriter.GuidedSystemSharedState sharedSearchState
protected IntStack recentlyMovedThreadIds
Constructor Detail |
---|
public DefaultCounterExampleWriter.GuidedSearcherProxy(ISearcher sr, DefaultCounterExampleWriter.GuidedSystemSharedState gsss, List<ICounterExampleSchedulingInfo> schedulingDecisions)
sr
- [Document Pending]public DefaultCounterExampleWriter.GuidedSearcherProxy(ISearcher sr, DefaultCounterExampleWriter.GuidedSystemSharedState gsss, List<ICounterExampleSchedulingInfo> schedulingDecisions, int schedulingDecisionsToUse, boolean externalizeAllData)
sr
- [Document Pending]Method Detail |
---|
public ArrayList<IBacktrackingInfo> getBacktrackingInfos()
getBacktrackingInfos
in interface ISearcher
public String getCopyrightNotice()
getCopyrightNotice
in interface IModule
public String getEnabledTransitions()
DefaultCounterExampleWriter.IStateSnapshotSource
getEnabledTransitions
in interface DefaultCounterExampleWriter.IStateSnapshotSource
public int getErrorCount()
getErrorCount
in interface ISearcher
public String getNextMovedThread()
DefaultCounterExampleWriter.IStateSnapshotSource
getNextMovedThread
in interface DefaultCounterExampleWriter.IStateSnapshotSource
public IMessageStore setOptions(String key, Properties configuration)
setOptions
in interface IModule
key
- [Document Pending]configuration
- [Document Pending]public IState getState()
getState
in interface ISearcher
public String getStateSnapshot()
DefaultCounterExampleWriter.IStateSnapshotSource
getStateSnapshot
in interface DefaultCounterExampleWriter.IStateSnapshotSource
public boolean backtrack()
backtrack
in interface ISearcher
public IMessageStore connect(IBogorConfiguration bc)
connect
in interface IModule
bc
- [Document Pending]public IState createInitialState()
createInitialState
in interface ISearcher
public void dispose()
dispose
in interface Disposable
public void doTransition(int threadId, Transformation t, Action a)
doTransition
in interface ISearcher
threadId
- [Document Pending]t
- [Document Pending]a
- [Document Pending]public void error(int errCode)
error
in interface ISearcher
errCode
- [Document Pending]public void initialize()
initialize
in interface ISearcher
public Object invoke(Object receiver, Method m, Object[] args)
invoke
in interface InvocationHandler
receiver
- [Document Pending]m
- [Document Pending]args
- [Document Pending]
public void search()
search
in interface ISearcher
public boolean shouldStore()
shouldStore
in interface ISearcher
public boolean step()
step
in interface ISearcher
public boolean stepBackward()
stepBackward
in interface ISearcher
public boolean store()
store
in interface ISearcher
public void writeCounterExamples()
writeCounterExamples
in interface ISearcher
protected Location getLocation(int locDesc)
locDesc
- [Document Pending]
protected void externalizeEnabledTransitions(IState state, int[] threadIds, Transformation[] transformations)
threadIds
- [Document Pending]transformations
- [Document Pending]protected void externalizeNextMovedThread(IState state, int threadId, Transformation t)
threadId
- [Document Pending]t
- [Document Pending]protected void externalizeState(String stateId)
stateId
- [Document Pending]
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |