Giter Site home page Giter Site logo

cs241-final's Introduction

CS241 2020 fall final

作业要求说明(instruction):

Project.jpg

功能主页面:

Please choose the function:
	1.Create a new Graph (Press 1)
	2.Add lines in an exsited Graph (Press 2)
	3.Graph_cut Algorithm (Press 3)
	4.Accessible nodes (Press 4)
	5.Shortest path (Press 5)

功能操作介绍

1.Create a new Graph (Press 1)

a.输入随机生成函数
b.输入输出文件的文件名(带后缀.txt)

2.Add lines in an exsited Graph (Press 2)

a.输入追加文件的文件名(带后缀.txt)
b.输入追加随机生成的行数

3.Graph_cut Algorithm (Press 3)

a.输入原图的文件名(带后缀.txt)
b.输入子图中最多包含的节点数n
(切割生成子图存储在同一目录下G1.txt~Gk.txt中)

4.Accessible nodes (Press 4)

a.输入切割产生的子图最大的编号
b.输入想要查询的节点编号(若不在任何子图内,会报错)
c.输入上述查询得到的节点信息(格式如:G1:5)

5.Shortest path (Press 5)

a.输入切割产生的子图最大的编号
b.输入想要查询的节点编号(若不在任何子图内,会报错)
c.输入上述查询得到的节点信息(格式如:G1:5  G3:8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.