getsize
| getsize | 
  Purpose
 
 
 This function returns the cardinality (number of distinct values) of the domain of the variable passed in argument in the case of cpvar and the size of the domain interval representation of the domain in the case of a cpfloatvar.
 
 
  Synopsis
 
 function getsize(x:cpvar) : integer
 function getsize(x:cpfloatvar) : integer
 
  Argument
 
 | 
     x 
     | 
     the decision variable
     | 
  Return value
 
 
 The cardinality / size of the interval representation of the domain of
 x
 
  Example
 
 
 The following example shows how to get the size of the domain of a cpvar
 x
 
 sz:=getsize(x)
  Related topics
 
  
