reset password
Author Message
jgnong
Posts: 10
Posted 19:09 Sep 09, 2019 |

For number 6, my heuristic returns, Search nodes expanded: 1140 which is under the 1200. However the autograder returns 0 for the problem. Is it okay to leave it like that or is there another command we can test number 6.

kmarlis
Posts: 35
Posted 19:50 Sep 09, 2019 |

Number six makes a note about that:

Grading: Your heuristic must be a non-trivial non-negative consistent heuristic to receive any points. Make sure that your heuristic returns 0 at every goal state and never returns a negative value. Depending on how few nodes your heuristic expands, you'll be graded:

jgnong
Posts: 10
Posted 20:42 Sep 09, 2019 |

i just checked that i had no negative i might have something with the goal state. Thank for bringing that up again

kmarlis
Posts: 35
Posted 15:45 Sep 10, 2019 |

Another thing to consider is if your heuristic is consistent. The autograder will give you a score of 0 if it isn't.