Artificial Intelligence

Cost Of Solution

1.Cost of  solution is the sum of the arc costs on the solution path.

• If all arcs have the same (unit) cost, then the solution cost is just the length of solution (number of steps/state transitions).then the solution cost is just the length of the solution or the number of steps or state transitions that is involved.

State space search  under such scenario is the process of searching through a state space for a solution, by making explicit a sufficient portion of an implicit state space graph.

Note: here we are generating the complete graph for finding a solution of problem solving. We keep on generating the graph as we keep on exploring for the solution.

In case of large state spaces, it is not possible in practical to represent the whole space.

1.Initially V= {S} , where S is the start node

•  When S is expanded its successors are generated and those nodes are added to the set V and the associated arcs are added to the set E.

• This process goes on until a goal node is reached.

So, Instead of having the whole state  space graph as it is explicitly generated and then looking for a solution, the idea is to make explicit a sufficient portion of this as I go on expanding for nodes.

And every node I expand  have to answer a question that whether it is my goal node ; if the answer is no then  getting the successor nodes and the process must  be continued  until the goal node is reached.

In general, from every node, there are many possible paths that have its partial  as prefix.

Lakshmi Durga

Share
Published by
Lakshmi Durga

Recent Posts

Google Spam Update 2025: Impact, Recovery Guide & SpamBrain Explained

Google released a spam update on 26th of August 2025 and this is affecting a…

3 weeks ago

Google Experiments with Black Sitelink Colors instead of Blue

Google keeps on testing google search display all the time and this time we are…

1 year ago

What are Template Tags in WordPress? How to Use Template Tags

In wordpress if you are developing new or custom wordpress theme or wordpress plugin then…

2 years ago

Google Search Indexing Issues Started on 31st January to February 2024

If you are experiencing indexing issues of your website then you are not alone and…

2 years ago

Create QR Code for Pages & Post using Plugin in WordPress

On your wordpress website if you want to generate qr code for pages and posts…

2 years ago

Add Google Search Console HTML File Upload on WordPress

If you are trying to verify your WordPress website with google search console with html…

2 years ago