- 博客(30)
- 收藏
- 关注
原创 系统分析与设计——lesson16
1.使用 ECB 实现 make reservation 用例的详细设计(包含用例简介,顺序图,类图)用例图:顺序图:类图:2.将逻辑设计类图映射到实际项目框架的包图。用树形结构表述实现的包和类...
2018-07-01 22:48:26 260
原创 DramaticTickets Final Report
个人报告感谢6位队友的共同努力。PSP2.1统计表PSP2.1Personal Software Process StagesTime (h)documentplanning计划43.Estimate预估任务时间0.51development开发18033.analysis需求分析(包括学习新技术)647.design spec生成设计文档63.design review设计复审21.coding...
2018-06-30 17:46:32 236
原创 系统分析与设计——lesson13
描述软件架构与框架之间的区别与联系以你的项目为案例绘制三层架构模型图,细致到分区结合你程序的结构,从程序员角度说明三层架构给开发者带来的便利研究 VUE 与 Flux 状态管理的异同1.软件架构与框架之间的区别与联系软件架构就是把系统分解为一些部件,描述这些部件的职责及它们之间的协作行为。当软件工程具一定规模时,软件开发不完全是以数据结构+算法的形式存在,而是基于技术选择和用户需求等众多因素将软件...
2018-06-03 21:48:00 298
原创 系统分析与设计——lesson9
对下面文档进行建模练习:美团外卖1.用例图2.业务或用例的活动图3.领域模型4.对象的状态图5.场景的系统顺序图与操作协议
2018-05-13 23:07:11 1090
原创 系统分析与设计——lesson8
状态建模1)使用 UML State Model建模对象: 参考 Asg_RH 文档, 对 Reservation/Order 对象建模。建模要求: 参考练习不能提供足够信息帮助你对订单对象建模,请参考现在 定旅馆 的旅游网站,尽可能分析围绕订单发生的各种情况,直到订单通过销售事件(柜台销售)结束订单。2)研究淘宝退货流程活动图,对退货业务对象状态建模(1)状态集合 S = {新订单,订单已确认...
2018-05-06 21:23:55 215
原创 系统分析与设计——lesson7
1、 领域建模a. 阅读 Asg_RH 文档,按用例构建领域模型。按 Task2 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸说明:请不要受 PCMEF 层次结构影响。你需要识别实体(E)和 中介实体(M,也称状态实体)在单页面应用(如 vue)中,E 一般与数据库构建有关, M 一般与 store 模式 有关在 java web 应用中,E 一般与数据库构建有关, M 一般与...
2018-04-29 22:48:28 250
原创 系统分析与设计——lesson6
1、 用例建模a. 阅读 Asg_RH 文档,绘制用例图。 按 Task1 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸b. 选择你熟悉的定旅馆在线服务系统(或移动 APP),如绘制用例图。并满足以下要求:- 对比 Asg_RH 用例图,请用色彩标注出创新用例或子用例- 尽可能识别外部系统,并用色彩标注新的外部系统和服务c. 对比两个时代、不同地区产品的用例图,总结在项目早期,...
2018-04-22 20:51:27 217
原创 系统分析与设计——lesson2
一、1.简述瀑布模型、增量模型、螺旋模型(含原型方法)的优缺点。瀑布模型:优点:1.降低软件开发的复杂程度,提高软件开发过程的透明性,提高软件开发过程的可管理性;2.推迟软件实现,强调在软件实现前必须进行分析和设计工作;3.以项目的阶段评审和文档控制为手段有效地对整个开发过程进 行指导,保证了阶段之间的正确衔接,能够及时发现并纠正开发过程中存在的缺陷,使产品达到预期的质量要求。缺点:1.强调过程活...
2018-03-21 17:36:44 290
原创 系统分析与设计——lesson1
一、1.软件工程的定义 (1)将系统化、规范化、可度量的方法应用与软件的开发、运行和维护的过程,即将工程化应用于软件中。(2)对(1)中所述方法的研究。2.阅读经典名著“人月神话”等资料,解释software crisis,COCOMO模型 software crisis即软件危机,是指在软件开发及维护的过程中所遇到的一系列严重问题,这些问题皆可能导致软件产品的寿命缩短、甚至夭折。鉴于...
2018-03-11 19:43:05 295
原创 算法分析与设计——LeetCode:101. Symmetric Tree
题目Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 / \ / \3 4 4 3But t...
2018-03-06 13:55:24 201
原创 算法分析与设计——LeetCode:104. Maximum Depth of Binary Tree
题目Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node./** * Definition for a binary tree node...
2018-01-20 23:00:42 204
原创 算法分析与设计——LeetCode:136. Single Number
题目Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without using extra m...
2018-01-20 22:46:29 280
原创 算法分析与设计——LeetCode:23. Merge k Sorted Lists
题目Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity./** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next...
2018-01-20 22:40:52 273
原创 算法分析与设计——LeetCode:24. Swap Nodes in Pairs
题目Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list as 2->1->4->3.Your algorithm should use only constan...
2018-01-20 21:33:00 211
原创 算法分析与设计——LeetCode:63. Unique Paths II
题目Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.For...
2018-01-13 13:23:24 267
原创 算法分析与设计——LeetCode:62. Unique Paths
题目A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bo...
2018-01-13 12:42:55 361
原创 算法分析与设计——LeetCode:55. Jump Game
题目Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine if you ...
2018-01-11 13:56:47 298
原创 算法分析与设计——课本8.14
题目Prove that the flowing problem that is NP-complete: given an undirected graph G=(V, E) and an integer k, return a clique of size k as well as an independent set of size k, provided both exist.
2018-01-10 16:28:05 520
原创 算法分析与设计——LeetCode:47. Permutations II
题目Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique permutations:[ [1,1,2], [1,2,1], [2,1,1]]cla...
2018-01-09 21:25:07 188
原创 算法分析与设计——LeetCode:46. Permutations
题目Given a collection of distinct numbers, return all possible permutations.For example,[1,2,3] have the following permutations:[ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1]]class...
2018-01-09 13:43:15 384
原创 算法分析与设计——LeetCode:198. House Robber
题目You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent hou...
2018-01-03 16:34:26 440
原创 算法分析与设计——LeetCode:39. Combination Sum
题目Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeated number may be chosen from...
2018-01-03 15:07:04 325
原创 算法分析与设计——LeetCode:617. Merge Two Binary Trees
题目Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not.You need to merge them into a new binary tree...
2017-12-29 19:57:19 217
原创 算法分析与设计——LeetCode:33. Search in Rotated Sorted Array
题目Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are given a target value to search. If found in the...
2017-12-27 21:22:42 222
原创 算法分析与设计——LeetCode:16. 3Sum Closest
题目Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exact...
2017-11-02 20:10:36 291
原创 算法分析与设计——LeetCode:6. ZigZag Conversion
题目The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P A H NA P L S I I ...
2017-10-13 15:20:34 256
原创 算法分析与设计——LeetCode:5. Longest Palindromic Substring
题目Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example:Input: "babad"Output: "bab"Note: "aba" is also a valid answer.Example:...
2017-10-04 19:32:30 297
原创 算法分析与设计——LeetCode:4. Median of Two Sorted Arrays
题目There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1:nums1 = [1, 3]num...
2017-10-02 15:11:46 230
原创 算法分析与设计——LeetCode:3. Longest Substring Without Repeating Characters
题目Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is "b", with the...
2017-09-24 16:23:16 276
原创 算法分析与设计——LeetCode:2.Add Two Numbers
题目You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and retu...
2017-09-11 18:57:01 353
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人