Unit 2
Unit 2
DEFINITION:
Player1 65 23
Player2 58 18
Player3 75 24
2. Inheritable knowledge:
o In the inheritable knowledge approach, all data must be stored into a
hierarchy of classes.
o All classes should be arranged in a generalized form or a hierarchal
manner.
o In this approach, we apply inheritance property.
o Elements inherit values from other members of a class.
o This approach contains inheritable knowledge which shows a relation
between instance and class, and it is called instance relation.
o Every individual frame can represent the collection of attributes and its
value.
o In this approach, objects and values are represented in Boxed nodes.
o We use Arrows which point from objects to their values.
o Example:
3. Inferential knowledge:
o Inferential knowledge approach represents knowledge in the form of
formal logics.
o This approach can be used to derive more facts.
o It guaranteed correctness.
o Example: Let's suppose there are two statements:
a. Marcus is a man
b. All men are mortal
Then it can represent as;
man(Marcus)
∀x = man (x) ----------> mortal (x)s
4. Procedural knowledge:
o Procedural knowledge approach uses small programs and codes which
describes how to do specific things, and how to proceed.
o In this approach, one important rule is used which is If-Then rule.
o In this knowledge, we can use various coding languages such as LISP
language and Prolog language.
o We can easily represent heuristic or domain-specific knowledge using
this approach.
o But it is not necessary that we can represent all cases in this approach.
1. Important attributes
There are two attributes shown in the diagram, instance and isa. Since
these attributes support property of inheritance, they are of prime
importance.
i. What are the primitives and at what level should the knowledge be
represented?
Hence, the user can add other facts, such as "Spotted (x, y) → saw (x,
y)"
Predicate Logic
A predicate is a statement or mathematical assertion that
contains variables, sometimes referred to as predicate variables,
and may be true or false depending on those variables’ value or
values.
For example, let’s suppose we have an inequality where we are
stating that the left hand side is greater than or equal to the right
hand side.
1. Marcus is a man.
• man(Marcus)
computable function
A computable function is often taken to be one that acts on the natural
numbers (a partial recursive function) but for purposes
of analysis (computable analysis, exact analysis) and related fields
(notably physics, see at computable physics) one
considers computation on real numbers to finite but arbitrary precision.
This means that in this context of analysis a computable function should
be an algorithm that successively reads in natural numbers from a
possibly infinite list (specifying an input to ever higher accuracy) and
accordingly outputs a result as incrementally as an infinite list.
Predicates
A predicate is a function that tests for some condition involving its arguments and
returns nil if the condition is false, or some non-nil value if the condition is true. One
may think of a predicate as producing a Boolean value, where nil stands for false and
anything else stands for true. Conditional control structures such as cond, if, when,
and unless test such Boolean values. We say that a predicate is true when it returns a
non-nil value, and is false when it returns nil; that is, it is true or false according to
whether the condition being tested is true or false.