自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

原创 系统分析与设计作业五

使用 UMLet 建模:根据订旅馆建模文档, Asg-RH.pdf:绘制用例图模型(到子用例)给出 make reservation 用例的活动图 用例图模型如下:活动图如下:根据课程练习“投递员使用投递箱给收件人快递包裹”的业务场景分别用多泳道图建模三个场景的业务过程根据上述流程,给出快递柜系统最终的用例图模型用正常色彩表示第一个业务流程反...

2019-05-26 14:42:34 199

原创 系统分析与设计作业四

一、简答题用例的概念是软件工程或系统工程中对系统如何反应外界请求的描述,是一种通过用户的使用场景来获取需求的技术。用例和场景的关系?什么是主场景或happy path?每个用例提供了一个或多个场景,该场景说明了系统是如何和最终用户或其它系统互动,也就是谁可以用系统做什么,从而获得一个明确的业务目标。Happy path 在软件工程建模的背景下指的是没有引发异常或错误的运行场景中的运...

2019-05-26 01:34:40 570

原创 系统分析与设计作业三

简述瀑布模型、增量模型、螺旋模型(含原型方法),并分析优缺点瀑布模型:项目开发架构,开发过程是通过设计一系列阶段顺序展开的,从系统需求分析开始直到产品发布和维护,每个阶段都会产生循环反馈,因此,如果有信息未被覆盖或者发现了问题,那么最好 “返回”上一个阶段并进行适当的修改,项目开发进程从一个阶段“流动”到下一个阶段,这也是瀑布模型名称的由来。优点:降低软件开发的复杂程度,提高软...

2019-04-18 22:07:05 263

原创 系统分析与设计作业二

简答题用简短的语言给出对分析、设计的理解。分析设计指的是对软件需求的分析设计,在需求分析阶段,要明确软件必须实现什么,有什么限制;在软件设计阶段,要明确系统应该怎么工作;在软件开发阶段,要明确系统如何实现。用一句话描述面向对象的分析与设计的优势。OOAD的封装、数据隐藏和模块化的设计原则有利于开发耦合度低的系统并进行有效的管理。简述 UML(统一建模语言)的作用。考试考哪些图?U...

2019-04-15 14:53:08 175

原创 系统分析与设计作业一

软件工程的定义将系统化的、规范的、可度量的方法用于软件的开发、运行和维护的过程,即将工程化应用于软件开发中。解释导致 software crisis 本质原因、表现,述说克服软件危机的方法原因用户需求不明确缺乏正确的理论指导软件开发规模越来越大软件开发复杂度越来越高软件维护成本越来越高表现项目运行超出预算项目运行超过时间软件质量低落软件通常不匹配需求项...

2019-03-12 00:23:57 209

原创 Project CFLP

   本次项目使用两种算法完成,一为遗传算法,二为贪婪算法。以下分别阐述两种算法的框架和实验结果。 遗传算法约定NNN 表示顾客(customer) 总数MMM 表示设施(facility) 总数cijc_{ij}cij​ 表示将 iii 号顾客分配到 jjj 号设施的 costCjC_jCj​ 表示开放 jjj 号设施的 costdid_idi​ 表...

2018-12-22 21:49:23 534

原创 LeetCode 730. Count Different Palindromic Subsequences

一、题目描述Given a string S, find the number of different non-empty palindromic subsequences in S, and return that number modulo 10^9 + 7.A subsequence of a string S is obtained by deleting 0 or more cha...

2018-12-08 01:35:39 184

原创 LeetCode 741. Cherry Pickup

一、题目描述In a N x N grid representing a field of cherries, each cell is one of three possible integers.0 means the cell is empty, so you can pass through;1 means the cell contains a cherry, that you ...

2018-11-30 01:51:45 222

原创 LeetCode 354. Russian Doll Envelopes

一、题目描述You have a number of envelopes with widths and heights given as a pair of integers (w, h). One envelope can fit into another if and only if both the width and height of one envelope is greater ...

2018-11-25 16:24:42 183

原创 LeetCode 879. Profitable Schemes

一、题目描述There are G people in a gang, and a list of various crimes they could commit.The i-th crime generates a profit[i] and requires group[i] gang members to participate.If a gang member participat...

2018-11-15 23:00:18 693

原创 LeetCode 818. Race Car

一、题目描述Your car starts at position 0 and speed +1 on an infinite number line. (Your car can go into negative positions.)Your car drives automatically according to a sequence of instructions A (accel...

2018-11-11 12:33:03 278

原创 LeetCode 902. Numbers At Most N Given Digit Set

一、题目描述We have a sorted set of digits D, a non-empty subset of {'1','2','3','4','5','6','7','8','9'}. (Note that '0' is not included.)Now, we write numbers using these digits, using each digit as ma...

2018-11-04 12:35:46 220

原创 LeetCode 887. Super Egg Drop

一、题目描述You are given K eggs, and you have access to a building with N floors from 1 to N.Each egg is identical in function, and if an egg breaks, you cannot drop it again.You know that there exists ...

2018-10-27 23:25:13 356

原创 LeetCode 757. Set Intersection Size At Least Two

一、题目描述An integer interval [a, b] (for integers a < b) is a set of all consecutive integers from a to b, including a and b.Find the minimum size of a set S such that for every integer interval A i...

2018-10-21 17:44:46 459

原创 LeetCode 514. Freedom Trail

一、题目描述In the video game Fallout 4, the quest “Road to Freedom” requires players to reach a metal dial called the “Freedom Trail Ring”, and use the dial to spell a specific keyword in order to open th...

2018-10-14 21:58:21 374

原创 LeetCode 839. Similar String Groups

一、题目描述Two strings X and Y are similar if we can swap two letters (in different positions) of X, so that it equals Y.For example, "tars" and "rats" are similar (swapping at positions 0 and 2), and "r...

2018-10-07 17:35:43 631

原创 LeetCode 854. K-Similar Strings

一、题目描述Strings A and B are K-similar (for some non-negative integer K) if we can swap the positions of two letters in A exactly K times so that the resulting string equals B.Given two anagrams A and ...

2018-09-28 22:01:39 712

原创 LeetCode 329. Longest Increasing Path in a Matrix

一、题目描述Given an integer matrix, find the length of the longest increasing path.From each cell, you can either move to four directions: left, right, up or down. You may NOT move diagonally or move out...

2018-09-21 22:09:02 167

原创 LeetCode 903. Valid Permutations for DI Sequence

一、题目描述We are given S, a length n string of characters from the set {'D', 'I'}. (These letters stand for “decreasing” and “increasing”.)A valid permutation is a permutation P[0], P[1], ..., P[n] of...

2018-09-16 14:10:08 3078

原创 LeetCode 312. Burst Balloons

一、题目描述Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloons. If the you burst balloon i you will get...

2018-09-09 18:43:05 255

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除