
141
7.2 Different scenarios where expert systems are used
7
problem, however, is that there tends to be little agreement about the facts or
rules required in such a knowledge base.
For example, a company which manufactures washing machines might have to
deliver these washing machines to distribution points at the cheapest cost. If
the company is situated in a country which occupies a large area, this makes
the problem rather difficult. It could be that it has several distribution points in
different parts of the country, each with several delivery vehicles, each of which
may be a different size and may be available at different times. The problem
then becomes, how do you ensure that the available vehicles provide coverage
of all the distribution points but travel the least number of miles? The problem
might also need to be broken down into the number of vehicles, size of vehicles,
and loading of the vehicles. Vehicles have to be loaded so that each distribution
point has quick access to its order. The vehicle has to be loaded so that when
it arrives at a distribution point, machines do not have to be climbed over, or
temporarily unloaded, to get to the order for that distribution point. In order to
achieve this, the route for each vehicle has to be planned in advance.
An expert system can have the locations of each distribution point in its
database of facts, together with the type and speed of the vehicle being used,
the total available time and perhaps other constraints such as the topology or
terrain of each road, whether it is mountainous or flat for example. This aspect
of the problem is often referred to as the ‘travelling salesman’ problem. This
refers to the times when a person was employed to travel to different places, to
try to persuade people to buy their company’s goods. The company would pay
them commission, that is, they would receive a small percentage of each sale
they made. It was, therefore, in their own interest to visit as many customers
over a large area in as short a time as possible.
Although there are several linear programming algorithms available to solve
such problems, they tend to take more time and more computer processing
power to get to a solution. The expert system would examine the orders for
the day, total the weights for the order for each location and the inference
engine would match those against the available types of vehicle. The expert
system would suggest an allocation of orders to each vehicle and suggest a list
of machines in reverse order so that each vehicle had the first order loaded on to
the vehicle last. The company’s vehicle scheduler would take these suggestions
from the expert system and decide on the number of vehicles needed and would
know the total time to be taken.
7.2.8Plantandanimalidentification
There are many hundreds of thousands of different species of plants and the
number of different species of animals runs into millions. Identification of
either plants or animals can prove difficult, particularly with rare species, but
it has become extremely important with climate change affecting the existence
of certain species. Experts are required to master a number of techniques and
gather a great deal of knowledge in order to be able to identify plants and/
or animals. They need additional tools to help them identify all the different
species.
When considering plant or animal identification then, an expert system would
be helpful. The inference engine would use a series of IF…THEN rules. Plants
can be possibly divided into whether they are woody or herbaceous. IF they
are woody the system, through the user interface, could ask another question,
such as whether they have a single trunk, which would lead in turn to other
questions based on the shape/type of leaf and so on. Eventually, the possibilities