heuristic_check
Check whether a heuristic is admissible and consistent for a given graph and goal, and optionally compare two heuristics for dominance.
Instructions
Is a heuristic admissible (h ≤ true cost) and consistent (h(n) ≤ c(n,n') + h(n'))? Optionally compare two for dominance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"edges": "<edges>",
"goal": "<goal>",
"heuristic": "<heuristic>"
},
"name": "heuristic_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| edges | Yes | ||
| directed | No | ||
| heuristic | Yes | ||
| compare_with | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |