This an exemple of implementation of TCMC in Alloy, this implementation is for the partiel-model of this article : F. Michalis, S. Rick and C. Marsha , "Partial Models: Towards Modeling and Reasoning with Uncertainty".