public class GlobalContext
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalContext.ExplorationProcessState |
| Constructor and Description |
|---|
GlobalContext() |
public void waitForTermination()
public ExplorerThread tryStartNewThread(ThreadContext originalThreadContext, IStrategy strategy)
public ExplorerThread tryStartNewThreadWithoutModelClone(ThreadContext originalThreadContext, IStrategy strategy)
public ExplorerThread startFirstThread(IStrategy strategy, org.eclipse.emf.common.notify.Notifier model)
public ExplorerThread startFirstThreadWithoutModelClone(IStrategy strategy, org.eclipse.emf.common.notify.Notifier model)
public void startAllThreads(ThreadContext originalThreadContext, IStrategyFactory strategyFactory)
public void strategyFinished(ExplorerThread strategy)
strategyBase - The Strategy.tedToClone - The model to clone. Hint: context.getTed()public boolean isDone()
public boolean isNotStarted()
public boolean canStartNewThread()
public void stopAllThreads()
public void registerException(java.lang.Throwable e)
public java.util.List<IDesignSpaceVisualizer> getVisualizers()
public void registerDesignSpaceVisualizer(IDesignSpaceVisualizer visualizer)
public void deregisterDesignSpaceVisualizer(IDesignSpaceVisualizer visualizer)
public boolean isDesignSpaceVisualizerRegistered(IDesignSpaceVisualizer visualizer)
public void initVisualizersForThread(ThreadContext threadContext)
public boolean isExceptionHappendInOtherThread()
public java.util.Collection<java.lang.Throwable> getExceptions()
public IStateCoderFactory getStateCoderFactory()
public void setStateCoderFactory(IStateCoderFactory stateCoderFactory)
public java.util.Set<BatchTransformationRule<?,?>> getTransformations()
public void setTransformations(java.util.Set<BatchTransformationRule<?,?>> transformations)
public DSEThreadPool getThreadPool()
public IDesignSpace getDesignSpace()
public void setDesignSpace(IDesignSpace designSpace)
public int getNumberOfStartedThreads()
public java.lang.Object getSharedObject()
public void setSharedObject(java.lang.Object sharedObject)
public GlobalContext.ExplorationProcessState getState()
public java.util.List<IObjective> getObjectives()
public void setObjectives(java.util.List<IObjective> objectives)
public java.util.List<IGlobalConstraint> getGlobalConstraints()
public void setGlobalConstraints(java.util.List<IGlobalConstraint> globalConstraints)
public IObjective[][] getLeveledObjectives()
public void setSolutionStore(SolutionStore solutionStore)
public SolutionStore getSolutionStore()
public java.util.Map<RuleSpecification<?>,BatchTransformationRule<?,?>> getSpecificationRuleMap()
public void setConflictResolver(ConflictResolver conflictResolver)
public ConflictResolver getConflictResolver()