Research Article
An Intelligent Planning-Based Modeling Method for Diagnosis and Repair
Input: Model with fault label | Real-time observation sequence | Current diagnostic results | Output: Repair path | 1. Initialization: | 2. | 3. //Get the final state of the trajectory | 4. | 5. //Select the control event with maximum adding effect | 6. //Update status and delete faults | 7. //Record a sequence of controllable events | 8. //If it cannot be expanded | 9. //Backtrack and recover failures | 10. | 11. //If there is no path to full recovery | 12. //Choose the diagnosis with the greatest heuristic value and quit multi-fault repair | 13. else | 14. //Get the final state of the path | 15. | 16. //Get the repair status of the path | 17. | 18. Return Fail //If the repair path cannot be found, fail to exit |
|