06.03.2013 Views

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

Artificial Intelligence and Soft Computing: Behavioral ... - Arteimi.info

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CSP deals with two classical problems: i) solution problem <strong>and</strong> ii) satisfaction<br />

problem. The solution problem is concerned with finding the solutions<br />

satisfying all the constraints. The satisfaction problem requires clarification<br />

about the existence of a solution. An algorithm that is capable of determining<br />

the satisfaction of a constraint is called a ‘Constraint Solver’. Since, a<br />

satisfaction problem also constructs a solution as a bi-product, we emphasize<br />

the satisfaction problem over the solution problem.<br />

Definition 19.8: A linear Constraint is a conjunction of linear equation /<br />

inequalities.<br />

For example, {(x+ y ≤ 2) Λ (x ≤ 1) Λ (y ≤ 1)} is a linear constraint as it is a<br />

conjunction of linear inequalities.<br />

Definition 19.9: A Constraint is called a Boolean constraint, if it comprises<br />

of Boolean variables, having only two values: true <strong>and</strong> false.<br />

Boolean constraints include operators like AND (&), OR (∨), implication<br />

(→), bi-directional implication (↔) <strong>and</strong> exclusive–OR (⊕) . It is to be noted<br />

that we deliberately used & for AND instead of ‘Λ’ as it is used for<br />

conjunction of constraints in an expression.<br />

Definition 19.10: A variable x is determined by a set of constraints C, if<br />

every solution of C is a solution of x= e, where e is a variable-free<br />

expression. We illustrate it in the next section.<br />

19.3 Constraint Propagation in Networks<br />

Determination of the value of variables <strong>and</strong> their substitution in other<br />

constraints simplify them, which subsequently lead to the solution of the CSP.<br />

For example, let us consider a simple circuit comprising of two resistances<br />

<strong>and</strong> a D.C. cell (fig.19.1).<br />

+<br />

-<br />

V<br />

I<br />

I1<br />

V1<br />

R1<br />

Fig.19.1: A simple circuit.<br />

V2<br />

R2<br />

I2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!