|
||||||||||
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.GuidedSchedulingStrategistProxy
public static class DefaultCounterExampleWriter.GuidedSchedulingStrategistProxy
[Document Pending]
Field Summary | |
---|---|
protected List<ICounterExampleSchedulingInfo> |
schedulingDecisions
|
protected DefaultCounterExampleWriter.GuidedSystemSharedState |
sharedSearchState
Search metadata shared across all guided components. |
protected ISchedulingStrategist |
ss
[Document Pending] |
Fields inherited from interface edu.ksu.cis.projects.bogor.module.ISchedulingStrategist |
---|
TRANSFORMATION_FILTER_ID |
Constructor Summary | |
---|---|
DefaultCounterExampleWriter.GuidedSchedulingStrategistProxy(ISchedulingStrategist ss,
DefaultCounterExampleWriter.GuidedSystemSharedState gsss,
List<ICounterExampleSchedulingInfo> path)
Creates a new GuidedSchedulingStrategistProxy object. |
Method Summary | |
---|---|
int |
advise(int extDesc,
Node node,
IValue[] choices,
ISchedulingStrategyInfo ssi)
[Document Pending] |
int |
advise(ISchedulingStrategyContext ssc,
int[] threadIds,
Transformation[] transformations,
ISchedulingStrategyInfo ssi)
[Document Pending] |
int |
advise(ISchedulingStrategyContext ssc,
Transformation[] transformations,
ISchedulingStrategyInfo ssi)
Choose among non-deterministic transformations to take immediately following the control of transfer from one FSM location to another. |
IMessageStore |
connect(IBogorConfiguration bc)
[Document Pending] |
void |
disableInterleaving()
[Document Pending] |
void |
dispose()
[Document Pending] |
void |
enableInterleaving()
[Document Pending] |
void |
enter(ISchedulingStrategyContext ssc,
Node node)
[Document Pending] |
void |
enterSimulation()
Inform the scheduling strategist that a series of transitions are about to be executed which should not be pre-scripted (e.g., will not appear in a counterexample trail). |
void |
exit()
[Document Pending] |
void |
exitSimulation()
Exit the scope denoted by the corresponding ISchedulingStrategist.enterSimulation()
call. |
String |
getCopyrightNotice()
[Document Pending] |
IntObjectTable<ArrayList<Transformation>> |
getEnabledTransformations(IEnabledTransformationsContext etc)
[Document Pending] |
IntObjectTable<ArrayList<Transformation>> |
getEnabledTransformations(IEnabledTransformationsContext etc,
Set<Transformation> ignoredTransformations)
Find all the enabled FSM transitions except those given in ignoredTransformations . |
ITransformationFilter[] |
getTransformationFilters()
[Document Pending] |
IntObjectTable<ArrayList<Transformation>> |
getWorkSet(IEnabledTransformationsContext etc)
[Document Pending] |
IntObjectTable<ArrayList<Transformation>> |
getWorkSet(IEnabledTransformationsContext etc,
Set<Transformation> ignoredTransformations)
Find a reduced set of transitions whose executions will suffice to represent the execution of all enabled transformations. |
Object |
invoke(Object receiver,
Method m,
Object[] args)
[Document Pending] |
boolean |
isEnabled(IState state,
Transformation t,
int threadId)
[Document Pending] |
boolean |
isInSimulatingScope()
|
ISchedulingStrategyInfo |
newStrategyInfo()
[Document Pending] |
IMessageStore |
setOptions(String key,
Properties configuration)
[Document Pending] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ISchedulingStrategist ss
protected List<ICounterExampleSchedulingInfo> schedulingDecisions
protected DefaultCounterExampleWriter.GuidedSystemSharedState sharedSearchState
Constructor Detail |
---|
public DefaultCounterExampleWriter.GuidedSchedulingStrategistProxy(ISchedulingStrategist ss, DefaultCounterExampleWriter.GuidedSystemSharedState gsss, List<ICounterExampleSchedulingInfo> path)
ss
- [Document Pending]Method Detail |
---|
public String getCopyrightNotice()
getCopyrightNotice
in interface IModule
public void enterSimulation()
ISchedulingStrategist
enterSimulation
in interface ISchedulingStrategist
public void exitSimulation()
ISchedulingStrategist
ISchedulingStrategist.enterSimulation()
call.
exitSimulation
in interface ISchedulingStrategist
public boolean isInSimulatingScope()
isInSimulatingScope
in interface ISchedulingStrategist
public void disableInterleaving()
disableInterleaving
in interface ISchedulingStrategist
public void enableInterleaving()
enableInterleaving
in interface ISchedulingStrategist
public boolean isEnabled(IState state, Transformation t, int threadId)
isEnabled
in interface ISchedulingStrategist
state
- [Document Pending]t
- [Document Pending]threadId
- [Document Pending]
public IntObjectTable<ArrayList<Transformation>> getEnabledTransformations(IEnabledTransformationsContext etc)
getEnabledTransformations
in interface ISchedulingStrategist
etc
- [Document Pending]
public IntObjectTable<ArrayList<Transformation>> getEnabledTransformations(IEnabledTransformationsContext etc, Set<Transformation> ignoredTransformations)
ISchedulingStrategist
ignoredTransformations
.
getEnabledTransformations
in interface ISchedulingStrategist
ignoredTransformations
- a Set<Transformation>
of transformations to
ignore across all threads
int
) to an
ArrayList<Transformation>
of the
transformations enabled for that thread.public IMessageStore setOptions(String key, Properties configuration)
setOptions
in interface IModule
key
- [Document Pending]configuration
- [Document Pending]public IntObjectTable<ArrayList<Transformation>> getWorkSet(IEnabledTransformationsContext etc)
getWorkSet
in interface ISchedulingStrategist
etc
- [Document Pending]
public IntObjectTable<ArrayList<Transformation>> getWorkSet(IEnabledTransformationsContext etc, Set<Transformation> ignoredTransformations)
ISchedulingStrategist
getWorkSet
in interface ISchedulingStrategist
ignoredTransformations
- a Set<Transformation>
of transformations to
ignore across all threads
int
) to an
ArrayList<Transformation>
of the
transformations enabled for that thread.public int advise(ISchedulingStrategyContext ssc, Transformation[] transformations, ISchedulingStrategyInfo ssi)
ISchedulingStrategist
advise
in interface ISchedulingStrategist
public ITransformationFilter[] getTransformationFilters()
getTransformationFilters
in interface ISchedulingStrategist
public int advise(int extDesc, Node node, IValue[] choices, ISchedulingStrategyInfo ssi)
advise
in interface ISchedulingStrategist
extDesc
- [Document Pending]node
- [Document Pending]choices
- [Document Pending]ssi
- [Document Pending]
public int advise(ISchedulingStrategyContext ssc, int[] threadIds, Transformation[] transformations, ISchedulingStrategyInfo ssi)
advise
in interface ISchedulingStrategist
ssc
- [Document Pending]threadIds
- [Document Pending]transformations
- [Document Pending]ssi
- [Document Pending]
public IMessageStore connect(IBogorConfiguration bc)
connect
in interface IModule
bc
- [Document Pending]public void dispose()
dispose
in interface Disposable
public void enter(ISchedulingStrategyContext ssc, Node node)
enter
in interface ISchedulingStrategist
ssc
- [Document Pending]node
- [Document Pending]public void exit()
exit
in interface ISchedulingStrategist
public Object invoke(Object receiver, Method m, Object[] args)
invoke
in interface InvocationHandler
receiver
- [Document Pending]m
- [Document Pending]args
- [Document Pending]
public ISchedulingStrategyInfo newStrategyInfo()
newStrategyInfo
in interface ISchedulingStrategist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |