MyAssignmentServices uses cookies to deliver the best experience possible. Read more

  • Internal Code :
  • Subject Code :
  • University :
  • Subject Name : IT Computer Science

Artificial Intelligence

(a) In an attempt to tackle this question, the Depth First Search algorithm is preferred as the solution's search technique will proceed to accomplish the required objective (Marinescu, 2010). For search space with several divisions, it is more successful as it does not have to analyze all the nodes at a specific scale (Dow, & Korf, 2009).

The Depth First Search algorithm also demands comparatively narrow storage since it holds only the nodes on the working route (Lumenta, 2014). A depth-first search to depth r would visit 4r nodes.

18

17

16

15

14

13

12

11

19

20

21

22

23

24

25

10

   

30g

29

28

27

26

9

             

8

   

3

2

4

5

6

7

     

1S

       
               
               

The direction given by the depth-first search begins with the s from the figure above and proceeds in sequential order from 1 to 30. Through each node being accessed, the depth-first approach will step further along the route. The next route will be chosen after all nodes have been reached and crossed.

(b) The variations among signals are measured as per distance parameters. The standards of the distance parameters are Hamming distance and Manhattan distance (Sun, Rane, & Vetro, 2014). The Manhattan distance among two nodes is the total of the absolute deviations of their axis. It is also attributed to the range from L1, location from city blocks, and rectilinear separation.

There are a variety of approaches in the art for approximating the Manhattan distance in various measurable fields (Sun, Rane, & Vetro, 2014). But, all of those approaches are not safe by the layout and entail a considerable overhead interaction among the groups. Therefore, the Manhattan distance across any two symbols should be calculated safely.

               
             

6

2

1

g

1

2

3

4

5

3

2

         

6

4

 

2

3

4

5

6

7

5

4

 

S

5

6

 

8

6

5

4

5

6

7

8

9

7

6

5

6

7

8

9

10

The diagram above depicts the distances from g in Manhattan. The algorithm should select the nearest node to g while performing a fastest-first search. The first route obtained will therefore be s -> (6,3), (6,2), (6,1), (5,1), (5,0), (4,0), (3,0), (3,1),(2,1) -> g.

(c) Heuristic algorithms intend to address questions very quickly and more effectively by relying on velocities and avoiding completeness, precision, or validity. It restricted the moment the operator can apply for designing every step (Sigurdson, & Bulitko, 2017).

As long as the spacing to the target is not misjudged, we can employ a heuristic strategy. In any monotonic and isolated Equireward utility-maximizing design (ER-UMD) structure, the simple and efficient-design heuristic is required (Keren, et al., 2019).

For the order of this algorithm, it prefers the subsequent node depends on the Manhattan distance from the target node as a minimum. The route it will use is s -> (4,3), (4,4), (5,4), (6,4), (6,3), (6,2), (6,1), (5,1), (5,0), (4,0), (3,0), (3,1), (2,1).

(d)

 

0

1

2

3

4

5

6

7

0

               

1

               

2

8

6

g

4

6

8

10

12

3

8

6

         

12

4

8

 

4

4

6

8

10

12

5

8

6

 

S

6

8

 

12

6

10

8

6

6

8

10

12

14

7

12

10

8

8

10

12

14

16

A * Search algorithm is one of the perfect and most common techniques employed in locating the routes and traverse plots. It is an advanced BFS model that mainly resembles for shorter routes instead of longer routes. A * is optimum and a successful algorithm as well.

To perform the A* search, we should determine the separation using:

 f(n) = cost(n) + h(n), where the cost(n) is the real cost from the source node to node n, and h(n) is the predicted cost from node n to node g.

(e) Dynamic programming is a type of reverse inference that, from a threshold, calculates precisely the value-to-go backward. It is a basic optimal control approach that includes saving an incomplete response to questions so that a response that has already been calculated can be recovered easily instead of getting recalculated (Poole, & Mackworth, 2017).

 

0

1

2

3

4

5

6

7

0

4

3

2

3

4

5

6

7

1

3

2

1

2

3

4

5

6

2

2

1

g

1

2

3

4

5

3

3

2

         

6

4

4

 

12

11

10

9

8

7

5

5

6

 

S 10

11

10

 

8

6

6

7

8

9

10

11

10

9

7

7

8

9

10

11

12

11

10

(f) For this question, it appears as though A * and dynamic programming are appropriate. A* would be perfect if you were working at once. If you desired to work it various times for a very similar target, then dynamic programming will be best to use.

The depth-first search algorithm seems much useless for the given system of neighbouring nodes. But, the depth-first search algorithm will look very reasonable, if it had been examined in the sequence: left, up, right, down.

(g) A * will often have a solution if the graph had stretched endlessly in all ways. The depth-first search algorithm will drift off infinitely. A route from s to g can be solved by a dynamic programming approach, but then it continues permanently.

 It would determine the shortest route if you interrupted it when it had specified s in the range graph, but it would be the same as the shortest-first approach from g, which is also not as great as A *. It will, moreover, enable us to reuse the distance model designed for other beginning locations to the same target.

(a) The nodes are developed in step with the rounded digits. The enclosed (5) is that the first target node encountered.

For each of the topic’t’, let us assume, s(t) be the range of the shortest section that incorporates the topic 't'.

-->Let the h (vp (TC; Segms.)) = maxt2TC s (t).

--> That is what we find the topic’t’ that s (t) is maximum.

Yes, it does satisfy monotone restriction because of the actual distance between any 2 nodes is that the sum of the length of the topics added between the 2 nodes that mean the only nodes that have actual distances than those where there's a path from one to the other. The difference between the h-values of the 2 nodes must be less than the time of the segments added to solve that goal.

(b) For each of the divisions, let the benefaction of the division be the period of the section divided by the number of topics the division covers.

-- > For every topic, t, let s (t) be the least benefaction for all of the divisions that address the topic.

-- > Let h (vp (TC; Segs)) = P t2TC s(t). That means, the sum of s(t) for all of the topics t in TC.

-- > The feeling is that every topic's’ demands at least s (t) period.

-- > Remark that you have to split by the number of topics that the section reports to be sure that you don't have to increase the count of the time for additional divisions that can include the various topics.

Yes, it meets the monotone constraint. Both of those solutions demand one route through the division that assists the database to create the s (t) function. But once it is created, the heuristic function is measured in the time proportionate to the range of the cover list.

References for Efficient Heuristic Search for Optimal Environment Redesign

Dow, P. A., & Korf, R. E. (2009). Duplicate avoidance in depth-first search with applications to treewidth. IJCAI International Joint Conference on Artificial Intelligence, 480–485.

Keren, S., Pineda, L., Gal, A., Karpas, E., & Zilberstein, S. (2019). Efficient Heuristic Search for Optimal Environment Redesign. International Conference on Automated Planning and Scheduling.

Lumenta, A. S. M. (2014). Perbandingan Metode Pencarian Depth-First Search, Breadth-First Search dan Best-First Search pada Permainan 8-Puzzle, e-Journal Tek. Electro Computer. https://doi.org/10.35793/jtek.3.1.2014.4285

Mackworth, A. K., Poole, D. L. (2017). Artificial Intelligence: Foundations of Computational Agents. United Kingdom: Cambridge University Press.

Marinescu, R. (2010). Best-First vs. Depth-First AND/OR Search for Multi-objective Constraint Optimization. Proceedings - International Conference on Tools with Artificial Intelligence,1, 439 - 446. 10.1109/ICTAI.2010.69.

Sigurdson, D., & Bulitko, V. (2017). Deep Learning for Real-Time Heuristic Search Algorithm Selection. AIIDE.

Sun, W., Rane, S. D., & Vetro, A. (2014). Method for securely determining Manhattan distances. United States Patent.

Remember, at the center of any academic work, lies clarity and evidence. Should you need further assistance, do look up to our Computer Science Assignment Help

Get It Done! Today

Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
Not Specific >5000
  • 1,212,718Orders

  • 4.9/5Rating

  • 5,063Experts

Highlights

  • 21 Step Quality Check
  • 2000+ Ph.D Experts
  • Live Expert Sessions
  • Dedicated App
  • Earn while you Learn with us
  • Confidentiality Agreement
  • Money Back Guarantee
  • Customer Feedback

Just Pay for your Assignment

  • Turnitin Report

    $10.00
  • Proofreading and Editing

    $9.00Per Page
  • Consultation with Expert

    $35.00Per Hour
  • Live Session 1-on-1

    $40.00Per 30 min.
  • Quality Check

    $25.00
  • Total

    Free
  • Let's Start

Get
500 Words Free
on your assignment today

Browse across 1 Million Assignment Samples for Free

Explore MASS
Order Now

Request Callback

My Assignment Services- Whatsapp Tap to ChatGet instant assignment help

Get 500 Words FREE
Ask your Question
Need Assistance on your
existing assignment order?