99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代做CMPT 477、代寫Java/python語言編程
代做CMPT 477、代寫Java/python語言編程

時間:2024-10-02  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



CMPT **7 / 777 Formal Verification
Programming Assignment 1
This assignment is due by 11:59pm PT on Wednesday Oct 2, 2024. Please submit it to Canvas. Late policy:
Suppose you can get n (out of 100) points based on your code and report
• If you submit before the deadline, you can get all n points.
• If you submit between 11:59pm PT Oct 2 and 11:59pm PT Oct 3, you get n − 10 points. • If you submit between 11:59pm PT Oct 3 and 11:59pm PT Oct 4, you get n − 20 points. • If you submit after 11:59pm PT Oct 4, you get 0 points.
Problem Description
(100 points) A solution to a graph coloring problem is an assignment of colors to vertices such that no two adjacent vertices have the same color. Formally, a finite graph G = (V,E) consists of vertices V = {v1,...,vn} and edges E = {(vi1,wi1),...,(vik,wik)}. The finite set of colors is given by C = {c1,...,cm}. A problem instance is given by a graph and a set of colors: the problem is to assign each vertex v ∈ V a color(v) ∈ C such that for every edge (v,w) ∈ E, color(v) ̸= color(w). Clearly, not all instances have solutions.
Please write a Java program with Z3 APIs to solve the graph coloring problem. The input is a file in the following format
NM
vi1 wi1
vi2 wi2
...
vik wik
where the first line contains two positive integers: N is the number of vertices, and M is the number of colors (separated by a space). Without loss of generality, we can assume V = {1,...,N} and C = {1,...,M}. Each of the rest line contains two positive integers vij and wij that are no more than N, which corresponds to an edge (vij , wij ).
The output is also a file. If an instance does not have a solution, write “No Solution” in the output file. Otherwise, write an assignment of colors to vertices in the following format.
v1 c1
v2 c2
...
vm ck
where vi denotes the vertex and ci denotes its color, i.e., color(vi) = ci, separated by a space.
You might want to use the following hints for encoding: • Introduce a boolean variable pv,c for color(v) = c.
• Describe the formula asserting every vertex is colored.
1

• Describe the formula asserting every vertex has at most one color.
• Describe the formula asserting that no two connected vertices have the same color.
2 Sample Input and Output
Suppose we have an input file input.txt that contains the following six lines
which represents the following graph
43 12 13 14 24 34
12
34
   After running the program, we can get a file with the following lines (not unique)
11 22 ** 43
It means the colors of vertices v1, v2, v3, v4 are c1, c2, c2, c3, respectively. 3 Compilation and Execution
Compilation. The provided codebase uses the Maven build system. After you enter the verif-sat direc- tory, the project can be easily compiled with one command
$ mvn package
Then you should be able to see the message “BUILD SUCCESS”. A directory called target will be created
and a jar file called verif-sat-1.0.jar will be generated inside the target.
Execution. In the verif-sat directory, you can execute the program using the following command (use ;
instead of : on Windows)
$ java -cp lib/com.microsoft.z3.jar:target/verif-sat-1.0.jar sat.GraphColoring <in-path> <out-path>
where <in-path> is the path to the input file and <out-path> is the path to the output file. For example, you can run
$ java -cp lib/com.microsoft.z3.jar:target/verif-sat-1.0.jar sat.GraphColoring input.txt output.txt
You will see a runtime exception with message “To be implemented”, because the program is not imple- mented yet. After you finish the implementation, you should see a file named output.txt with the content as shown in Section 2.
2

4 Deliverable
A zip file called P1 SFUID.zip (SFUID is replaced with your 9-digit student ID number) that contains the followings:
• The verif-sat directory that contains your Java program. You can have multiple source files if you want, but you need to make sure the project can be built and executed in the way described in Section 3.
• A short report called P1 SFUID.pdf that describes your encoding and explains the design choices, features, issues (if any), and anything else that you want to explain about your program.
3

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






 

掃一掃在手機打開當前頁
  • 上一篇:CVEN9612代寫、代做Java/Python程序設計
  • 下一篇:代做COMP3230、代寫c/c++編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          9000px;">

                色综合婷婷久久| 日韩激情视频网站| 欧美性猛交xxxxxxxx| 风间由美性色一区二区三区| 精品写真视频在线观看| 蜜臀av一区二区| 日韩av不卡在线观看| 午夜精品一区二区三区免费视频 | 日韩精品在线网站| 这里只有精品电影| 欧美成人艳星乳罩| 精品福利一区二区三区免费视频| 日韩欧美专区在线| 精品国精品自拍自在线| 精品久久久久久久久久久院品网| 日韩免费成人网| xfplay精品久久| 国产蜜臀97一区二区三区 | 97se狠狠狠综合亚洲狠狠| 成人免费观看视频| 91极品视觉盛宴| 欧美人妇做爰xxxⅹ性高电影 | 国内成+人亚洲+欧美+综合在线 | 在线播放欧美女士性生活| 欧美体内she精视频| 欧美一区二区福利在线| 久久婷婷综合激情| 国产精品国产成人国产三级 | 精品电影一区二区| 国产精品视频观看| 午夜精品久久久久久久久| 九色|91porny| 99久久亚洲一区二区三区青草| 色一情一乱一乱一91av| 欧美一区二区视频观看视频| 国产日韩欧美不卡| 亚洲国产三级在线| 国产另类ts人妖一区二区| 91在线观看一区二区| 91 com成人网| 国产精品色呦呦| 午夜激情综合网| 国产大片一区二区| 欧美日韩精品一区二区在线播放| 国产亚洲欧美一区在线观看| 亚洲国产综合在线| 成人av片在线观看| 日韩欧美中文字幕一区| 亚洲精品中文在线| 国产麻豆精品在线| 欧美麻豆精品久久久久久| 国产精品卡一卡二卡三| 麻豆91在线播放| 欧美日韩精品福利| 中文字幕欧美激情一区| 蜜桃视频在线观看一区| 欧美日韩视频在线观看一区二区三区 | 国产精品一二三在| 在线综合+亚洲+欧美中文字幕| 国产精品你懂的在线| 精品在线观看视频| 欧美一区二区三区在| 亚洲猫色日本管| 成人夜色视频网站在线观看| 欧美mv日韩mv国产网站| 亚洲成人激情自拍| 色天使色偷偷av一区二区| 国产日韩精品一区二区三区| 极品销魂美女一区二区三区| 91精品国产高清一区二区三区 | 国产三级三级三级精品8ⅰ区| 丝袜亚洲另类欧美| 欧美视频一区二区在线观看| 综合久久久久久| 99re成人在线| 日韩一区在线看| 成人激情av网| 国产精品久久久久久久久免费相片 | 国产欧美精品一区| 国产成人在线免费| 国产日韩欧美电影| eeuss鲁片一区二区三区在线看| 国产精品视频免费看| aaa欧美色吧激情视频| 亚洲欧洲日本在线| 91女厕偷拍女厕偷拍高清| 亚洲另类春色校园小说| 在线一区二区三区四区| 亚洲国产一区二区a毛片| 欧美精品九九99久久| 免费成人在线网站| 亚洲精品一区二区在线观看| 国产成人免费在线| 亚洲天堂久久久久久久| 色婷婷av一区二区三区软件| 亚洲成av人影院| 日韩亚洲欧美一区| 国产精品一区免费视频| 成人欧美一区二区三区| 欧美日韩性生活| 精品制服美女久久| 最新国产成人在线观看| 欧美日韩一区三区| 国产真实乱对白精彩久久| 国产日韩欧美电影| 欧美在线三级电影| 蜜臀久久99精品久久久画质超高清| 2020国产精品自拍| eeuss鲁片一区二区三区在线看| 亚洲午夜影视影院在线观看| 精品少妇一区二区三区免费观看| 国产成人精品一区二区三区四区| 亚洲理论在线观看| 日韩亚洲欧美一区二区三区| 不卡av免费在线观看| 午夜精品福利久久久| 国产欧美日韩麻豆91| 欧美三区在线观看| 国产精品一区二区三区乱码| 亚洲成人在线网站| 久久久国产一区二区三区四区小说 | 成人黄色小视频| 亚洲一区二区在线免费看| 久久婷婷一区二区三区| 在线精品视频小说1| 国产成人精品一区二| 午夜伦欧美伦电影理论片| 国产精品水嫩水嫩| 精品久久人人做人人爰| 91国在线观看| 国产精品99久久久久久久女警 | 欧美国产一区视频在线观看| 欧美体内she精视频| 成人高清视频在线观看| 国产在线精品一区二区不卡了| 一区二区三区在线视频免费观看| 亚洲制服欧美中文字幕中文字幕| 在线不卡欧美精品一区二区三区| 91视频在线观看| 成人永久免费视频| 精品一区二区在线免费观看| 性欧美大战久久久久久久久| 亚洲欧美在线视频| 国产精品私房写真福利视频| 2023国产精品自拍| 日韩欧美一区电影| 欧美久久一二区| 欧美日韩一区国产| 91国产成人在线| 91麻豆自制传媒国产之光| 成av人片一区二区| 99久久免费视频.com| 97精品久久久久中文字幕| 不卡的av网站| 99国产精品视频免费观看| 国产成人在线看| 成人性视频免费网站| 成人免费高清视频在线观看| 国产精品1024久久| 国产成人在线视频播放| 国产成人免费在线观看不卡| 国产精品小仙女| 成人开心网精品视频| 成人动漫一区二区在线| 成人免费看黄yyy456| av在线不卡网| 色偷偷久久一区二区三区| 日本久久一区二区三区| 欧美日韩国产乱码电影| 91精品国产色综合久久不卡蜜臀| 在线播放国产精品二区一二区四区| 欧美日韩高清不卡| 91精品国产综合久久精品性色| 欧美精品 日韩| 久久午夜电影网| 专区另类欧美日韩| 亚洲一级二级三级| 麻豆专区一区二区三区四区五区| 久久国产精品第一页| 国产成人99久久亚洲综合精品| 成人免费精品视频| 欧美中文字幕不卡| 91精品欧美一区二区三区综合在| 精品福利av导航| 亚洲免费av高清| 奇米综合一区二区三区精品视频| 国产精品自在欧美一区| 91亚洲精品一区二区乱码| 欧美日韩成人激情| 精品国产亚洲一区二区三区在线观看| 久久精品一区二区三区四区| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 国产精品毛片久久久久久| 一区二区三区不卡视频在线观看| 丝袜美腿亚洲色图| 国产成人午夜精品5599| 欧美亚洲禁片免费| 国产欧美日韩卡一| 免费观看91视频大全| 97se亚洲国产综合在线|