Fuzzy logic is a theory which has been developed mainly for the modelling of uncertainties and vagaries from non-standard specifications. It is a generalisation of two-valued Boolean logic.