SlideShare a Scribd company logo
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
We lose ourselves in books, we find ourselves
there too.
Kristin Martz
Artificial
Intelligence
1
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Course Summary
Artificial Intelligence (AI) is a field that has a long history
but is still constantly and actively growing and changing. In
this course, you’ll learn the basics of modern AI as well as
some of the representative applications of AI. Along the
way, we also hope to excite you about the numerous
applications and huge possibilities in the field of AI, which
continues to expand human capability beyond our
imagination.
2
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Introduction to AI
Humankind has given itself the scientific name homo sapiens—man
the wise—because our mental capacities are so important to our
everyday lives and our sense of self. The field of artificial
intelligence, or AI, attempts to understand intelligent entities. Thus,
one reason to study it is to learn more about ourselves. But unlike
philosophy and psychology, which are also concerned with
intelligence, AI strives to build intelligent entities as well as
understand them. Another reason to study AI is that these constructed
intelligent entities are interesting and useful in their own right. AI has
produced many significant and impressive products even at this early
stage in its development. Although no one can predict the future in
detail, it is clear that computers with human-level intelligence (or
better) would have a huge impact on our everyday lives and on the
future course of civilization.
3
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Brain
The an actual human brain:
1. Not solid, its soft and squishy.
2. Similar to soft gelatin.
3. The typical brain is about 2% of a body weight.
4. Its consumes 20% of the total energy produced by the body.
5. During early pregnancy neurons develop at the rate 250,000
neurons per minute.
6. There are approximately 100 billion neurons in the adult human
brain.
7. Each neuron connects with approximately 40,000 synapses.
4
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
8. There are as many as 10,000 specific types of neurons in the brain
9. Your brain can process information as fast as 432 kph (268 mph),
that's faster than formula 1 race cars which top out at 386 kph
(240 mph).
10. It can also generate about 12-25 watts of electricity, which is
enough to power a low wattage LED light.
11. Our brains are getting smaller and smaller, over the past 10-
20,000 years the size of the average human brain has shrunk by
the size of a tennis ball.
# The University of Utah
5
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Turing Test
The Turing Test, proposed by Alan Turing (Turing, 1950), was
designed to provide a satisfactory operational definition of
intelligence. Turing defined intelligent behavior as the ability to
achieve human-level performance in all cognitive tasks, sufficient to
fool an interrogator. Roughly speaking, the test he proposed is that the
computer should be interrogated by a human via a teletype, and
passes the test if the interrogator cannot tell if there is a computer or a
human at the other end.
6
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Turing Test
The computer would need to possess the following capabilities:
1. natural language processing to enable it to communicate
successfully in English (or some other human language);
2. knowledge representation to store information provided before
or during the interrogation;
3. automated reasoning to use the stored information to answer
questions and to draw new conclusions;
4. machine learning to adapt to new circumstances and to detect
and extrapolate patterns.
7
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Turing Test
Turing's test deliberately avoided direct physical interaction between
the interrogator and the computer, because physical simulation of a
person is unnecessary for intelligence. However, the so-called total
Turing Test includes a video signal so that the interrogator can test the
subject's perceptual abilities, as well as the opportunity for the
interrogator to pass physical objects ``through the hatch.'' To pass the
total Turing Test, the computer will need:
• Computer vision to perceive objects.
• Robotics to move them about.
8
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Structures and Strategies for State
Space Search
1. Graph Theory.
2. The State Space Representing of Problems.
3. Strategies for State Space Search.
9
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Graph Theory
A graph is a set of labeled nodes or states that are connected
by arcs. labels are used to differentiate nodes. In a state space
graph, the nodes represent different states of a problem to be
solved.
The arcs of a graph can have direction associated which
introduces a direct graph, also arcs can be labeled so that
similar nodes can be differentiated.
A rooted graph is a graph with one initial node connected to
the other nodes.
A tree is a graph were each node is connected to the other by
one unique arc, hence, there is no cycling in a tree.
10
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Graph Theory
The question here is who is liz’s parent?
Parent(X,liz);
Ans= tom.
11
lara tom
bob liz
ann pat
jin
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Graph Theory
12
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Graph Theory
13
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Examples
14
Initial State
Goal
An example of a graph
where H is a initial state
and the E is a Goal.
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Initial State
Q) What’s the solution path to the goal?
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
8 Puzzle Examples
Initial State Goal
321
48
567
321
46
578
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
8 Puzzle Examples
Initial State
Goal
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
8 Puzzle Examples
Initial State Goal
321
48
567
321
476
58
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
8 Puzzle Examples
Initial State Goal
31
428
567
31
468
257
Home Work..?
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Travelling Salesman Problem
The travelling salesman problem (TSP) asks the
following question: Given a list of cities and the distances
between each pair of cities, what is the shortest possible
route that visits each city exactly once and returns to the
origin city? It is an NP-hard problem in combinatorial
optimization, important in operations research and
theoretical computer science.
20
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Travelling Salesman Problem
21
An instance of the traveling salesperson problem.
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Travelling Salesman Problem
Search of the traveling salesperson problem. Each arc is marked with
the total weight of all paths from the start node (A) to its endpoint.
22
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
The State Space Representing of Problems
• The state space is a graph representation of a problem, where
the nodes of a graph represent partial solutions in the problem
space, and the arcs are steps taken in the problem solving
process.
• The root of the graph represents the initial state of a problem.
The graph must identify one or more goal nodes, where the
solution to the problem in hand is found.
• State space search characterizes problem solving as the process
of finding a solution path from the start state to a goal.
23
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
State Space Search
A state space is represented by [N,A,S,GD]. where
-N is the set of nodes or states in a graph.
-A is the set of arcs or links between the nodes.
-S is a nonempty subset of N, represents the start node.
-GD is a nonempty subset of N, represents the goal nodes.
Note: A solution path is the path taken to reach a goal.
24
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Strategies for State Space Search
1. Uninformed Search Strategies:
i. Depth first search (DFS)
ii. Breadth first search (BFS)
iii. Iterative deepening search
2. Informed Search Strategies (Heuristic Search):
i. Hill climbing, Simulated Annealing, Tabu search
ii. Best first search
iii. Greedy search
iv. A* search
25
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Strategies for State Space Search
1. Uninformed Search Strategies:
• A problem determines the graph and the goal but not which path to select
from the frontier. This is the job of a search strategy. A search strategy
specifies which paths are selected from the frontier. Different strategies
are obtained by modifying how the selection of paths in the frontier is
implemented.
2. Informed Search Strategies (Heuristic Search):
26
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Depth first search (DFS)
The first strategy is depth-first search. In depth-first search, the
frontier acts like a last-in first-out stack. The elements are added to
the stack one at a time. The one selected and taken off the frontier at
any time is the last element that was added.
Implementing the frontier as a stack results in paths being pursued in
a depth-first manner - searching one path to its completion before
trying an alternative path. This method is said to
involve backtracking: The algorithm selects a first alternative at each
node, and it backtracks to the next alternative when it has pursued all
of the paths from the first selection. Some paths may be infinite when
the graph has cycles or infinitely many nodes, in which case a depth-
first search may never stop.
27
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Depth first search (DFS)
28
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Depth first search (DFS)
29
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Depth first search (DFS)
30
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Depth first search (DFS)
31
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Breadth first search (BFS)
In breadth-first search the frontier is implemented as a FIFO (first-in, first-
out) queue. Thus, the path that is selected from the frontier is the one that
was added earliest. This approach implies that the paths from the start node
are generated in order of the number of arcs in the path. One of the paths
with the fewest arcs is selected at each stage.
Breadth-first search is useful when:
1. Space is not a problem.
2. You want to find the solution containing the fewest arcs.
3. Few solutions may exist, and at least one has a short path length; and
4. Infinite paths may exist, because it explores all of the search space, even
with infinite paths.
- It is a poor method when all solutions have a long path length or there is
some heuristic knowledge available. It is not used very often because of
its space complexity.
32
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Breadth first search (BFS)
33
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Breadth first search (BFS)
34
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Breadth first search (BFS)
35
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Breadth first search (BFS)
36
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Breadth first search (BFS)
37
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Iterative Deepening search
In computer science, iterative deepening search or more
specifically iterative deepening depth-first search[1] (IDS
or IDDFS) is a state space/graph search strategy in which a
depth-limited version of depth-first search is run repeatedly
with increasing depth limits until the goal is found. IDDFS
is equivalent to breadth-first search, but uses much less
memory; on each iteration, it visits the nodes in the search
tree in the same order as depth-first search, but the
cumulative order in which nodes are first visited is
effectively breadth-first.
38
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Iterative Deepening search
39
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Iterative deepening search
40
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Iterative Deepening search
41
Depth limit 0#
A1
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Iterative Deepening search
42
Depth limit 1#
A1
BFCD2
FCD3
CD4
D5
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Iterative Deepening search
43
Depth limit 1#
A1
BFCD2
EFCD3
FCD4
JGCD5
GCD – G is Goal
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Backtracking Graph
SL =State List (Path from State to the top).
NSL =New State List (All Opened states without DE).
DE =Dead Ends (States that is dead).
CS =Current State.
44
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 45
Quiz: DFS, BFS, IDS, Min Cost: Goal is P, M, M, M
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 46
Quiz:
DFS, BFS, IDS, Min Cost: Goal is P, M, M, M
Sol:
DFS: A B E I L M K P
BFS: A B C H E F G K I J N M
IDS: A C G M
Min Cost: A C F J N M
A C G N M
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
47
Example1: Backtracking search of a hypothetical state space.
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
A trace of backtrack on the graph DFS
48
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
A trace of backtrack on the graph BFS
49
DENSLSLCSi
[ ][A][A]A0
[A][BCD][BA]B1
[BA][CDEF][CBA]C2
[CBA][DEFG][DCBA]D3
[DCBA][EFG][EDCBA]E4
[EDCBA][FGHI][FEDCBA]F5
[FEDCBA][GHIJ][GFEDCBA]G6
[GFEDCBA][HIJ][HGFEDCBA]H7
[HGFEDCBA][IJ][IHGFEDCBA]I8
[IHGFEDCBA][J][JIHGFEDCBA]J9
[JIHGFEDCBA][ ][ ][ ]10
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
A trace of backtrack on the graph IDS
50
DENSLSLCSi
[ ][A][A]A0
[ ][ABCD][BA]B1
[ ][ABCDEF][CA]C2
[ ][ABCDEFG][DA]D3
[D][ABCEFG][EBA]E4
[D][ABCEFGHI][FBA]F5
[D][ABCEFGHIJ][GCA]G6
[GD][ABCEFHIJ][HEBA]H7
[HGD][ABCEFIJ][IEBA]I8
[HGDIE][ABCFJ][JFBA]J9
[JIHGFEDCBA][ ][ ][ ]10
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
51
Example2: Graph for depth-first search examples.
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
52
Example2: Graph for depth-first search examples.
Open [A]; Close [].
Open [BA]; Close [].
Open [EBA]; Close [].
Open [KEBA]; Close [].
Open [SKEBA]; Close [].
Open [LEBA]; Close [SK].
Open [TLEBA]; Close [SK].
Open [FBA]; Close [SKTLE].
Open [MFBA]; Close [SKTLE].
Open [CA]; Close [SKTLEMFB]. …
and so on until either U is founded or Open is [ ].
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
53
Q1) Graph for breadth-first search examples?
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
Back Tracking Graph
54
Example2: Graph for breadth-first search examples.
Renas R. Rekany Artificial Intelligence Nawroz University
Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016
THE END
Reference:
1. Artificial Intelligence Structure and Strategies for
Complex Problem Solving. 4th edition George F. Luger
Addison Wesley.
55

More Related Content

What's hot

knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rulesHarini Balamurugan
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2DigiGurukul
 
I.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AII.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AIvikas dhakane
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesFahim Ferdous
 
Artificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real WorldArtificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real Worldahmad bassiouny
 
I. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AII. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AIvikas dhakane
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AIVishal Singh
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search StrategiesAmey Kerkar
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & ReasoningSajid Marwat
 
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programmingTafhim Islam
 
Propositional logic
Propositional logicPropositional logic
Propositional logicRushdi Shams
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AIMegha Sharma
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)SHUBHAM KUMAR GUPTA
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and LiftingMegha Sharma
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligencesandeep54552
 

What's hot (20)

knowledge representation using rules
knowledge representation using rulesknowledge representation using rules
knowledge representation using rules
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
 
I.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AII.BEST FIRST SEARCH IN AI
I.BEST FIRST SEARCH IN AI
 
BackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and ExamplesBackTracking Algorithm: Technique and Examples
BackTracking Algorithm: Technique and Examples
 
Artificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real WorldArtificial Intelligence 1 Planning In The Real World
Artificial Intelligence 1 Planning In The Real World
 
I. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AII. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AI
 
Backtracking
Backtracking  Backtracking
Backtracking
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search Strategies
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & Reasoning
 
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programming
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Forward and Backward chaining in AI
Forward and Backward chaining in AIForward and Backward chaining in AI
Forward and Backward chaining in AI
 
AI 5 | Local Search
AI 5 | Local SearchAI 5 | Local Search
AI 5 | Local Search
 
Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)Predicate logic_2(Artificial Intelligence)
Predicate logic_2(Artificial Intelligence)
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
 
Problems, Problem spaces and Search
Problems, Problem spaces and SearchProblems, Problem spaces and Search
Problems, Problem spaces and Search
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
 
Ai notes
Ai notesAi notes
Ai notes
 

Similar to AI simple search strategies

Learning express visual writing 136p
Learning express visual writing   136pLearning express visual writing   136p
Learning express visual writing 136pmrwindy_3282
 
Bridging literacy and digital media
Bridging literacy and digital mediaBridging literacy and digital media
Bridging literacy and digital mediabradfountain
 
An-Exploration-of-scientific-literature-using-Natural-Language-Processing
An-Exploration-of-scientific-literature-using-Natural-Language-ProcessingAn-Exploration-of-scientific-literature-using-Natural-Language-Processing
An-Exploration-of-scientific-literature-using-Natural-Language-ProcessingTheodore J. LaGrow
 
Intelligent information extraction based on artificial neural network
Intelligent information extraction based on artificial neural networkIntelligent information extraction based on artificial neural network
Intelligent information extraction based on artificial neural networkijfcstjournal
 
Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...
Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...
Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...Ana Luísa Pinho
 
The 4th New Science
The 4th New ScienceThe 4th New Science
The 4th New Sciencegrplunkett
 
Harvesting collective intelligence.
Harvesting collective intelligence. Harvesting collective intelligence.
Harvesting collective intelligence. Alberto Cottica
 
Natural Language Processing in AI
Natural Language Processing in AINatural Language Processing in AI
Natural Language Processing in AISaurav Shrestha
 
nlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdfnlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdfshakeelAsghar6
 
AI Chapter VIIProblem Solving Using Searching .pptx
AI Chapter VIIProblem Solving Using Searching .pptxAI Chapter VIIProblem Solving Using Searching .pptx
AI Chapter VIIProblem Solving Using Searching .pptxwekineheshete
 
ODSC London 2018
ODSC London 2018ODSC London 2018
ODSC London 2018Kfir Bar
 
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...Jinho Choi
 
Towards and Enjoyable Career in Scientific Research
Towards and Enjoyable Career in Scientific ResearchTowards and Enjoyable Career in Scientific Research
Towards and Enjoyable Career in Scientific ResearchSagar Sen
 
Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing Mustafa Jarrar
 
Lecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfLecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfRanvinuHewage
 
2nd Spinoza workshop: Looking at the Long Tail - introductory slides
2nd Spinoza workshop: Looking at the Long Tail - introductory slides2nd Spinoza workshop: Looking at the Long Tail - introductory slides
2nd Spinoza workshop: Looking at the Long Tail - introductory slidesFilip Ilievski
 
Normal Considered Harmful
Normal Considered HarmfulNormal Considered Harmful
Normal Considered Harmfulgreenwop
 

Similar to AI simple search strategies (20)

AI local search
AI local searchAI local search
AI local search
 
Learning express visual writing 136p
Learning express visual writing   136pLearning express visual writing   136p
Learning express visual writing 136p
 
Bridging literacy and digital media
Bridging literacy and digital mediaBridging literacy and digital media
Bridging literacy and digital media
 
An-Exploration-of-scientific-literature-using-Natural-Language-Processing
An-Exploration-of-scientific-literature-using-Natural-Language-ProcessingAn-Exploration-of-scientific-literature-using-Natural-Language-Processing
An-Exploration-of-scientific-literature-using-Natural-Language-Processing
 
Intelligent information extraction based on artificial neural network
Intelligent information extraction based on artificial neural networkIntelligent information extraction based on artificial neural network
Intelligent information extraction based on artificial neural network
 
Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...
Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...
Individual Brain Charting, a high-resolution fMRI dataset for cognitive mappi...
 
L1
L1L1
L1
 
The 4th New Science
The 4th New ScienceThe 4th New Science
The 4th New Science
 
Harvesting collective intelligence.
Harvesting collective intelligence. Harvesting collective intelligence.
Harvesting collective intelligence.
 
Natural Language Processing in AI
Natural Language Processing in AINatural Language Processing in AI
Natural Language Processing in AI
 
nlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdfnlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdf
 
AI Chapter VIIProblem Solving Using Searching .pptx
AI Chapter VIIProblem Solving Using Searching .pptxAI Chapter VIIProblem Solving Using Searching .pptx
AI Chapter VIIProblem Solving Using Searching .pptx
 
ODSC London 2018
ODSC London 2018ODSC London 2018
ODSC London 2018
 
Year 1 AI.ppt
Year 1 AI.pptYear 1 AI.ppt
Year 1 AI.ppt
 
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
Transformers to Learn Hierarchical Contexts in Multiparty Dialogue for Span-b...
 
Towards and Enjoyable Career in Scientific Research
Towards and Enjoyable Career in Scientific ResearchTowards and Enjoyable Career in Scientific Research
Towards and Enjoyable Career in Scientific Research
 
Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing Adnan: Introduction to Natural Language Processing
Adnan: Introduction to Natural Language Processing
 
Lecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdfLecture 1 Slides -Introduction to algorithms.pdf
Lecture 1 Slides -Introduction to algorithms.pdf
 
2nd Spinoza workshop: Looking at the Long Tail - introductory slides
2nd Spinoza workshop: Looking at the Long Tail - introductory slides2nd Spinoza workshop: Looking at the Long Tail - introductory slides
2nd Spinoza workshop: Looking at the Long Tail - introductory slides
 
Normal Considered Harmful
Normal Considered HarmfulNormal Considered Harmful
Normal Considered Harmful
 

More from Renas Rekany

More from Renas Rekany (20)

decision making
decision makingdecision making
decision making
 
Artificial Neural Network
Artificial Neural NetworkArtificial Neural Network
Artificial Neural Network
 
AI heuristic search
AI heuristic searchAI heuristic search
AI heuristic search
 
C# p9
C# p9C# p9
C# p9
 
C# p8
C# p8C# p8
C# p8
 
C# p7
C# p7C# p7
C# p7
 
C# p6
C# p6C# p6
C# p6
 
C# p5
C# p5C# p5
C# p5
 
C# p4
C# p4C# p4
C# p4
 
C# p3
C# p3C# p3
C# p3
 
C# p2
C# p2C# p2
C# p2
 
C# p1
C# p1C# p1
C# p1
 
C# with Renas
C# with RenasC# with Renas
C# with Renas
 
Object oriented programming inheritance
Object oriented programming inheritanceObject oriented programming inheritance
Object oriented programming inheritance
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Renas Rajab Asaad
Renas Rajab Asaad Renas Rajab Asaad
Renas Rajab Asaad
 
Renas Rajab Asaad
Renas Rajab AsaadRenas Rajab Asaad
Renas Rajab Asaad
 
Renas Rajab Asaad
Renas Rajab Asaad Renas Rajab Asaad
Renas Rajab Asaad
 
Renas Rajab Asaad
Renas Rajab Asaad Renas Rajab Asaad
Renas Rajab Asaad
 
Kurdish computer skills lec1, Renas R. Rekany
Kurdish computer skills lec1, Renas R. RekanyKurdish computer skills lec1, Renas R. Rekany
Kurdish computer skills lec1, Renas R. Rekany
 

Recently uploaded

How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17Celine George
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxricssacare
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online PresentationGDSCYCCE
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfVivekanand Anglo Vedic Academy
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfjoachimlavalley1
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17Celine George
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
Keeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesKeeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesTechSoup
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptSourabh Kumar
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTechSoup
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...Sayali Powar
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxCapitolTechU
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesRased Khan
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersPedroFerreira53928
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 

Recently uploaded (20)

How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Keeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesKeeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security Services
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 

AI simple search strategies

  • 1. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 We lose ourselves in books, we find ourselves there too. Kristin Martz Artificial Intelligence 1
  • 2. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Course Summary Artificial Intelligence (AI) is a field that has a long history but is still constantly and actively growing and changing. In this course, you’ll learn the basics of modern AI as well as some of the representative applications of AI. Along the way, we also hope to excite you about the numerous applications and huge possibilities in the field of AI, which continues to expand human capability beyond our imagination. 2
  • 3. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Introduction to AI Humankind has given itself the scientific name homo sapiens—man the wise—because our mental capacities are so important to our everyday lives and our sense of self. The field of artificial intelligence, or AI, attempts to understand intelligent entities. Thus, one reason to study it is to learn more about ourselves. But unlike philosophy and psychology, which are also concerned with intelligence, AI strives to build intelligent entities as well as understand them. Another reason to study AI is that these constructed intelligent entities are interesting and useful in their own right. AI has produced many significant and impressive products even at this early stage in its development. Although no one can predict the future in detail, it is clear that computers with human-level intelligence (or better) would have a huge impact on our everyday lives and on the future course of civilization. 3
  • 4. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Brain The an actual human brain: 1. Not solid, its soft and squishy. 2. Similar to soft gelatin. 3. The typical brain is about 2% of a body weight. 4. Its consumes 20% of the total energy produced by the body. 5. During early pregnancy neurons develop at the rate 250,000 neurons per minute. 6. There are approximately 100 billion neurons in the adult human brain. 7. Each neuron connects with approximately 40,000 synapses. 4
  • 5. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 8. There are as many as 10,000 specific types of neurons in the brain 9. Your brain can process information as fast as 432 kph (268 mph), that's faster than formula 1 race cars which top out at 386 kph (240 mph). 10. It can also generate about 12-25 watts of electricity, which is enough to power a low wattage LED light. 11. Our brains are getting smaller and smaller, over the past 10- 20,000 years the size of the average human brain has shrunk by the size of a tennis ball. # The University of Utah 5
  • 6. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Turing Test The Turing Test, proposed by Alan Turing (Turing, 1950), was designed to provide a satisfactory operational definition of intelligence. Turing defined intelligent behavior as the ability to achieve human-level performance in all cognitive tasks, sufficient to fool an interrogator. Roughly speaking, the test he proposed is that the computer should be interrogated by a human via a teletype, and passes the test if the interrogator cannot tell if there is a computer or a human at the other end. 6
  • 7. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Turing Test The computer would need to possess the following capabilities: 1. natural language processing to enable it to communicate successfully in English (or some other human language); 2. knowledge representation to store information provided before or during the interrogation; 3. automated reasoning to use the stored information to answer questions and to draw new conclusions; 4. machine learning to adapt to new circumstances and to detect and extrapolate patterns. 7
  • 8. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Turing Test Turing's test deliberately avoided direct physical interaction between the interrogator and the computer, because physical simulation of a person is unnecessary for intelligence. However, the so-called total Turing Test includes a video signal so that the interrogator can test the subject's perceptual abilities, as well as the opportunity for the interrogator to pass physical objects ``through the hatch.'' To pass the total Turing Test, the computer will need: • Computer vision to perceive objects. • Robotics to move them about. 8
  • 9. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Structures and Strategies for State Space Search 1. Graph Theory. 2. The State Space Representing of Problems. 3. Strategies for State Space Search. 9
  • 10. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Graph Theory A graph is a set of labeled nodes or states that are connected by arcs. labels are used to differentiate nodes. In a state space graph, the nodes represent different states of a problem to be solved. The arcs of a graph can have direction associated which introduces a direct graph, also arcs can be labeled so that similar nodes can be differentiated. A rooted graph is a graph with one initial node connected to the other nodes. A tree is a graph were each node is connected to the other by one unique arc, hence, there is no cycling in a tree. 10
  • 11. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Graph Theory The question here is who is liz’s parent? Parent(X,liz); Ans= tom. 11 lara tom bob liz ann pat jin
  • 12. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Graph Theory 12
  • 13. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Graph Theory 13
  • 14. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Examples 14 Initial State Goal An example of a graph where H is a initial state and the E is a Goal.
  • 15. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Initial State Q) What’s the solution path to the goal?
  • 16. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 8 Puzzle Examples Initial State Goal 321 48 567 321 46 578
  • 17. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 8 Puzzle Examples Initial State Goal
  • 18. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 8 Puzzle Examples Initial State Goal 321 48 567 321 476 58
  • 19. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 8 Puzzle Examples Initial State Goal 31 428 567 31 468 257 Home Work..?
  • 20. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Travelling Salesman Problem The travelling salesman problem (TSP) asks the following question: Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city? It is an NP-hard problem in combinatorial optimization, important in operations research and theoretical computer science. 20
  • 21. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Travelling Salesman Problem 21 An instance of the traveling salesperson problem.
  • 22. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Travelling Salesman Problem Search of the traveling salesperson problem. Each arc is marked with the total weight of all paths from the start node (A) to its endpoint. 22
  • 23. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 The State Space Representing of Problems • The state space is a graph representation of a problem, where the nodes of a graph represent partial solutions in the problem space, and the arcs are steps taken in the problem solving process. • The root of the graph represents the initial state of a problem. The graph must identify one or more goal nodes, where the solution to the problem in hand is found. • State space search characterizes problem solving as the process of finding a solution path from the start state to a goal. 23
  • 24. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 State Space Search A state space is represented by [N,A,S,GD]. where -N is the set of nodes or states in a graph. -A is the set of arcs or links between the nodes. -S is a nonempty subset of N, represents the start node. -GD is a nonempty subset of N, represents the goal nodes. Note: A solution path is the path taken to reach a goal. 24
  • 25. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Strategies for State Space Search 1. Uninformed Search Strategies: i. Depth first search (DFS) ii. Breadth first search (BFS) iii. Iterative deepening search 2. Informed Search Strategies (Heuristic Search): i. Hill climbing, Simulated Annealing, Tabu search ii. Best first search iii. Greedy search iv. A* search 25
  • 26. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Strategies for State Space Search 1. Uninformed Search Strategies: • A problem determines the graph and the goal but not which path to select from the frontier. This is the job of a search strategy. A search strategy specifies which paths are selected from the frontier. Different strategies are obtained by modifying how the selection of paths in the frontier is implemented. 2. Informed Search Strategies (Heuristic Search): 26
  • 27. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Depth first search (DFS) The first strategy is depth-first search. In depth-first search, the frontier acts like a last-in first-out stack. The elements are added to the stack one at a time. The one selected and taken off the frontier at any time is the last element that was added. Implementing the frontier as a stack results in paths being pursued in a depth-first manner - searching one path to its completion before trying an alternative path. This method is said to involve backtracking: The algorithm selects a first alternative at each node, and it backtracks to the next alternative when it has pursued all of the paths from the first selection. Some paths may be infinite when the graph has cycles or infinitely many nodes, in which case a depth- first search may never stop. 27
  • 28. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Depth first search (DFS) 28
  • 29. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Depth first search (DFS) 29
  • 30. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Depth first search (DFS) 30
  • 31. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Depth first search (DFS) 31
  • 32. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Breadth first search (BFS) In breadth-first search the frontier is implemented as a FIFO (first-in, first- out) queue. Thus, the path that is selected from the frontier is the one that was added earliest. This approach implies that the paths from the start node are generated in order of the number of arcs in the path. One of the paths with the fewest arcs is selected at each stage. Breadth-first search is useful when: 1. Space is not a problem. 2. You want to find the solution containing the fewest arcs. 3. Few solutions may exist, and at least one has a short path length; and 4. Infinite paths may exist, because it explores all of the search space, even with infinite paths. - It is a poor method when all solutions have a long path length or there is some heuristic knowledge available. It is not used very often because of its space complexity. 32
  • 33. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Breadth first search (BFS) 33
  • 34. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Breadth first search (BFS) 34
  • 35. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Breadth first search (BFS) 35
  • 36. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Breadth first search (BFS) 36
  • 37. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Breadth first search (BFS) 37
  • 38. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Iterative Deepening search In computer science, iterative deepening search or more specifically iterative deepening depth-first search[1] (IDS or IDDFS) is a state space/graph search strategy in which a depth-limited version of depth-first search is run repeatedly with increasing depth limits until the goal is found. IDDFS is equivalent to breadth-first search, but uses much less memory; on each iteration, it visits the nodes in the search tree in the same order as depth-first search, but the cumulative order in which nodes are first visited is effectively breadth-first. 38
  • 39. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Iterative Deepening search 39
  • 40. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Iterative deepening search 40
  • 41. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Iterative Deepening search 41 Depth limit 0# A1
  • 42. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Iterative Deepening search 42 Depth limit 1# A1 BFCD2 FCD3 CD4 D5
  • 43. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Iterative Deepening search 43 Depth limit 1# A1 BFCD2 EFCD3 FCD4 JGCD5 GCD – G is Goal
  • 44. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Backtracking Graph SL =State List (Path from State to the top). NSL =New State List (All Opened states without DE). DE =Dead Ends (States that is dead). CS =Current State. 44
  • 45. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 45 Quiz: DFS, BFS, IDS, Min Cost: Goal is P, M, M, M
  • 46. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 46 Quiz: DFS, BFS, IDS, Min Cost: Goal is P, M, M, M Sol: DFS: A B E I L M K P BFS: A B C H E F G K I J N M IDS: A C G M Min Cost: A C F J N M A C G N M
  • 47. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph 47 Example1: Backtracking search of a hypothetical state space.
  • 48. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph A trace of backtrack on the graph DFS 48
  • 49. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph A trace of backtrack on the graph BFS 49 DENSLSLCSi [ ][A][A]A0 [A][BCD][BA]B1 [BA][CDEF][CBA]C2 [CBA][DEFG][DCBA]D3 [DCBA][EFG][EDCBA]E4 [EDCBA][FGHI][FEDCBA]F5 [FEDCBA][GHIJ][GFEDCBA]G6 [GFEDCBA][HIJ][HGFEDCBA]H7 [HGFEDCBA][IJ][IHGFEDCBA]I8 [IHGFEDCBA][J][JIHGFEDCBA]J9 [JIHGFEDCBA][ ][ ][ ]10
  • 50. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph A trace of backtrack on the graph IDS 50 DENSLSLCSi [ ][A][A]A0 [ ][ABCD][BA]B1 [ ][ABCDEF][CA]C2 [ ][ABCDEFG][DA]D3 [D][ABCEFG][EBA]E4 [D][ABCEFGHI][FBA]F5 [D][ABCEFGHIJ][GCA]G6 [GD][ABCEFHIJ][HEBA]H7 [HGD][ABCEFIJ][IEBA]I8 [HGDIE][ABCFJ][JFBA]J9 [JIHGFEDCBA][ ][ ][ ]10
  • 51. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph 51 Example2: Graph for depth-first search examples.
  • 52. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph 52 Example2: Graph for depth-first search examples. Open [A]; Close []. Open [BA]; Close []. Open [EBA]; Close []. Open [KEBA]; Close []. Open [SKEBA]; Close []. Open [LEBA]; Close [SK]. Open [TLEBA]; Close [SK]. Open [FBA]; Close [SKTLE]. Open [MFBA]; Close [SKTLE]. Open [CA]; Close [SKTLEMFB]. … and so on until either U is founded or Open is [ ].
  • 53. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph 53 Q1) Graph for breadth-first search examples?
  • 54. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 Back Tracking Graph 54 Example2: Graph for breadth-first search examples.
  • 55. Renas R. Rekany Artificial Intelligence Nawroz University Keep Reading as long as you breathComSci: Renas R. Rekany Oct2016 THE END Reference: 1. Artificial Intelligence Structure and Strategies for Complex Problem Solving. 4th edition George F. Luger Addison Wesley. 55