Advertisement
claukiller

Untitled

Apr 20th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. calculateheuristic - > returns int the less the better
  2. tostring
  3. solution-> node is final solution or not? you take k naumber and all of them sum S (true or false)
  4. expand-> create children from one node
  5.  
  6.  
  7. we take the smallest one check if it is solution y si no expand (create children)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement