-
2008010
编写一个线段类 MyLine,要求如下:
主要属性有: x ,y ;类型为Point (查看API)
编写构造方法,如 MyLine(Point p1 , Point p2)
编写5个成员方法。如:
检查线段是否位于第一象限check()…
求线段的长度 length() …
判断两条直线是否相交(另一线段作为参数)。
编写一点到该线段(或延长线)的距离
其他方法。
注:编写方法时,考虑利用Point类的方法
编写测试程序
(Write a segment class MyLine, requirements are as follows: The main attributes are: x, y type Point (see API) the preparation of construction methods, such as MyLine (Point p1, Point p2) prepared by five members of the method. Such as: Check whether the line segment in the first quadrant check () ... order to segment the length of the length () ... to determine whether the two straight lines intersect (the other segment as a parameter). The preparation of 1:00 to the line segment (or extension) of the distance from other methods. Note: The preparation method, consider using the Point class approach to preparing test program)
- 2009-12-24 14:03:10下载
- 积分:1
-
Compiler
说明: LL(1)文法和预测分析方法
1.文法使用产生式来定义;
2.分别求出文法中每一个非终结符的FIRST集、FOLLOW集和SELECT集;
3.画出预测分析表;
4.判定给定的文法是否是LL(1)文法;
5.给定符号串判定是否是文法中的句子,分析过程用分析表格的方式打印出来。(LL(1) Grammar and Predictive Analysis
1. Grammar is defined by production.
2. Find out the FIRST set, FOLLOW set and SELECT set of each non-terminator in grammar.
3. Draw a forecast analysis table.
4. Determine whether a given grammar is LL(1) grammar;
5. Given a string of symbols to determine whether it is a sentence in grammar, the analysis process is printed out in the form of an analysis table.)
- 2020-06-15 22:30:02下载
- 积分:1
-
MATLAB R2012b crack
matlab,2012安装包,有需要的可以看看(Installation package)
- 2018-12-02 19:09:08下载
- 积分:1
-
conquer_web_2.0
第2章 基于Ajax的留言板示例
第3章 JavaScript在Ajax中的作用范例
………………
第20章
程序描述:本章将实现上传文件时显示进度条的功能。当上传文件时,客户端同时显示文件上传的进度,从而及时了解文件传送情况(Chapter 2 on the message board Ajax example, Chapter 3 of JavaScript in Ajax for the using examples ... ... ... ... ... ... Chapter 20 proceedings Description : The chapter will achieve upload documents show the progress of the function. When upload documents, the client also shows that the progress of file uploads, so the time to understand the transmission of documents)
- 2006-11-07 21:56:50下载
- 积分:1
-
java programming ideas, a very good source examples, please look carefully.
java 编程思想,很不错的源程序例子,请大家仔细看看.-java programming ideas, a very good source examples, please look carefully.
- 2022-07-12 14:31:49下载
- 积分:1
-
oracle_start_service
oracle10g数据库的服务启动提示与关键函数的提示!(oracle10g database service startup tips tips and key function!)
- 2010-03-12 10:23:56下载
- 积分:1
-
qlbd
Football manager for student begin
- 2013-01-25 17:57:18下载
- 积分:1
-
jishenghua-JSH_ERP-master
说明: 华夏ERP基于SpringBoot框架,立志为中小企业提供开源好用的ERP软件,目前专注进销存+财务功能。主要模块有零售管理、采购管理、销售管理、仓库管理、财务管理、报表查询、基础数据、系统管理等。支持预付款、收入支出、仓库调拨、组装拆卸、礼品卡等特色功能。拥有库存状况、出入库统计等报表。同时对角色和权限进行了细致全面控制,精确到每个按钮和菜单。(Based on SpringBook framework, Huaxia ERP aims to provide open source and easy-to-use ERP software for SMEs. At present, it focuses on purchase, sale, storage and financial functions. The main modules are retail management, purchasing management, sales management, warehouse management, financial management, report query, basic data, system management, etc. Support advance payment, revenue and expenditure, warehouse allocation, assembly and disassembly, gift cards and other features. Have inventory status, entry and Exit Statistics and other reports. At the same time, roles and privileges are carefully and comprehensively controlled, precisely to each button and menu.)
- 2019-01-14 17:33:56下载
- 积分:1
-
图片模糊与锐化
说明: 本例使用JAVA语言实现了图片的模糊与锐化,详细的注释请看源代码的注释。谢谢支持!(cases the use of the Java language and blurred images sharper and detailed annotations Look at the source code of the Notes. Thank you support!)
- 2005-12-06 22:42:20下载
- 积分:1
-
cluster
说明: 我做的用Kmeans方法,分别采用欧式距离。夹角余弦,和度量函数的方法来表示两点的相似度(I do use Kmeans methods were used Euclidean distance. Angle cosine, and methods of measurement functions to represent the similarity of two)
- 2010-04-30 15:08:09下载
- 积分:1