数据挖掘.pdf数据挖掘.pdf
数据挖掘作为一个新兴的多学科交叉应用领域,正在各行各业的决策支持活动
扮演着越来越重要的角色。本书将介绍数据挖掘()与数据库知识发现
(
)的基本知识,以及从大量有噪声、不完整、
甚至是不一致数据集合中,挖掘出有意义的模式知识所涉及的概念与技术方法。
本章将从数据管理技术演化角度,介绍数据挖掘的由来。以及数据挖掘的作用
和意义。同时还将介绍数据挖掘系统的结构、数据挖掘所获得的知识种类,以及数
据挖掘系统的分类。最后还简要介绍了当前数据挖掘领域尚存在的一些热点问题。
Android中文文档.pdf
1. 在eclipse 上开发android 应用程序
2. 利用其他IDE 和工具开发android 应用程序
3. 给应用程序签名
4. ApiDemo 示例程序用法
5. 调试
6. 设备上的调试和测试设置
7. 顶端调试技巧
8. 编译安装一个android 应用程序
9. 移除android 程序
10. Eclipse 技巧
第3章-软件设计第3章-软件设计
第3章 软 件 设 计 2
3.1 软件设计的基本任务 3
3.1.1 总体设计的基本任务 3
3.1.2 详细设计的基本任务 4
3.2 软件设计的概念和原则 4
3.2.1 模块化与模块独立性 4
3.2.2 抽象与细化 10
3.2.3 信息隐蔽 11
3.2.4 可重用 12
3.3 结构化设计 12
3.3.1 结构化设计概述 12
3.3.2 结构化设计描述工具 13
3.3.3 面向数据流的设计 23
3.3.4 面向数据结构的设计 27
3.4 面向对象的设计 35
3.4.1 面向对象的设计概述 35
3.4.2 系统设计 36
3.4.3 对象设计 40
3.4.4 设计模式 42
3.5 用户界面设计 43
3.5.1 用户界面设计的一般原则 43
3.5.2 用户界面设计过程 45
3.5.3 用户界面设计经验 45
3.6 设计质量的度量 47
3.6.1 McCabe方法 47
3.6.2 Halstead方法 49
3.7 软件设计CASE工具 49
mac os 声卡驱动 AzaliaAudio.pkg
mac os 声卡驱动,AzaliaAudio.pkg
具体能对什么样对声卡有效,我也不太清楚,反正我的七彩虹 780G主板上的集成声卡可以正常工作了。我在windows下看到的声卡型号是realtek hd
问题-求助-jsfdemo
新手jsf问题。http://localhost:8080/jsfdemo/userLogin.faces
出现
The requested resource (/jsfdemo/userLogin.faces) is not available.
《算法导论》习题解答.rar
《算法导论》习题解答.rar
Solutions for Introduction to algorithms
second edition
Philip Bille
The author of this document takes absolutely no responsibility for the contents. This is merely
a vague suggestion to a solution to some of the exercises posed in the book Introduction to algorithms
by Cormen, Leiserson and Rivest. It is very likely that there are many errors and that the
solutions are wrong. If you have found an error, have a better solution or wish to contribute in
some constructive way please send a message to beetle@it.dk.
It is important that you try hard to solve the exercises on your own. Use this document only as
a last resort or to check if your instructor got it all wrong.
Please note that the document is under construction and is updated only sporadically. Have
fun with your algorithms.
Android 2.0游戏开发实战宝典-源代码-13-16章
注:这里提供的只是书中的源代码,不是书籍。
1-12章 的源代码 请到
http://download.csdn.net/source/2709326
下载
Android 2.0游戏开发实战宝典-源代码-13-16章
内容简介:
本书以Android手机游戏的开发为主题,结合真实的游戏案例向读者详细介绍了Android平台下游戏开发的整个流程,同时在游戏开发的介绍过程中还分享了笔者多年积累的开发技巧与经验。
全书分为两篇,共16章,第1篇以简单易懂的实例为依托,详细介绍了Android的前台渲染技术、常用界面布局、网络开发、SQLite数据库的存取、传感器应用的开发以及游戏中经常使用的人工智能等相关知识。第2篇详细介绍了7个真实的游戏案例,涵盖了手机游戏中的7个不同种类,包括体育类、益智类、滚屏动作类、棋牌类、3D物理传感器类、冒险类以及策略类游戏等。每一个游戏都是按照实际的开发步骤进行介绍,并逐步地将Android手机游戏的整个开发过程展现在读者面前。同时在源代码中还包含了详细的注释,以尽量帮助读者掌握代码中的每一个细节。
本书的讲述由浅入深,从游戏开发的基础知识到开发大型游戏,结构清晰、语言简洁,非常适合Android游戏初学者和Android游戏进阶开发者阅读参考。
第13章 棋牌游戏——中国象棋人机对弈 323
13.1 游戏的背景及功能概述 323
13.1.1 背景概述 323
13.1.2 功能简介 323
13.2 游戏的策划及准备工作 325
13.2.1 游戏的策划 325
13.2.2 Android平台下游戏的准备工作 325
13.3 游戏的架构 327
13.3.1 各个类的简要介绍 327
13.3.2 游戏的框架简介 327
13.4 共有类ChessActivity的实现 328
13.5 辅助界面相关类的实现 330
13.5.1 欢迎界面WelcomeView的介绍 330
13.5.2 欢迎界面动画生成类WelcomeViewThread的介绍 332
13.5.3 菜单界面MenuView的介绍 333
13.5.4 帮助界面HelpView的介绍 335
13.6 游戏界面相关类的实现 337
13.6.1 游戏界面GameView的框架介绍 337
13.6.2 走法类ChessMove的介绍 340
13.6.3 思考时间线程TimeThread的介绍 341
13.7 象棋规则类的实现 341
13.7.1 象棋规则类GuiZe的框架 342
13.7.2 走法判断方法canMove的架构 342
13.7.3 帅、士、象、兵的规则介绍 344
13.7.4 将、车、马、炮的规则介绍 346
13.7.5 走法产生方法allPossibleMoves的架构 351
13.7.6 走法产生方法allPossibleMoves的完善 352
13.8 游戏界面的完善 353
13.8.1 GameView类的构造方法的完善 353
13.8.2 绘制方法onDraw的完善 353
13.8.3 屏幕监听方法onTouchEvent的完善 355
13.9 游戏的优化与改进 358
第14章 3D物理传感器游戏——小球快跑 359
14.1 游戏背景及功能概述 359
14.1.1 背景概述 359
14.1.2 功能简介 359
14.2 游戏的策划及准备工作 361
14.2.1 游戏的策划 361
14.2.2 小球快跑游戏开发的准备工作 362
14.3 游戏的架构 363
14.3.1 游戏的总体架构 363
14.3.2 游戏的类结构 363
14.4 DriftBall类的开发 365
14.4.1 DriftBall类的代码框架 365
14.4.2 DriftBall类的主要成员方法的实现 366
14.5 游戏主菜单的开发 368
14.5.1 WelcomeView类的代码框架 368
14.5.2 WelcomeView类主要成员方法 369
14.5.3 WelcomeThread类的开发 371
14.5.4 菜单界面的用户交互事件处理 372
14.6 游戏界面模块的开发 373
14.6.1 GameView的成员变量 373
14.6.2 GameView的成员方法简介 374
14.6.3 GameThread类的代码框架 375
14.6.4 GameMenuThread类的开发 376
14.6.5 用户交互事件处理 377
14.7 游戏中各个图层的开发 378
14.7.1 地图图层的开发 378
14.7.2 其他图层的开发与实现 379
14.8 游戏后台逻辑的开发 383
14.8.1 小球的运动控制 383
14.8.2 小球的碰撞检测 384
14.8.3 Cannon和Missile类的开发 387
14.9 传感器计算模块的开发 390
14.9.1 BallListener类的开发 390
14.9.2 RotateUtil类的代码框架 391
14.9.3 RotateUtil类的开发 393
14.10 游戏的优化与改进 396
第15章 冒险游戏——胜利大逃亡 397
15.1 游戏背景及功能概述 397
15.1.1 游戏背景概述 397
15.1.2 功能简介 397
15.2 游戏的策划及准备工作 400
15.2.1 游戏的策划 400
15.2.2 大逃亡游戏的准备工作 400
15.3 游戏的架构 401
15.3.1 游戏的总体架构 401
15.3.2 游戏的类结构 401
15.4 游戏工具类的开发 403
15.4.1 BitmapManager类的开发 403
15.4.2 ConstantUtil类的开发 405
15.5 RunActivity类和加载界面的开发 406
15.5.1 RunActivity类的代码框架 406
15.5.2 RunActivity类主要方法的开发 406
15.5.3 ProgressView类的开发 409
15.6 欢迎界面的开发 410
15.6.1 WelcomeView的代码框架 410
15.6.2 WelcomeView类的主要成员方法的开发 412
15.6.3 WelcomeThread类的开发 414
15.6.4 WelcomeView的用户交互事件 416
15.7 游戏实体模块的开发 418
15.7.1 Sprite类的开发 418
15.7.2 Hero和Monster类的代码框架 420
15.8 游戏地图模块的开发 422
15.8.1 MyDrawable类的开发 422
15.8.2 GameData类的开发 422
15.8.3 Layer类的开发 424
15.8.4 LayerList类的开发 425
15.9 游戏界面模块的开发 426
15.9.1 GameView代码框架的开发 426
15.9.2 游戏无级滚屏的实现 427
15.9.3 GameView类doDraw方法的开发 428
15.10 游戏后台逻辑模块的开发 430
15.10.1 怪物追踪算法的设计与实现 430
15.10.2 键盘监听线程的开发 432
15.11 游戏的优化与改进 433
第16章 策略游戏——回到战国 435
16.1 游戏的背景及功能概述 435
16.1.1 背景概述 435
16.1.2 功能简介 435
16.2 游戏的策划及准备工作 440
16.2.1 游戏的策划 440
16.2.2 Android平台下游戏的准备工作 440
16.3 游戏的架构 442
16.3.1 游戏的模块架构 442
16.3.2 游戏各个类的简要介绍 443
16.4 地图设计器的开发 445
16.4.1 底层地图设计器的开发 445
16.4.2 上层地图设计器的开发 450
16.5 Activity和游戏工具类的开发 450
16.5.1 HDZGActivity类的介绍 451
16.5.2 公式封装类GameFormula类的介绍 453
16.5.3 常量工具类ConstantUtil的介绍 455
16.6 数据存取模块的开发 456
16.6.1 城池信息以及地图层信息的封装类 456
16.6.2 数据存取相关类的介绍 459
16.7 英雄角色模块的开发 463
16.7.1 Hero类的代码框架 463
16.7.2 HeroGoThread类的开发 466
16.7.3 HeroBackDataThread类的开发 468
16.8 表示层界面模块的开发 468
16.8.1 ScreenRollView类的开发 469
16.8.2 ScreenRollThread线程类的开发 470
16.8.3 游戏界面GameView的框架介绍 471
16.8.4 游戏界面绘制方法onDraw的介绍 474
16.8.5 游戏界面屏幕监听方法onTouch的介绍 476
16.8.6 游戏界面后台线程GameViewThread的介绍 477
16.9 管理面板模块的开发 478
16.9.1 人物属性面板类ManPanelView的开发 478
16.9.2 城池管理面板类CityManageView的开发 483
16.10 地图中可遇实体模块的开发 486
16.10.1 MyDrawable类的开发 487
16.10.2 MyMeetableDrawable类的开发 488
16.10.3 ForestDrawable类的开发 489
16.10.4 可遇实体对象的调用流程 491
16.11 英雄技能模块的开发 493
16.11.1 Skill类的开发 493
16.11.2 LumberSkill的类的开发 494
16.11.3 SuiXinBuSkill的类的开发 494
16.12 游戏提示模块的开发 495
16.12.1 GameAlert类的开发 495
16.12.2 PlainAlert类的开发 496
16.12.3 FoodAlert类的开发 497
16.12.4 HeroBackDataThread中对FoodAlert的调用 499
16.13 游戏的优化与改进 500
[最新iPhone,iPod,Mac.OS.X.Leopard系列电子书].Switching to the Mac The Missing Manual Leopard Edition
Table of Contents| Index
The Missing Credits
Introduction
Part 1: Welcome to Macintosh
Chapter 1. How the Mac Is Different
Section 1.1. Power On, Dude
Section 1.2. That One-Button Mouse
Section 1.3. On, Off, and Sleep
Section 1.4. The Menu Bar
Section 1.5. Finder = Windows Explorer
Section 1.6. Dock = Taskbar
Section 1.7. Menulets = Tray
Section 1.8. Keyboard Differences
Section 1.9. Disk Differences
Section 1.10. Where Your Stuff Is
Section 1.11. Window Controls
Section 1.12. Terminology Differences
Chapter 2. Folders, Dock, & Windows
Section 2.1. Getting into Mac OS X
Section 2.2. The Four Window Views
Section 2.3. Icon View
Section 2.4. List View
Section 2.5. Column View
Section 2.6. Cover Flow View
Section 2.7. Quick Look
Section 2.8. The Dock
Section 2.9. The Finder Toolbar
Section 2.10. Getting Help in Mac OS X
Chapter 3. Files, Icons, & Spotlight
Section 3.1. Renaming Icons
Section 3.2. Selecting Icons
Section 3.3. Moving and Copying Icons
Section 3.4. Aliases: Icons in Two Places at Once
Section 3.5. Color Labels
Section 3.6. The Trash
Section 3.7. Get Info
Section 3.8. The Spotlight Menu
Section 3.9. The Spotlight Window
Section 3.10. Customizing Spotlight
Section 3.11. Smart Folders
Chapter 4. Documents, Programs, & Spaces
Section 4.1. Opening Mac OS X Programs
Section 4.2. The New, Improved "Alt-Tab"
Section 4.3. Exposé: Death to Window Clutter
Section 4.4. Spaces: Your Free Quad-Display Mac
Section 4.5. Hiding Programs the Old-Fashioned Way
Section 4.6. How Documents Know Their Parents
Section 4.7. Keyboard Control
Section 4.8. The Save and Open Dialog Boxes
Section 4.9. Two Kinds of Programs: Cocoa and Carbon
Section 4.10. The Cocoa Difference
Section 4.11. Universal Apps (Intel Macs)
Section 4.12. Installing Mac OS X Programs
Section 4.13. Dashboard
Section 4.14. Web Clips: Make Your Own Widgets
Part 2: Moving In
Chapter 5. Eight Ways to Transfer Your Files
Section 5.1. Transfer by Apple Genius
Section 5.2. Transfers by iTornado
Section 5.3. Transfers by Disk
Section 5.4. Transfers by Network
Section 5.5. Transfers by File-Sending Web Site
Section 5.6. Transfers by Email
Section 5.7. Transfers by iDisk
Section 5.8. Transfers by Bluetooth
Section 5.9. Where to Put Your Copied Files
Section 5.10. Document-Conversion Issues
Chapter 6. Transferring Email and Contacts
Section 6.1.
Section 6.2. A Reminder That Could Save You Hours
Section 6.3. Transferring Your Outlook Mail
Section 6.4. Transferring Your Outlook Address Book
Section 6.5. Transferring from Outlook Express
Section 6.6. Transferring Your Eudora Mail
Section 6.7. Transferring Your Eudora Address Book
Section 6.8. Email Settings
Chapter 7. Special Software, Special Problems
Section 7.1. ACDSee
Section 7.2. Acrobat Reader
Section 7.3. ACT
Section 7.4. Ad Subtract (Pop-up Stopper)
Section 7.5. Adobe [your favorite program here]
Section 7.6. America Online
Section 7.7. AIM (AOL Instant Messenger)
Section 7.8. Children's Software
Section 7.9. Earthlink Total Access
Section 7.10. Easy CD Creator
Section 7.11. Encarta
Section 7.12. Eudora
Section 7.13. Excel
Section 7.14. Firefox
Section 7.15. Games
Section 7.16. Google Desktop Search
Section 7.17. ICQ
Section 7.18. Internet Explorer
Section 7.19. iTunes
Section 7.20. Kazaa
Section 7.21. Limewire
Section 7.22. MacAfee VirusScan
Section 7.23. Microsoft Access
Section 7.24. Microsoft Money
Section 7.25. Microsoft Office
Section 7.26. Microsoft Publisher
Section 7.27. Microsoft Visio
Section 7.28. Minesweeper
Section 7.29. MSN Messenger
Section 7.30. NaturallySpeaking
Section 7.31. Netscape
Section 7.32. Newsgroup Readers
Section 7.33. Norton AntiVirus
Section 7.34. Norton Utilities
Section 7.35. Notepad
Section 7.36. Outlook/Outlook Express
Section 7.37. Paint Shop Pro
Section 7.38. Palm Desktop
Section 7.39. Picasa
Section 7.40. Pocket PC
Section 7.41. PowerPoint
Section 7.42. QuickBooks
Section 7.43. Quicken
Section 7.44. RealPlayer
Section 7.45. RssReader
Section 7.46. Skype
Section 7.47. SnagIt
Section 7.48. Solitaire
Section 7.49. Street Atlas USA
Section 7.50. TaxCut, TurboTax
Section 7.51. WinAmp, MusicMatch
Section 7.52. Windows Media Player
Section 7.53. WinZip
Section 7.54. Word
Section 7.55. WordPerfect
Section 7.56. Yahoo Messenger
Chapter 8. Windows on Macintosh
Section 8.1. Boot Camp
Section 8.2. Windows in a Window
Chapter 9. Hardware on the Mac
Section 9.1. Printers and Printing
Section 9.2. Managing Printouts
Section 9.3. Faxing
Section 9.4. PDF Files
Section 9.5. Fonts—and Font Book
Section 9.6. Digital Cameras
Section 9.7. Disks
Section 9.8. Burning CDs and DVDs
Section 9.9. iTunes: The Digital Jukebox
Section 9.10. DVD Movies
Section 9.11. Keyboard
Section 9.12. Mouse
Section 9.13. Monitors
Section 9.14. Time Machine
Section 9.15. .Mac Sync
Part 3: The Mac Online
Chapter 10. Internet Setup
Section 10.1. Network Central—and Multihoming
Section 10.2. Broadband Connections
Section 10.3. Dial-up Modem Connections
Section 10.4. Switching Locations
Section 10.5. Internet Sharing
Section 10.6. .Mac Services
Section 10.7. Internet Location Files
Chapter 11. Mail & Address Book
Section 11.1. Checking Your Mail
Section 11.2. Writing Messages
Section 11.3. Stationery
Section 11.4. Reading Email
Section 11.5. The Anti-Spam Toolkit
Section 11.6. RSS Feeds
Section 11.7. Notes
Section 11.8. To Dos
Section 11.9. Address Book
Chapter 12. Safari & iChat
Section 12.1. Safari
Section 12.2. Tips for Better Surfing
Section 12.3. Tabbed Browsing
Section 12.4. iChat
Section 12.5. Text Chats
Section 12.6. Audio Chats
Section 12.7. Video Chats
Section 12.8. Sharing Your Screen
Section 12.9. iChat Theater
Part 4: Putting Down Roots
Chapter 13. Accounts, Parental Controls, & Security
Section 13.1. Introducing Accounts
Section 13.2. Creating an Account
Section 13.3. Parental Controls
Section 13.4. Editing Accounts
Section 13.5. Setting Up the Login Process
Section 13.6. Signing In, Logging Out
Section 13.7. Sharing Across Accounts
Section 13.8. Fast User Switching
Section 13.9. Four Mac OS X Security Shields
Chapter 14. Networking, File Sharing, & Screen Sharing
Section 14.1. Wiring the Network
Section 14.2. File Sharing
Section 14.3. Accessing Shared Files
Section 14.4. Networking with Windows
Section 14.5. Screen Sharing
Chapter 15. System Preferences
Section 15.1. The System Preferences Window
Section 15.2. .Mac
Section 15.3. Accounts
Section 15.4. Appearance
Section 15.5. Bluetooth
Section 15.6. CDs & DVDs
Section 15.7. Date & Time
Section 15.8. Desktop & Screen Saver
Section 15.9. Displays
Section 15.10. Dock
Section 15.11. Energy Saver
Section 15.12. Exposé & Spaces
Section 15.13. International
Section 15.14. Keyboard & Mouse
Section 15.15. Network
Section 15.16. Parental Controls
Section 15.17. Print & Fax
Section 15.18. QuickTime
Section 15.19. Security
Section 15.20. Sharing
Section 15.21. Software Update
Section 15.22. Sound
Section 15.23. Speech
Section 15.24. Spotlight
Section 15.25. Startup Disk
Section 15.26. Time Machine
Section 15.27. Universal Access
Chapter 16. The Free Programs
Section 16.1. Address Book
Section 16.2. AppleScript
Section 16.3. Automator
Section 16.4. Calculator
Section 16.5. Chess
Section 16.6. Dashboard
Section 16.7. Dictionary
Section 16.8. DVD Player
Section 16.9. Exposé
Section 16.10. Font Book
Section 16.11. Front Row
Section 16.12. GarageBand
Section 16.13. iCal
Section 16.14. iChat
Section 16.15. iDVD
Section 16.16. iMovie, iPhoto
Section 16.17. iTunes
Section 16.18. Mail
Section 16.19. Photo Booth
Section 16.20. Preview
Section 16.21. QuickTime Player
Section 16.22. Safari
Section 16.23. Stickies
Section 16.24. System Preferences
Section 16.25. TextEdit
Section 16.26. Time Machine
Section 16.27. Utilities: Your Mac OS X Toolbox
Part 5: Appendixes
Appendix A. Installation & Troubleshooting
Section A.1. Getting Ready to Install
Section A.2. Three Kinds of Installation
Section A.3. The Basic Installation
Section A.4. The Upgrade Installation
Section A.5. The Clean Install ("Archive and Install")
Section A.6. Erase & Install
Section A.7. The Setup Assistant
Section A.8. Troubleshooting
Appendix B. The "Where'd It Go?" Dictionary
Section B.1.
Appendix C. The Master Mac OS X Secret Keystroke List
Section C.1.
Colophon
[最新iPhone,iPod,Mac.OS.X.Leopard系列电子书]. iPhone Open Application Development
Table of Contents| Index
Copyright
preface
Chapter 1. Breaking Into and Setting Up the iPhone
Section 1.1. Jailbreak Procedures
Section 1.2. Installing BSD Subsystem
Section 1.3. Additional Resources
Chapter 2. Getting Started with Applications
Section 2.1. Anatomy of an Application
Section 2.2. Building the Free Tool Chain
Section 2.3. Building and Installing Applications
Section 2.4. Integrating with XCode
Section 2.5. Transitioning to Objective-C
Chapter 3. Introduction to UIKit
Section 3.1. Basic User Interface Elements
Section 3.2. Windows and Views
Section 3.3. The Most Useless Application Ever
Section 3.4. Deriving from UIView
Section 3.5. The Second Most Useless Application Ever
Section 3.6. Text Views
Section 3.7. Navigation Bars
Section 3.8. Transition Views
Section 3.9. Alert Sheets
Section 3.10. Tables
Section 3.11. Status Bar Manipulation
Section 3.12. Application Badges
Section 3.13. Application Services
Chapter 4. Event Handling and Graphics Services
Section 4.1. Introduction to Geometric Structures
Section 4.2. Introduction to GSEvent
Section 4.3. Example: The Icon Shuffle
Chapter 5. Advanced Graphics Programming with Core Surface and Layer Kit
Section 5.1. Understanding Layers
Section 5.2. Screen Surfaces
Section 5.3. Layer Animation
Section 5.4. Layer Transformations
Chapter 6. Making Some Noise
Section 6.1. Core Audio: It's Great, but You Can't Use It
Section 6.2. Celestial
Section 6.3. Audio Toolbox
Chapter 7. Advanced UIKit Design
Section 7.1. Controls
Section 7.2. Preferences Tables
Section 7.3. Progress Indicators
Section 7.4. UIProgressBar: When Spinny Things Are Tacky
Section 7.5. Progress HUDs: When It's Important Enough to Block Stuff
Section 7.6. Image Handling
Section 7.7. Section Lists
Section 7.8. Keyboards
Section 7.9. Pickers
Section 7.10. Date/Time Pickers
Section 7.11. Button Bars
Section 7.12. Creating a Button Bar
Section 7.13. Orientation Changes
Section 7.14. Web Views and Scrollers
Appendix A. Miscellaneous Hacks and Recipes
Section A.1. Dumping the Screen
Section A.2. Dumping the UI Hierarchy
Section A.3. Invoking Safari
Section A.4. Initiating Phone Calls
Section A.5. Vibrating
Section A.6. Transparent Views
Section A.7. Taking Camera Photos
Section A.8. Cover Flow-Style Album Flipping
Colophon
Index