3 3 votes Let $\text{b}$ be the branching factor of a search tree. If the optimal goal is reached after $\text{d}$ actions from the initial state, in the worst case, how many times will the initial state be expanded for iterative deepening depth-first search $\text{(IDDFS)}$ and iterative Deepening $\text{A*}$ search $\text{(IDA*)}$? $\text{IDDFS -d}$, $\text{IDA}$ $^{*}\text{-d}$. $\text{IDDFS}$ - $\text{d}$, $\text{IDA}$ $^{*}-\text{b}^{d}$ $\text{IDDFS}$ $\text{-b}^{d}, \mathrm{IDA}^{*}\text{-d}$. $\text{IDDFS}$ $\text{-b}^{d}, \mathrm{IDA}^{*}\text{-b}^{d}$. Others gateda-sample-paper-2024 depth-first-search + – admin 7.6k views answer comment Share Follow Print See 1 comment 1 1 comment reply vijay_amesar commented Feb 10, 2025 reply Follow flag option B 1 1 replyShare Please log in or register to add a comment.
2 2 votes Ans: D (not sure, please also read the comments below) Reference : https://www.cs.ubc.ca/~mack/CS322/lectures/2-Search6.pdf Riya_23 answered Oct 29, 2023 • edited Jan 7, 2024 by Riya_23 Riya_23 comment Share Follow See all 6 Comments 6 6 Comments reply Show 3 previous comments Arunava_Sar commented Jan 14, 2024 reply Follow flag The answer will be D).reference: Check comments of this stackoverflow page :Link: algorithm - Artificial Intelligence: Time Complexity of IDA* Search - Stack Overflow(also can search: Korf, Time complexity of iterative-deepening-A∗ (2001)) 0 0 replyShare Riya_23 commented Mar 27, 2024 reply Follow flag @Sachin+Mittal+1 0 0 replyShare Deepanwita_Modak commented Nov 26, 2024 reply Follow flag There are mentioned that how many times the initial state be expanded.. So, I think it is o(b+1)≈o(b) times.. If it given for depth state then it will be o(b^k).. May be.. 0 0 replyShare Please log in or register to add a comment.
2 2 votes Answer A. (Correct me if I wrong) As they have ask how many time root(start/initial stage) expand so in both they expand(iterate) it d+1 time so answer should be A. If IDDFS storing state previously visited it may be less than it is 1 in IDDFS Arjunmaniya answered Jan 25, 2024 Arjunmaniya comment Share Follow See 1 comment 1 1 comment reply sydshb commented Jan 26, 2024 i edited by sydshb Jan 26, 2024 reply Follow flag I think the answer should be B. The first node is expanded more than d times, and in worst-case scenarios, it can be b^d.we choose threshold based on minimum proned node value. 0 0 replyShare Please log in or register to add a comment.
2 2 votes IDA* we use cost function here,if evry child node has increasing values then we need to revisit start node. For we exploring a new node O(#total nodes:O(b^d) same with IDDFS so answer is option:D Correct me if am wrong santhosh_reddy answered Jan 22, 2025 • edited Feb 12, 2025 by santhosh_reddy santhosh_reddy comment Share Follow 0 reply Please log in or register to add a comment.