From 2d05f839a2d957c64bcd030ae1ca51ba57f5d5c6 Mon Sep 17 00:00:00 2001 From: Alan Oliveira Date: Tue, 27 Feb 2018 13:11:43 -0300 Subject: [PATCH] Minor fix in typo --- search.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/search.ipynb b/search.ipynb index cf3b4306e..332ba11b9 100644 --- a/search.ipynb +++ b/search.ipynb @@ -143,15 +143,15 @@ "source": [ "The `Node` class has nine methods.\n", "\n", - "* `__init__(self, state, parent, action, path_cost)` : This method creates a node. `parent` represents the the node that this is a successor of and `action` is the action required to get from the parent node to this node. `path_cost` is the cost to reach current node from parent node.\n", + "* `__init__(self, state, parent, action, path_cost)` : This method creates a node. `parent` represents the node that this is a successor of and `action` is the action required to get from the parent node to this node. `path_cost` is the cost to reach current node from parent node.\n", "\n", "* `__repr__(self)` : This returns the state of this node.\n", "\n", "* `__lt__(self, node)` : Given a `node`, this method returns `True` if the state of current node is less than the state of the `node`. Otherwise it returns `False`.\n", "\n", - "* `expand(self, problem)` : This methods lists all the neighbouring(reachable in one step) nodes of current node. \n", + "* `expand(self, problem)` : This method lists all the neighbouring(reachable in one step) nodes of current node. \n", "\n", - "* `child_node(self, problem, action)` : Given an `action`, this methods returns the immediate neighbour that can be reached with that `action`.\n", + "* `child_node(self, problem, action)` : Given an `action`, this method returns the immediate neighbour that can be reached with that `action`.\n", "\n", "* `solution(self)` : This returns the sequence of actions required to reach this node from the root node. \n", "\n", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy