/* cu.kb */


low(capacity_utilisation, 0 ).
high(capacity_utilisation, 100 ).
scale(capacity_utilisation, 'percent' ).
fuzzy_set(capacity_utilisation, low_cu   , down(0, 70) ).     
fuzzy_set(capacity_utilisation, medium_cu, tri(10, 60, 90) ). 
fuzzy_set(capacity_utilisation, high_cu  , up(30, 100) ).    

low( price_increase, 0 ).
high( price_increase, 100 ).
scale( price_increase, 'percent' ).
fuzzy_set( price_increase, low     , down(0, 25) ).     % Minimal increase in price.
fuzzy_set( price_increase, moderate, tri(20, 50, 75) ). % Noticeable increase but not extreme.
fuzzy_set( price_increase, high    , up(70, 100) ).     % Highest increase in price.


if capacity_utilisation be low_cu
then 
   price_increase := low.

if capacity_utilisation be medium_cu
then 
   price_increase := moderate.

if capacity_utilisation be high_cu
then 
   price_increase := high.