Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- calculateheuristic - > returns int the less the better
- tostring
- solution-> node is final solution or not? you take k naumber and all of them sum S (true or false)
- expand-> create children from one node
- 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