自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 系统分析与设计homework9(lesson16)

使用 ECB 实现 make reservation 用例的详细设计(包含用例简介,顺序图,类图) make reservation的用例图如下: Boundary:与外部 Actor 交互的类。包括 UI、外部系统接口 ,这里是chooseHotelPage、chooseRoomPage、comfirmPage Controller:处理外部事件,实现控制流的类。通常是一个子系统、...

2018-06-30 21:18:51 166

原创 系统分析与设计homework8(lesson13)

描述软件架构与框架之间的区别与联系 软件框架是面向某领域(包括业务领域,如ERP,和计算领域,如GUI)的、可复用的“半成品”软件,它实现了该领域的共性部分,并提供一系列定义良好的可变点以保证灵活性和可扩展性。可以说,软件框架是领域分析结果的软件化,是领域内最终应用系统的模板。 软件架构(software architecture)是一系列相关的抽象模式,用于指导大型软件系统各个...

2018-06-04 00:49:28 195

原创 系统分析与设计homework7

参考文档画用例图、XX业务或用例的活动图、XX领域模型、XX对象的状态图、XX场景的系统顺序图与操作协议文档:XX1-Forest应用用例图:种树用例的活动图:领域模型:对象的状态图:种树场景的系统顺序图:...

2018-05-13 17:16:28 190

原创 系统分析与设计homework6

建模工具:umlet-standalone-14.21)使用 UML State Model建模对象: 参考 Asg_RH 文档, 对 Reservation/Order 对象建模。建模要求: 参考练习不能提供足够信息帮助你对订单对象建模,请参考现在 定旅馆 的旅游网站,尽可能分析围绕订单发生的各种情况,直到订单通过销售事件(柜台销售)结束订单。 2)研究淘宝退货流程活动图,对退货业务对象状态建

2018-05-06 18:45:18 150

原创 系统分析与设计homework5

领域建模a. 阅读 Asg_RH 文档,按用例构建领域模型。按 Task2 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸说明:请不要受 PCMEF 层次结构影响。你需要识别实体(E)和 中介实体(M,也称状态实体) 在单页面应用(如 vue)中,E 一般与数据库构建有关, M 一般与 store 模式 有关在 java web 应用中,E 一般与数据库构建有关, M 一般

2018-04-29 21:13:34 178

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

1. 用例建模a. 阅读 Asg_RH 文档,绘制用例图。 按 Task1 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸b.选择你熟悉的定旅馆在线服务系统(或移动 APP),如绘制用例图。并满足以下要求:对比 Asg_RH 用例图,请用色彩标注出创新用例或子用例尽可能识别外部系统,并用色彩标注新的外部系统和服务 以艺龙旅行网订酒店系统为例,流程如下...

2018-04-22 18:52:00 535

原创 java学习

编译 javac 类名称 运行 java 类名称 1.pulblic class 类名称{} 文件名称必须与类名称一致,且一个文件里只能有一个public class类2.class 类名称{} 文件名称与类名称可以不一致,编译生成的文件与类名称一致,且一个文件可以有多个,此时生成多个文件3.所有程序都是从主方法开始的,主方法:public static void main(String arg

2018-04-14 22:05:32 107

原创 系统分析与设计homework2

简述瀑布模型、增量模型、螺旋模型(含原型方法)的优缺点 瀑布模型:优点:1. 有利于大型软件开发过程中人员的组织、管理         2. 为项目提供了按阶段划分的检查点,严格规定了每个阶段必须提交的文档         3.每个阶段交出的所有产品都要通过质量保证 缺点:     1. 瀑布模型要求开发初期就指明客户的所有需求,而这...

2018-03-21 19:39:36 138

原创 系统分析与设计-homework1

1.简单题软件工程的定义 在软件开发、运行和维护中应用的系统化、规范化、可量化的方法,将工程化应用于软件的方法 The application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software —— IEEE标准阅

2018-03-12 20:50:58 176

原创 LeetCode49. Group Anagrams

题目:Given an array of strings, group anagrams together.For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return:[ ["ate", "eat","tea"], ["nat","tan"], ["bat"]]

2018-01-20 19:54:19 120

原创 LeetCode41. First Missing Positive

题目:Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm should run in O(n) time and uses

2018-01-20 01:58:02 120

原创 LeetCode695. Max Area of Island

题目:Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the gr

2018-01-12 21:18:36 189

原创 LeetCode55. 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.De

2018-01-10 21:00:43 105

原创 LeetCode63. 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

2018-01-10 20:38:07 165

原创 LeetCode62. 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 r

2018-01-10 20:03:15 115

原创 LeetCode718. Maximum Length of Repeated Subarray

题目:Given two integer arrays A and B, return the maximum length of an subarray that appears in both arrays.Example 1:Input:A: [1,2,3,2,1]B: [3,2,1,4,7]Output: 3Explanation: The rep

2018-01-09 20:02:51 169

原创 LeetCode739. Daily Temperatures

题目:Given a list of daily temperatures, produce a list that, for each day in the input, tells you how many days you would have to wait until a warmer temperature. If there is no future day for

2018-01-09 18:30:19 261

原创 LeetCode740. Delete and Earn

题目:Given an array nums of integers, you can perform operations on the array.In each operation, you pick any nums[i] and delete it to earn nums[i] points. After, you must delete every eleme

2018-01-09 16:50:42 255

原创 Leetcode746. Min Cost Climbing Stairs

题目:On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed).Once you pay the cost, you can either climb one or two steps. You need to find minimum cost to reac

2018-01-09 13:24:49 172

原创 Leetcode10. Regular Expression Matching

题目:Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire

2018-01-09 01:04:45 115

原创 LeetCode14. Longest Common Prefix

题目:Write a function to find the longest common prefix string amongst an array of strings.题目分析:题目意思是给定一个字符串的数组,要我们求出这些字符串数组的最长公共前缀,这里的前缀必定是从字符串的开头开始的首先最长公共前缀必定是由这些字符串中最短的那个决定的,因此我们可以先找出这些字符串中最短

2018-01-07 21:39:05 129

原创 NPC问题8.3

题目:STINGY SAT is the following problem: given a set of clauses (each a disjunction of literals) and an integer k, find a satisfying assignment in which at most k variables   are true, if such an a

2018-01-02 00:33:04 210

原创 LeetCode331. Verify Preorder Serialization of a Binary Tree

题目:One way to serialize a binary tree is to use pre-order traversal. When we encounter a non-null node, we record the node's value. If it is a null node, we record using a sentinel value such as

2017-11-05 16:13:08 230

原创 LeetCode200. Number of Islands

题目:Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You

2017-10-27 17:29:44 187

原创 LeetCode22.Generate Parentheses

题目Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[ "((()))", "(()())", "(())()",

2017-10-22 16:47:11 170

原创 LeetCode45. Jump Game II

题目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.You

2017-10-13 23:07:10 154

原创 Leetcode32. Longest Valid Parentheses

题目Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the longest valid parentheses substring is 

2017-09-29 20:03:41 155

原创 LeetCode42. Trapping Rain Water

题目Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example, Given [0,1,0,2,1,0,1,3,

2017-09-22 16:46:18 188

原创 LeetCode34. Search for a Range

题目Given an array of integers sorted in ascending order, find the starting and ending position of a given target value.Your algorithm’s runtime complexity must be in the order of O(log n).If the target

2017-09-15 16:30:59 235

原创 LeetCode11. Container With Most Water

题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i,

2017-09-07 20:16:08 158

原创 Unity 3D学习习题

Unity 3D1.解释对象与资源的区别于联系,根据官方案例,分别总结资源和对象组织的规则/规律。 对象是游戏组成的一部分,在出现在游戏场景中,是资源的实例。而资源是硬盘中的文件,储存在Unity的Assets文件夹中,例如纹理文件、材料文件等都是资源。对象一般默认包括敌人、玩家、场景等游戏的要素。 2.编写简单程序代码,逐一验证 MonoBehaviour 基本行为触发的条件 void Aw

2017-03-05 19:53:40 472

空空如也

空空如也

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

TA关注的人

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