new SearchEngine()
- Description:
Führt Suchalgorithmen auf Zustandsräumen aus.
- Source:
Methods
(async) solve(startState) → {Promise.<{success: boolean, path: Array, nodesVisited: number, duplicatesFound: number, stopped: boolean}>}
- Description:
Startet die Suche nach einem Zielzustand.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
startState |
GameState |
Returns:
- Type
- Promise.<{success: boolean, path: Array, nodesVisited: number, duplicatesFound: number, stopped: boolean}>