/* torb.kb */ 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 class = "business" then price_increase := moderate. if class = "tourist" then price_increase := low.