www.iji-cs.org
International Journal of Information and Computer Science (IJICS) Volume 4, 2015 doi: 10.14355/ijics.2015.04.005
Automatic Diagnosis with Constraint Solver Xuenong Zhang*1, Wei Lu2 Department of E-commerce, GuangDong Pharmaceutical University, Guangzhou, China zxnxlq@163.com
*1
Abstract A constraint-based model of diagnostic problem is proposed and the classical diagnostic problem can be transformed to a problem of constraint solving. Then, a depth first search with branch and bound approach to reduce the complexity of traveling through the diagnostic space is proposed. Its soundness and completeness is proved. And its complexity is also analyzed. Keywords Automatic Diagnosis; Constraint Solving; Diagnostic Model
Introduction Generally, a diagnostic problem is characterized by a set of observations to account for the differences between the system’s actual behaviors and its expected behaviors. Because of its generality and its dramatic importance in many application domains, automated diagnosis has been receiving considerable attention in the field of AI research. The classical diagnostic method is built on the well-known consistency-based theory [1] and the classical model describes the system's structure and behavior usually by the first-order language. This theory was extended by de Kleer et al. [2] in 1992. Another logical theory of diagnosis, developed by Console et al. [3] and others, was called abductive diagnosis. They used logical implications from causes to effects to represent causal knowledge. The diagnostic process is formulized as reasoning from effects to causes. The computational complexity of diagnosis is one of the well-known problems that need to be tackled in order to deploy the real-world applications of Model-based diagnosis. Several relevant contributions can be found in the literatures [4, 5]. In recently years, some effective constraint solvers [6] have been proposed. For utilizing constraint solving technology, we propose a constraint-based model of diagnostic problem and a diagnostic algorithm in this paper. Constraint-Based Model In this section we introduce the diagnostic model based on constraint. Definition 1 Diagnostic Problem Diagnostic problem is a triple (SD, COMPS, OBS) where: (1) SD is a function ℘: COMPS →R, where R is a set of constraints corresponding to components. Var(R)= Varinter(R) + Varobs(R) is the set of constraint variables, and Varinter(R) is the set of internal variables, Varobs(R) is the set of external variables; (2) COMPS is a set of components; (3) OBS is a set of observes. Definition 2 Diagnosis Space SH=2COMPS is called diagnosis space, and diagnostic hypothesis h∈SH is a set of components. Definition 3 Observe Space Observe space SOBS=dom(v1) ×…× dom(vi) is a set of all possible observes, where vi∈Varobs(R), dom(vi) is the domain of
30