Browse Source

imported patch common-smmd-StateValuesAndNot.patch

tud-infrastructure-2018-10-12
Joachim Klein 7 years ago
parent
commit
c2896a7aa3
  1. 10
      prism/src/explicit/StateValues.java

10
prism/src/explicit/StateValues.java

@ -497,6 +497,16 @@ public class StateValues implements StateVector
valuesB.flip(0, size);
}
/**
* Modify the vector by applying 'andNot' with operand {@code sv}.
*/
public void andNot(StateValues sv) throws PrismException
{
if (!(type instanceof TypeBool) || !(sv.type instanceof TypeBool))
throw new PrismException("The operator andNot can only be applied to Boolean vectors");
valuesB.andNot(sv.valuesB);
}
/**
* Modify the vector by applying 'equals' with operand {@code sv}.
*/

Loading…
Cancel
Save