- 博客(34)
- 资源 (5)
- 收藏
- 关注
原创 小二点餐用户手册
用户手册小二点餐是一款专为餐厅设计的点餐小程序,顾客通过扫餐厅每张桌子的二维码可以浏览该餐厅的所有食品,并且可以完成下单的操作。当用户完成下单之后,在商家的小程序端可以立即收到用户的订单记录,从而提高了餐厅的工作效率,同时减少了顾客的等待时间。初始界面小二点餐的初始界面如下图所示,界面有2个图标可以进行选择,第一个图标是进入商家的小程序端,第二个图标是进入顾客的小程序端。商...
2018-07-06 22:55:26 1968 1
原创 系统分析与设计--BCE详细设计和框架映射
BCE实现详细设计使用 ECB 实现 make reservation 用例的详细设计(包含用例简介,顺序图,类图)make reservation 用例简介:make reservation 系统的用例图如下所示:根据用例图可以得到:主用例:{Select hotel, Make Reservation, Pay Manage}子用例1:{Select Cit...
2018-06-29 19:11:33 4948
原创 系统分析与设计第八次作业
一.描述软件架构与框架之间的区别与联系软件架构:软件架构是一个系统的草图。软件架构描述的对象是直接构成系统的抽象组件。各个组件之间的连接则明确和相对细致地描述组件之间的通讯。在实现阶段,这些抽象组件被细化为实际的组件,比如具体某个类或者对象。在面向对象领域中,组件之间的连接通常用接口来实现。软件框架:软件框架是面向领域(如ERP、计算领域等)的、可复用的“半成品”软件,它实现了该领域的共性部分,...
2018-06-03 15:55:50 421 1
原创 系统分析与设计第六次作业--状态建模
1)使用 UML State Model建模对象: 参考 Asg_RH 文档, 对 Reservation/Order 对象建模。建模要求: 参考练习不能提供足够信息帮助你对订单对象建模,请参考现在 定旅馆 的旅游网站,尽可能分析围绕订单发生的各种情况,直到订单通过销售事件(柜台销售)结束订单。解:分析定旅馆的旅游网站可以得到状态集合和事件集合状态集合:S={order, register,
2018-05-06 10:56:25 379
原创 系统分析与设计第五次作业--领域建模
一.领域建模a.阅读 Asg_RH 文档,按用例构建领域模型。按 Task2 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸说明:请不要受 PCMEF 层次结构影响。你需要识别实体(E)和 中介实体(M,也称状态实体)在单页面应用(如 vue)中,E 一般与数据库构建有关, M 一般与 store 模式 有关在 java web 应用中,E 一般与数据库构建有关, M 一般与
2018-04-24 00:37:41 449
原创 mysql后台数据库学习报告
一.mysql语法1.创建/删除/选择数据库指令使用普通用户,你需要特定的权限来创建或者删除 MySQL 数据库。使用root用户登录,root用户拥有最高权限,可以使用 mysql mysqladmin 命令来创建数据库。创建一个名为HelloWorld的数据库[root@host]# mysqladmin -u root -p create HelloWorldEnter password:
2018-04-14 16:36:16 3746
原创 系统分析与设计第四次作业
一.用例建模a.阅读 Asg_RH 文档,绘制用例图。 按 Task1 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸b.选择你熟悉的定旅馆在线服务系统(或移动 APP),如绘制用例图。并满足以下要求: 对比 Asg_RH 用例图,请用色彩标注出创新用例或子用例 尽可能识别外部系统,并用色彩标注新的外部系统和服务 ...
2018-04-11 23:25:28 3177
原创 系统分析与设计第二次作业
一.简答题1.简述瀑布模型、增量模型、螺旋模型(含原型方法)的优缺点。瀑布模型优点为项目提供了按阶段划分的检查点当前一阶段完成后,您只需要去关注后续阶段可在迭代模型中应用瀑布模型它提供了一个模板,这个模板使得分析、设计、编码、测试和支持的方法可以在该模板下有一个共同的指导缺点各个阶段的划分完全固定,阶段之间产生大量的文档,极大地增加了工作量由于开发模型是线性的...
2018-03-24 00:37:00 488
原创 系统分析与设计第一次作业
一.简答题1.软件工程的定义软件工程是应用计算机科学、数学、逻辑学及管理科学等原理,开发软件的工程。软件工程借鉴传统工程的原则、方法,以提高质量、降低成本和改进算法。其中,计算机科学、数学用于构建模型与算法,工程科学用于制定规范、设计范型(paradigm)、评估成本及确定权衡,管理科学用于计划、资源、质量、成本等管理。2.阅读经典名著“人月神话”等资料,解释 software crisis、CO
2018-03-11 23:46:26 370
原创 算法概论chapter8-8.15解题报告
题目最大公共子图:证明如下问题是NP-完全的:输入:两个图G1=(V1,E1)和G2=(V2,E2);预算b输出:两个节点集合V1’和V2’分别是V1和V2的子集,它们被移除后,将在两图中分别留下至少b个节点,且图的剩余部分完全一样题意分析给定两个图G1,G2,G1去掉一些定点V1’,G2去掉一些定点V2’之后,两个图都得到结点数至少为b的子图,且这两个子图完全相同。证明要证一个问题是NP-com
2017-12-28 16:47:00 221
原创 动态规划解377. Combination Sum IV
题目Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target.nums = [1, 2, 3]target = 4The possible combinat
2017-12-24 12:02:24 197
原创 动态规划解368. Largest Divisible Subset
题目Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or Sj % Si = 0.If there are multiple solutions, retu
2017-12-24 00:43:49 437
原创 357. Count Numbers with Unique Digits解题报告
题目Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x 10^n.Example:Given n = 2, return 91. (The answer should be the total numbers in the range of 0 ≤ x 100, excludi
2017-12-10 12:28:12 192
原创 动态规划解338. Counting Bits
题目Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and return them as an array.Example:For num = 5 you s
2017-12-05 23:57:23 220
原创 动态规划解221. Maximal Square
题目Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.For example, given the following matrix: 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1
2017-12-05 23:03:41 182
原创 动态规划解343. Integer Break
题目Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get.For example, given n = 2, return
2017-12-04 23:37:46 226
原创 动态规划解337. House Robber III
题目The thief has found himself a new place for his thievery again. There is only one entrance to this area, called the “root.” Besides the root, each house has one and only one parent house. After a tou
2017-12-04 23:04:36 191
原创 318. Maximum Product of Word Lengths解题报告
题目Given a string array words, find the maximum value of length(word[i]) * length(word[j]) where the two words do not share common letters. You may assume that each word will contain only lower case let
2017-12-04 09:21:10 176
原创 回溯法解332. Reconstruct Itinerary
题目Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All of the tickets belong to a man who departs from JFK. Thus, t
2017-11-27 10:40:35 270
原创 动态规划解322. Coin Change
题目You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up that amount. If that amount of money
2017-11-26 21:44:28 241
原创 319. Bulb Switcher解题报告
题目There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every third bulb (turning on if it’s off or turning off
2017-11-26 20:51:26 153
原创 306. Additive Number解题报告
题目Additive number is a string whose digits can form additive sequence.A valid additive sequence should contain at least three numbers. Except for the first two numbers, each subsequent number in the s
2017-11-26 18:10:32 268
原创 动态规划解174Dice Possibility
题目描述What is possibility of rolling N dice and the sum of the numbers equals to M?输入Two integers N and M. (1 ≤ N ≤ 100, 1 ≤ M ≤ 600)输出Output the possibility in percentage with 2 decimal places.样例输入2 8样例
2017-10-30 23:02:45 193
原创 274. H-Index解题报告
题目Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher’s h-index.According to the definition of h-index on Wikipedia: “A sci
2017-10-24 20:55:08 274
原创 并查集解1335 : Email Merge(hihocoder)
题目描述You are given a list of usernames and their email addresses in the following format:alice 2 alice@hihocoder.com alice@gmail.combob 1 bob@qq.comalicebest 2 alice@gmail.com alice@qq.com alice2016 1 a
2017-10-16 20:56:35 522
原创 人工智能:模拟退火初始温度值的计算
1.模拟退火法简介模拟退火法是一种状态空间的局部搜索算法,它属于比较通用的寻找最优解的算法。模拟退火算法从某一较高初温出发,伴随温度参数的不断下降,结合概率突跳特性在解空间中随机寻找目标函数的全局最优解,即在局部最优解能概率性地跳出并最终趋于全局最优。2.模拟退火法算法描述function Simulated-Annealing(problem, schedule) returns a soluti
2017-10-12 01:47:32 13030
原创 拓扑排序解210. Course Schedule II
题目There are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a pai
2017-10-11 15:28:09 175
原创 209. Minimum Size Subarray Sum解题报告
题目Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn’t one, return 0 instead.For example, given the arra
2017-10-10 21:21:04 447
原创 DFS解207. Course Schedule(判断有向图是否存在环)
题目There are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a pai
2017-09-23 20:42:55 374
原创 动态规划解152. Maximum Product Subarray
题目Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the array [2,3,-2,4],the contiguous subarray [2,3] has the largest pro
2017-09-23 16:54:51 306
原创 二进制逻辑运算求解187. Repeated DNA Sequences
题目All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: “ACGAATTCCG”. When studying DNA, it is sometimes useful to identify repeated sequences within the DNA.Write
2017-09-18 16:03:50 1139 1
原创 二进制逻辑运算求解137. Single Number II
题目Given an array of integers, every element appears three times except for one, which appears exactly once. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you
2017-09-08 22:15:05 710
原创 如何在外网上中山大学的校园网
大山不放假中学终于放假了!(你的寒假余额已经不足一个月…..) 当我们软院的同学放假回到家,没事可做想打开eden或者sicily等网站撸码时候,却发现网页一直显示“网页无法打开”,这是因为eden这些都是中大的内网,用外面的ip地址是登陆不进去的,但学校考虑到我们有回家撸码的习惯(其实是为了方便中山大学师生在国外可以访问我们中大网站进行学术交流等等高大上的活动),因此特地开了中大VPN隧道,让我
2016-01-27 17:43:26 67929 3
原创 一维指针和二维指针指向二维数组的一些问题
废话少说,先上自己Dev c++上的代码:#includeint main (){ int c[2][3]={15,2,3,4,5,6}, *p, (*rp)[3],*q,i; p = (int*)c; rp=c; q=c; printf ("**rp=%d\n *rp=%p\n c=%p\n p = %p\n q=%p\n *q=%d\n ",**rp,
2016-01-26 01:16:53 4538
无监督学习方法以及应用
2018-06-03
图灵程序设计丛书 机器学习 弗拉赫
2018-05-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人