Sample Consultation Using Fuzzy Logic: Rules

if airport_distance be very_close 
then 
   evaluation := excellent.

if airport_distance be close 
then 
   evaluation := good.

if airport_distance be acceptable 
then 
   evaluation := satisfactory.

if airport_distance be far
then 
   evaluation := adequate.

if airport_distance be very_far
then 
   evaluation := inadequate.


if number_of_investors be very_small_number and 
   business_environment be uncertified 
then 
   evaluation := inadequate.

if number_of_investors be small_number and 
   business_environment be certification_under_review 
then 
   evaluation := adequate.

if number_of_investors be average_number and 
   business_environment be approved_for_certification 
then 
   evaluation := satisfactory.

if number_of_investors be high_number and 
   business_environment be certified 
then 
   evaluation := good.

if number_of_investors be very_high_number and 
   business_environment be certified  
then 
   evaluation := excellent.

if number_of_investors be very_high_number and 
   business_environment be approved_for_certification 
then 
   evaluation := excellent.

if number_of_investors be very_high_number and 
   business_environment be certification_under_review 
then 
   evaluation := good.

if number_of_investors be very_high_number and 
   business_environment be uncertified 
then 
   evaluation := satisfactory.

if number_of_investors be very_small_number and 
   business_environment be certification_under_review 
then 
   evaluation := inadequate.

if number_of_investors be small_number and 
   business_environment be uncertified 
then 
   evaluation := adequate.

if number_of_investors be very_small_number and 
   business_environment be certified 
then 
   evaluation := adequate.

if number_of_investors be very_small_number and 
   business_environment be approved_for_certification 
then 
   evaluation := adequate.

if number_of_investors be high_number and 
   business_environment be approved_for_certification 
then 
   evaluation := good.

if number_of_investors be small_number and 
   business_environment be approved_for_certification  
then 
   evaluation := satisfactory.

if number_of_investors be small_number and 
   business_environment be certified 
then 
   evaluation := satisfactory.


if industrial_property_levy be very_small_ipl_price or 
   water_price be very_small_wp_price or 
   wastewater_disposal_price be very_small_wwdp_price or
   rubbish_collection_price be very_small_rcp_price 
then 
   evaluation := excellent.

if industrial_property_levy be small_ipl_price or 
   water_price be small_wp_price or 
   wastewater_disposal_price be small_wwdp_price or 
   rubbish_collection_price be small_rcp_price 
then 
   evaluation := good.

if industrial_property_levy be acceptable_ipl_price or 
   water_price be acceptable_wp_price or 
   wastewater_disposal_price be acceptable_wwdp_price or
   rubbish_collection_price be acceptable_rcp_price 
then 
   evaluation := satisfactory.
  
if industrial_property_levy be high_ipl_price or 
   water_price be high_wp_price or 
   wastewater_disposal_price be high_wwdp_price or 
   rubbish_collection_price be high_rcp_price 
then 
   evaluation := adequate.

if industrial_property_levy be very_high_ipl_price or 
   water_price be very_high_wp_price or 
   wastewater_disposal_price be very_high_wwdp_price or
   rubbish_collection_price be very_high_rcp_price 
then 
   evaluation := inadequate.


if environmental_assessment be poor_environment 
then 
   evaluation := inadequate.

if environmental_assessment be acceptable_environment 
then 
   evaluation := adequate.

if environmental_assessment be good_environment 
then 
   evaluation := good.

if environmental_assessment be excellent_environment 
then 
   evaluation := excellent.