heuristics
What are some good methods to finding a heuristic for the A* algorithm?
You have a map of square tiles where you can move in any of the 8 directions. Given that you have function called cost(tile1, tile2) which tells you the cost of moving from one adjacent tile to anothe[详细]
2023-02-25 02:13 分类:问答What is the most effective way to find the node with the lowest value to expand in A star with heuristic?
im doing the 8 puzzle solver with the a st开发者_如何学Goar algorithm. I implement Manhattan and misplaced heuristic functions in this solver. In some cases, the solver works fine. But in some cases,[详细]
2023-02-22 15:26 分类:问答How can I hash composite classes?
Let Abstract be an abstract class, and A1,A2,...,An concrete classes that inherit from Abstact. Each one of Ai has a list of Abstract and a pre-defined,known at compile time, set of primitive types, l[详细]
2023-02-20 12:04 分类:问答Library/Algorithm to minify URL
I want to display URLs within a limited area: 2 lines and width of ~120px. Obviously most URLs don\'t fit.[详细]
2023-02-15 08:26 分类:问答Should I use one class or more?
In my PHP web application, I want to have the ability to perform the following logging operations: Write a database record to an \'error_log\' table.[详细]
2023-02-13 01:07 分类:问答Heuristic and A* algorithm
I was reading about dijkstra algorithm and A* star algorithm. I know that the difference is the heuristic used. But what is a heuristic and how this influence the algorithms? Heuristic is just an way[详细]
2023-02-12 11:18 分类:问答Artificial Intelligence/Rules to guess user taste in Apparel/Clothing
Are there standard rules engine/algorithms around AI that would predict the user taste on a particular kind of product li开发者_如何学JAVAke clothes.[详细]
2023-02-08 16:10 分类:问答How can we implement Artificial Intelligence in Javascript games?
i am working on a two player board game in html5/JavaScript. the two player version is almost complete. i want to add single player mode, where computer would be oppon开发者_高级运维ent. this game wil[详细]
2023-02-08 12:10 分类:问答what heuristic evaluation function or algorithm can be treated as inadmissible
I have learned several heuristic functions which开发者_开发问答 are admissible to deal with the classical 8 puzzle problem, and I know you can multiply a factor to a admissible function to make it ina[详细]
2023-02-06 22:58 分类:问答Heuristic to predict Name or Company
Problem We are recieving strings and they may either represent a company name or a person\'s name. We need a heuristic to determine this.[详细]
2023-02-06 05:49 分类:问答