tisane.variable.NumberValue.per¶
method
- NumberValue.per(cardinality=None, number_of_instances=None)¶
Express a per relationship on a given NumberValue
Even though cardinality and number_of_instances are both optional parameters, this method requires exactly one of them to be specified – you currently cannot specify both.
- Parameters
cardinality (AbstractVariable, optional) – The
AbstractVariable
whose cardinality we want to usenumber_of_instances (AbstractVariable, optional) – The
AbstractVariable
whose number of instances we want to use
- Returns
An object representing a “_ per _” relationship.
- Return type
tisane.variable.Per