ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Sudoku Programming with C

دانلود کتاب برنامه نویسی سودوکو با سی

Sudoku Programming with C

مشخصات کتاب

Sudoku Programming with C

ویرایش: 1 
نویسندگان:   
سری:  
ISBN (شابک) : 1484209966, 9781484209950 
ناشر: Apress 
سال نشر: 2015 
تعداد صفحات: 285 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 4 مگابایت 

قیمت کتاب (تومان) : 46,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 18


در صورت تبدیل فایل کتاب Sudoku Programming with C به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب برنامه نویسی سودوکو با سی نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب برنامه نویسی سودوکو با سی



برنامه نویسی سودوکو با C به شما یاد می دهد که چگونه برنامه های کامپیوتری بنویسید تا پازل های سودوکو را حل و تولید کنید. این یک کتاب کاربردی است که هر آنچه را که برای نوشتن کتاب‌های سودوکو کلاسیک و پازل سامورایی نیاز دارید در اختیار شما قرار می‌دهد. اما هشدار دهید: پس از خواندن آن، متوجه می‌شوید که پازل‌های موجود در روزنامه محلی شما به هر حال چندان چالش برانگیز نیستند!

ما سودوکوس را دوست داریم، زیرا آنها ظرفیت ما را برای تشخیص و تفسیر الگوها آزمایش می‌کنند. اما سرنخ ها چگونه تولید می شوند؟ آن پیکربندی های شبه متقارن از کجا می آیند؟ هنگامی که نویسنده برای یافتن این موضوع، وب را کاوش کرد، متوجه شد که سایت‌های زیادی وجود دارند که چگونگی حل سودوکوس را توضیح می‌دهند، اما هیچ کدام به او نگفتند که چگونه آنها را ایجاد کند. او همچنین سایت‌ها و برنامه‌های زیادی را برای بازی سودوکو دید، اما، شاید تعجب‌آور نباشد، هیچ نشانه‌ای از نحوه عملکرد آنها وجود نداشت.

بنابراین، او مجبور شد برنامه های کاربردی خود را توسعه دهد تا متوجه شود. و، از همان ابتدا، او تصمیم گرفت که این کد را برای هر کس دیگری منتشر کند تا بتواند از آن استفاده کند و شاید آن را سرهم کند، اما نویسنده آن را به گونه‌ای نوشت که به خوانندگانی که دانش محدودی از تکنیک‌های برنامه‌نویسی دارند نیز اجازه می‌دهد آن را درک کنند. در واقع، شما می توانید تصمیم بگیرید که تقریباً بلافاصله شروع به تولید هزاران پازل کنید و بعداً، توضیح الگوریتم ها و تکنیک ها را مرور کنید. نویسنده تصمیم گرفت تا برنامه را به زبان C قدیمی بنویسد زیرا می‌خواست کد را تا حد امکان برای افراد زیادی در دسترس قرار دهد.

در این کتاب، توضیحی درباره همه استراتژی‌های حل خواهید یافت، و کد برای پیاده سازی آنها نوشتن برنامه Solver دشوارتر از نوشتن Generator بود، زیرا نیاز به طراحی و اجرای هر استراتژی جداگانه داشت. با این حال، نویسنده می خواست یک برنامه حل را شامل شود که قادر به فهرست کردن استراتژی های لازم برای حل هر پازل خاص باشد. او همچنین می‌خواست بررسی کند که آیا یک پازل به صورت تحلیلی و بدون هیچ حدس‌زنی قابل حل است یا خیر.

این کتاب شامل فهرست‌های کامل ژنراتور و حل‌کننده، و توضیحات همه ماژول‌های C، همراه با توضیح و مثال است. .

آنچه یاد خواهید گرفت

  • نحوه مدلسازی پازل سودوکو در C
  • راهبردها در برنامه اصلی و همچنین در برنامه چیست؟ ابزارهای مورد نیاز
  • نحوه پیاده سازی استراتژی ها و تکنیک های متعدد برای تولید و حل سودوکو
  • نحوه حل پازل
  • نحوه تولید سودوکو
  • Samurai Sudokus چیست و چگونه می توان آنها را حل کرد

این کتاب برای چه کسانی است

این کتاب برای خوانندگانی است که دانش محدودی از تکنیک های برنامه نویسی دارند. کد C مهم است و بنابراین بهتر است اطلاعات قبلی از C داشته باشید.

فهرست محتوا

1. مدل سازی یک پازل سودوکو در C

2. استراتژی ها

3. برنامه اصلی و ابزارهای کمکی

4. پیاده‌سازی «محصول»

5. پیاده سازی استراتژی های "برهنه"

6. پیاده سازی استراتژی های "پنهان"

7. در حال پیاده سازی "box-line"

8. پیاده‌سازی «خط اشاره‌ای»

9. پیاده سازی استراتژی های 'خطوط'

10. پیاده سازی «Y-wing»

11. پیاده سازی «XY-chain»

12. پیاده سازی "مستطیل"

13. پیاده‌سازی «بازگشت»

14. حل هزاران معما

15. تولید سودوکوس

16. آمار پازل

17. پازل

18. سودوکوس سامورایی

A. Eclipse CDT

B. راه حل های پازل

C. اختصارات و کلمات اختصاری

D. شاخص استراتژی


توضیحاتی درمورد کتاب به خارجی

Sudoku Programming with C teaches you how to write computer programs to solve and generate Sudoku puzzles. This is a practical book that will provide you with everything you need to write your own books of Sudoku Classic and Samurai puzzles. But be warned: after reading it, you'll discover that the puzzles in your local paper are not so challenging after all!

We like Sudokus because they test our capacity to recognize and interpret patterns. But how are the clues generated? Where do those quasi-symmetrical configurations come from? When the author explored the Web to find out, he discovered that there were many sites that explained how to solve Sudokus, but none that told him how create them. He also saw many sites and apps to play Sudoku, but, perhaps not surprising, no indication of how they worked.

So, he had to develop his own applications in order to find out. And, from the very start, he decided that he would publish the code for anyone else to use and perhaps tinker with, but the author wrote it in such a way that also lets readers with limited knowledge of programming techniques understand it. In fact, you could decide to start generating thousands of puzzles almost immediately, and go through the explanations of algorithms and techniques later, a bit at a time. The author chose to write the application in ‘plain old C’ because he wanted to make the code accessible to as many people as possible.

In this book, you will find an explanation of all solving strategies, and the code to implement them. Writing the Solver application was more difficult than writing the Generator, because it required designing and implementing each strategy separately. However, the author wanted to include a solving program capable of listing the strategies necessary to solve any particular puzzle. He also wanted to check whether a puzzle was solvable analytically, without any guessing.

This book includes the full listings of both the Generator and the Solver, and explanations of all C modules, with walk-throughs and examples.

What you’ll learn

  • How to model a Sudoku puzzle in C
  • What are the strategies in the main program as well as in the utilities needed
  • How to implement numerous strategies and techniques for Sudoku generating and solving
  • How to solve puzzles
  • How to generate Sudokus
  • What are Samurai Sudokus and how to solve them

Who this book is for

This book is for readers with limited knowledge of programming techniques. The C code is significant and so it is best to have some prior knowledge of C.

Table of Contents

1. Modelling a Sudoku Puzzle in C

2. The Strategies

3. Main Program and Utilities

4. Implementing 'unique'

5. Implementing 'naked' Strategies

6. Implementing 'hidden' Strategies

7. Implementing 'box-line'

8. Implementing 'pointing-line'

9. Implementing 'lines' Strategies

10. Implementing 'Y-wing'

11. Implementing 'XY-chain'

12. Implementing 'rectangle'

13. Implementing 'backtrack'

14. Solving Thousands of Puzzles

15. Generating Sudokus

16. Puzzle Statistics

17. Puzzles

18. Samurai Sudokus

A. Eclipse CDT

B. Puzzle Solutions

C. Abbreviations and Acronyms

D. Strategy Index



فهرست مطالب

Contents at a Glance
Contents
About the Author
Introduction
Chapter 1: Modeling a Sudoku Puzzle in C
	Solving a Puzzle
	Generating a Puzzle
	Modeling the Puzzle
	Summary
Chapter 2: The Strategies
	Level 0 Strategies
		The Strategy Naked Single
		The Strategy Unique
		The Strategy Cleanup
		Usage of Level 0 Strategies
	Level 1 Strategies
		The Strategy Naked Pair
		The Strategy Hidden Pair
		The Strategy Box-Line
		The Strategy Pointing Line
	Level 2 Strategies
		The Strategies Naked Triple and Naked Quad
		The Strategy Hidden Triple
		The Strategy Lines-2
		The Strategy Y-wing
	Level 3 Strategies
		The Strategy X Y-Chain
		The Strategy Rectangle
		The Strategies Lines-3 and Lines-4
	Level 4 Strategies
		What about Coloring ?
	Strategy Selection
	Summary
Chapter 3: The Solver Program
	init( )
	cleanup( )
	solve( )
	Counting
	Checking Consistency
	Input/Output
	Summary
Chapter 4: Implementing “Unique”
	unique_unit( )
	unique( )
	unique_loop( )
	Summary
Chapter 5: Implementing “Naked” Strategies
	naked_pair_unit( )
	naked_triple_unit( )
	naked_quad_unit( )
	Summary
Chapter 6: Implementing “Hidden” Strategies
	hidden_pair_unit( )
	hidden_triple_unit( )
	Summary
Chapter 7: Implementing “Box-Line”
	box_line( )
	box_line_unit( )
	Summary
Chapter 8: Implementing “Pointing Line”
	pointing_line( )
	pointing_line_box( )
	Summary
Chapter 9: Implementing “Lines” Strategies
	lines_2( )
	lines_3( )
	lines_4( )
	lines( )
	An Example
	Summary
Chapter 10: Implementing “Y-wing”
	pairs_find( )
	y_wing_digit( )
	intersection( )
	footprint( )
	An Example
	Summary
Chapter 11: Implementing “XY-chain”
	xy_chain_digit( )
	xy_chain_step()
	An Example
	Summary
Chapter 12: Implementing “Rectangle”
	rectangle()
	rectangle_pattern()
	rectangle_cell()
	rectangle_step()
		Case A: n == 0 and kBeq < 3
		Case B: n > 0 and kBeq < 3
		Case C: n == 0 and kBeq == 3
		Case D: n > 0 and kBeq == 3
	An Example
		rectangle_step(): for 6, kBeq 0, chain: (1,5)
		rectangle_step(): for 6, kBeq 1, chain (1,5) (0,6)
		rectangle_step(): for 6, kBeq 2, chain (1,5) (0,6) (7,7)
		rectangle_step(): for 6, kBeq 3, chain (1,5) (0,6) (7,7) (6,5)
		rectangle_step(): for 6, kBeq 1, chain (1,5) (0,7)
		rectangle_step(): for 6, kBeq 2, chain (1,5) (0,7) (6,6)
		rectangle_step(): for 6, kBeq 3, chain (1,5) (0,7) (6,6) (7,4)
		rectangle_step(): for 9
		Pointing-line within rectangle
	Summary
Chapter 13: Implementing “Backtrack”
	display_strats_in_clear( )
	Optimization
	An Example
	Summary
Chapter 14: Solving Thousands of Puzzles
	The Example of Minimum Sudokus
	Summary
Chapter 15: Generating Sudokus
	Generating a Solved Sudoku
		init() for the Generator
		fill()
		fill_digit()
	Removing Clues to Make a Puzzle
		brute_comp()
		inconsistent_unit() for the Generator
	Check for Uniqueness of the Solution
	Completing the Generator
	Utilities for the Generator
	Summary
Chapter 16: Puzzle Statistics and More Puzzles
	Statistic on Number of Clues
	Statistic on Numbers
	Statistic on Solutions
	Timing
	Generating More Puzzles
		Number Shifting
		Rotating, Flipping, and Mirroring
		Swapping Lines and Triplets of Lines
		Removing Different Numbers of Clues
	Summary
Chapter 17: Special Sudokus
	Designer Sudokus
	Symbolic Sudokus
	Summary
Chapter 18: Multi-Grid Sudokus
	There Are Many Different Multi-Grid Sudokus
	How You Join the Grids
	How the Generator Does It
	Displaying a Multi-Grid Sudoku
	Designer Multi-Grid Sudokus
	Summary
Chapter 19:
Development Environment
	Eclipse
		Setting Up Eclipse on a PC
		Coding Style
	Setting Up the Solver and the Generator
Chapter 20:
Abbreviations and Acronyms
Index




نظرات کاربران