Package org.palladiosimulator.pcm.uncertainty.variation.UncertaintyVariationModel.gen.pcm.statespace
Interface StatespaceIterator
-
public interface StatespaceIterator
StatespaceIterator represents a traversal iteration for the Statespace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getCurrentState()
return the current state of the StatespaceIteratorList<String>
getCurrentStateValue()
return the value of current stateboolean
hasNext()
tests and returns whether the Statespace has not yet been completely traversaledvoid
next()
traversals the statespace by one step.void
patchModels(Map<String,List<EObject>> models)
patches the models with the current variation
-
-
-
Method Detail
-
hasNext
boolean hasNext()
tests and returns whether the Statespace has not yet been completely traversaled- Returns:
- true if it has not yet been completely traversaled otherwise false
-
next
void next()
traversals the statespace by one step. In the case the statespace has been completely traversaled this function will do nothing and will immediately return.
-
patchModels
void patchModels(Map<String,List<EObject>> models)
patches the models with the current variation- Parameters:
models
- the models
-
getCurrentState
List<String> getCurrentState()
return the current state of the StatespaceIterator- Returns:
- list containing the state for each dimension
-
-