The membership function should return an integer with the semantics like: -1 = no ensemble, 0 .. INT_MAX = ensemble possible where the particular value is the cost (0 is the best).
Limit is a new field of the ensemble. It is a function of the coordinators knowledge. It returns how many instances of the particular ensembles may be established with the same component as the coordinator. (0 means unlimited).
The membership function should return an integer with the semantics like: -1 = no ensemble, 0 .. INT_MAX = ensemble possible where the particular value is the cost (0 is the best).
Limit is a new field of the ensemble. It is a function of the coordinators knowledge. It returns how many instances of the particular ensembles may be established with the same component as the coordinator. (0 means unlimited).