Lecture 7 - SDaA
Lecture 7 - SDaA
Architecture
2
Repository Architecture
3
Repository Architecture
Name Repository
When used You should use this pattern when you have a system in which large
volumes of information are generated that has to be stored for a
long time. You may also use it in data-driven systems where the
inclusion of data in the repository triggers an action or tool.
4
Repository Architecture
5
Blackboard Architecture
6
Blackboard Architecture
This approach is found in certain AI applications and complex applications, such
as speech recognition, image recognition and business resource management
systems etc
A major difference with traditional database systems is that the invocation of
computational elements in a blackboard architecture is triggered by the current
state of the blackboard, and not by external inputs.
Parts of Blackboard Architecture
The blackboard model is usually presented with three major parts
CONTROL
11
Blackboard Architecture
Advantages:
Provides an explicit forum for the discussion of data access,
distribution, synchronization, task allocation, load redistribution.
Scalability: easy to add or update knowledge source.
Concurrency: all knowledge sources can work in parallel since they
are independent of each other.
Reusability of knowledge source agents.
12
Blackboard Architecture
Disadvantages:
Due to the close dependency between the blackboard and knowledge source,
the structure change of the blackboard may have a significant impact on all of
its agents.
Since only partial or approximate solutions are expected, it can be difficult to
decide when to terminate reasoning.
Synchronization of multiple agents is an issue. Since multiple agents are
working and updating the shared data in the blackboard simultaneously, the
preference or priority of executions of multiple agents must be coordinated.
Debugging and testing of the system is a challenge.
13
Blackboard Architecture
14