Module dev.civl.mc

Interface CIVLStateType

All Superinterfaces:
CIVLPrimitiveType, CIVLType

public interface CIVLStateType extends CIVLPrimitiveType
  • Method Details

    • selectScopeValuesMap

      dev.civl.sarl.IF.expr.SymbolicExpression selectScopeValuesMap(dev.civl.sarl.IF.SymbolicUniverse universe, dev.civl.sarl.IF.expr.SymbolicExpression stateValue)
      Extract the scope value mapper from an object of the CIVLStateType. A scope value mapper is an array where indices are integral keys of scope values of the state represented by the object and indexed elements are corresponding scope values in the current state.
      Parameters:
      universe - a reference to SymbolicUniverse
      stateValue - the value of an object of CIVLStateType
      Returns:
      the integer array which maps scope values in the state value to scope values in the current state.
    • selectStateKey

      int selectStateKey(dev.civl.sarl.IF.SymbolicUniverse universe, dev.civl.sarl.IF.expr.SymbolicExpression stateValue)
      Extracts the integral key from an object of CIVLStateType.
      Parameters:
      universe - a reference to SymbolicUniverse
      stateValue - the value of an object of CIVLStateType
      Returns:
      a unique integral key value which identifies the state value
    • buildStateValue

      dev.civl.sarl.IF.expr.SymbolicExpression buildStateValue(dev.civl.sarl.IF.SymbolicUniverse universe, int stateKey, dev.civl.sarl.IF.expr.SymbolicExpression scopeValuesToReal)
      Translate an integer canonical state id into a symbolic expression
      Parameters:
      universe - a reference to SymbolicUniverse
      stateKey - The integer identifier of the generating state value
      scopeValuesToReal - an integer array that maps scope values in the state value to scope values in the real state.
      Returns:
      The symbolic expression representing a state