Interface StatespaceIterator


  • public interface StatespaceIterator
    StatespaceIterator represents a traversal iteration for the Statespace
    • 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
      • getCurrentStateValue

        List<String> getCurrentStateValue()
        return the value of current state
        Returns:
        list containing the current value for each dimension