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爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          国产欧美精品日韩区二区麻豆天美 | 激情综合在线| 久久国产精品色婷婷| 韩国av一区二区三区| 久久综合狠狠综合久久激情| 亚洲精品中文字幕在线| 国产精品美女www爽爽爽| 久久精品男女| 日韩视频不卡| 国产日韩精品综合网站| 麻豆精品在线播放| 在线观看中文字幕亚洲| 欧美日韩精品伦理作品在线免费观看 | 国产有码一区二区| 欧美日本不卡视频| 香蕉久久一区二区不卡无毒影院 | 日韩亚洲欧美成人一区| 国产亚洲视频在线| 欧美日韩一区二区三区| 久久婷婷亚洲| 极品少妇一区二区三区精品视频| 欧美大片在线观看一区二区| 午夜天堂精品久久久久| 亚洲国产一区二区三区高清| 国产欧美精品在线播放| 欧美日韩123| 欧美77777| 久久精品在线观看| 亚洲一区二区三区影院| 日韩一区二区久久| 日韩视频免费观看| 亚洲精品一区二区三区av| 红桃视频亚洲| 激情综合五月天| 国产欧美日韩在线| 国产精品综合不卡av| 国产精品初高中精品久久| 欧美激情在线观看| 欧美成人午夜激情视频| 狂野欧美性猛交xxxx巴西| 性久久久久久久久久久久| 黄色成人小视频| 国产日产精品一区二区三区四区的观看方式 | 欧美一区二区成人6969| 99亚洲视频| 亚洲免费观看视频| 中日韩在线视频| 国产精品99久久不卡二区| 亚洲精品午夜| 亚洲激情社区| 亚洲激情av在线| 亚洲精品一区二区三区在线观看 | 国产日韩综合一区二区性色av| 国产精品日韩在线播放| 国产精品久久久久久久久婷婷 | 国产综合自拍| 国产精品日韩一区| 国产精品成人aaaaa网站| 国产精品美腿一区在线看| 国产精品白丝黑袜喷水久久久 | 久久午夜电影| 久久综合福利| 欧美日韩视频不卡| 久久综合九色99| 欧美激情精品久久久久久久变态| 欧美巨乳在线| 国产精品伊人日日| 在线成人激情黄色| 夜夜嗨av一区二区三区网页| 午夜精品久久久久久久白皮肤| 欧美一级艳片视频免费观看| 久久偷看各类wc女厕嘘嘘偷窃| 午夜精品亚洲一区二区三区嫩草| 99re成人精品视频| 欧美在线视频免费| 欧美freesex交免费视频| 欧美午夜剧场| 黄色另类av| 一本一本大道香蕉久在线精品| 亚洲主播在线观看| 久久久欧美一区二区| 国产麻豆综合| 国产美女一区二区| 91久久极品少妇xxxxⅹ软件| 午夜激情综合网| 免费不卡视频| 国产精品免费网站| 国产一区二区三区四区三区四| 亚洲精品小视频| 亚洲综合精品四区| 久久国产直播| 国产精品日本欧美一区二区三区| 亚洲国产一区二区精品专区| 欧美一级网站| 欧美午夜精品电影| 亚洲欧洲一区二区三区久久| 欧美一区二区三区日韩视频| 欧美日韩久久精品| 亚洲国产一区二区三区高清| 久久国产手机看片| 国产日韩精品久久| 亚洲男人影院| 欧美三级电影网| 99re视频这里只有精品| 欧美成人一区二免费视频软件| 国产一区二区在线观看免费播放| 亚洲精品永久免费| 久久综合九色综合久99| 国产午夜精品麻豆| 久久精品国产综合精品| 国产情人综合久久777777| 亚洲一区二区三区777| 欧美日韩在线播放一区二区| 亚洲人成77777在线观看网| 久久久免费精品视频| 欧美三日本三级少妇三99| 一本一道久久综合狠狠老精东影业 | 羞羞视频在线观看欧美| 国产欧美日韩在线播放| 香港成人在线视频| 欧美色大人视频| 在线视频日本亚洲性| 欧美激情一区二区三区不卡| 亚洲二区免费| 欧美巨乳在线| 亚洲欧美日韩另类精品一区二区三区| 国产精品激情偷乱一区二区∴| 亚洲愉拍自拍另类高清精品| 国产精品久久久久9999| 午夜精品福利视频| 韩国三级在线一区| 性欧美大战久久久久久久久| 国产精品每日更新| 久久久久国产精品麻豆ai换脸| 精品电影一区| 欧美福利小视频| 在线中文字幕不卡| 国产视频久久久久久久| 久久综合伊人77777麻豆| 亚洲精品午夜精品| 国产精品v欧美精品v日韩精品| 在线一区视频| 欧美视频在线观看视频极品| 午夜精品久久久久久久99樱桃 | 亚洲欧美一区二区在线观看| 国产亚洲欧美一区二区| 欧美成人自拍| 亚洲综合精品四区| 亚洲国产精品第一区二区| 欧美日韩国产三级| 一区二区三区.www| 国产精品大片| 午夜在线一区二区| 亚洲精品久久久久久久久久久久| 欧美精品一区二区三区蜜臀| 日韩午夜在线| 国产亚洲一区在线播放| 欧美另类亚洲| 久久久欧美精品sm网站| 一区二区三区日韩精品| 伊人久久大香线蕉综合热线| 国产精品二区三区四区| 可以免费看不卡的av网站| 久久婷婷国产综合国色天香| 久久激情网站| 久久蜜臀精品av| 久久综合久色欧美综合狠狠| 久久久999精品| 久久综合色天天久久综合图片| 欧美专区在线观看| 久久久亚洲国产天美传媒修理工| 欧美中在线观看| 久久色在线播放| 欧美激情1区2区| 欧美区日韩区| 国产精品免费看片| 国产一区二区三区久久| 国内成人精品2018免费看 | 国产丝袜美腿一区二区三区| 国产精品老女人精品视频| 国产精品亚洲精品| 国色天香一区二区| 亚洲人成亚洲人成在线观看| 亚洲免费观看高清完整版在线观看熊| 亚洲美女在线看| 午夜精品视频一区| 六十路精品视频| 欧美日韩在线免费观看| 国产精品色在线| 在线日韩精品视频| 亚洲天天影视| 久久久精品视频成人| 欧美精品一区三区| 国产精品久久国产精品99gif| 国产日韩av一区二区| 91久久在线观看| 香蕉久久夜色精品| 欧美激情亚洲精品| 国产日韩欧美视频在线| 亚洲日本一区二区|