1. Encode the problem of finding a valid color assignment for this graph as a propositional formula in clause form. A model of your formula must represent a solution of the coloring problem. Describe the role of all variables and clauses you use. 2. Encode the problem as a PLFD formula in clause form such that all variables us the domain {red, green, blue}. Describe the role of all variables and clauses you use.

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question

I need help with this question. 

5 Problem Encoding
Consider the following graph:
1
4
2
4
We want to assign one of the colors red, green, blue to every node of the graph, such that no
connected nodes have the same color. For example, the graph to the left is a solution to the
problem, the graph to the right is not.
5
2
3
5
1
3
4
2
5
3
1. Encode the problem of finding a valid color assignment for this graph as a propositional
formula in clause form. A model of your formula must represent a solution of the coloring
problem. Describe the role of all variables and clauses you use.
2. Encode the problem as a PLFD formula in clause form such that all variables us the domain
{red, green, blue}. Describe the role of all variables and clauses you use.
Transcribed Image Text:5 Problem Encoding Consider the following graph: 1 4 2 4 We want to assign one of the colors red, green, blue to every node of the graph, such that no connected nodes have the same color. For example, the graph to the left is a solution to the problem, the graph to the right is not. 5 2 3 5 1 3 4 2 5 3 1. Encode the problem of finding a valid color assignment for this graph as a propositional formula in clause form. A model of your formula must represent a solution of the coloring problem. Describe the role of all variables and clauses you use. 2. Encode the problem as a PLFD formula in clause form such that all variables us the domain {red, green, blue}. Describe the role of all variables and clauses you use.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,