Find Jobs
Hire Freelancers

The 8 Queens problem

$10-30 USD

Đã hoàn thành
Đã đăng vào gần 7 năm trước

$10-30 USD

Thanh toán khi bàn giao
See attached document for details. Instructions Write a program that places 8 queens on an 8x8 board where none of the queens are in conflict with each other. You are to implement the solution by using the Hill-Climbing algorithm with random restarts. Problem Overview & Algorithm Description The 8-Queens problem requires that 8 queens be placed on a board with 8 rows and columns so that no queen occupies the same row, column or diagonal as another queen. To solve this problem using the Hill-Climbing with random restart algorithm, we must first generate a random starting state which places a queen in a random row of each column. From there, we first check to see if the state is a goal state (no queens are in conflict). If not, we evaluate all of the possible neighbor states by moving each column’s queen through the rows of its column and generating a heuristic value for each of those states. When all of the neighbor states have been generated, we check to see if any states were generated that have a lower heuristic value than the current state. If a better state was not found, then we have reached the local minima and must perform a random restart. If a better (lower heuristic) state was found, then that state becomes the current state and the above process is repeated on that state. Remember: your heuristic function is a representation of how close you are to the goal state. Unlike Pathfinding heuristics, we are not evaluating how close a particular node is to the goal node, but rather how close the current state (overall configuration) is to the goal state Program Requirements No graphics are required for this program. Instead, use a series of 0s (empty) and 1s (queen) in a grid style to represent each state. Every state generated should be output in this manner along with the current state’s heuristic, the number of neighboring states with lower heuristics, and the action taken (restart or generate neighbor state). When a solution is reached, your program should display the number of restarts and the total number of state changes that have occurred. A sample execution using 10 queens has been provided. Your program output should match that format (except yours will be 8x8). Skills: Java See more: problem algorithm, number series problem with solution, match problem, algorithm problem, website moving graphics, can add moving graphics forum, aspnet moving graphics, add moving graphics websites, websites moving graphics, web design moving graphics, add moving graphics online, add moving graphics website, thank moving graphics, add moving graphics aspnet website, moving graphics website, free moving graphics web page, free web moving graphics, moving graphics called web page, moving graphics web, small project java, thesis audio programing project java, complete college project java, college project java, longest common subsequence project java, online movie ticket booking project java jsp
Mã dự án: 14630393

Về dự án

5 đề xuất
Dự án từ xa
Hoạt động 7 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
I have worked with this problem in the past. How quickly do you need this? Relevant Skills and Experience 8 years of experience with MS in software engineering Proposed Milestones $30 USD - 8 queens problem done.
$30 USD trong 1 ngày
5,0 (35 nhận xét)
5,5
5,5
5 freelancer chào giá trung bình $80 USD cho công việc này
Avatar người dùng
You can also check my portfolio: https://www.freelancer.com/u/micheal4299.html I also have experience in working on similar projects. Let me know if you are interested in working with me. Thanks! Relevant Skills and Experience Java Proposed Milestones $300 USD - complete
$300 USD trong 1 ngày
5,0 (32 nhận xét)
6,3
6,3
Avatar người dùng
Hi, I'm Sid, a Software Engineer working. I have extensive skills with c++, Php, java, Android and Python of four years. Knock me up if you need it ASAP !!! ................. Relevant Skills and Experience Java Proposed Milestones $13 USD - ............................
$13 USD trong 1 ngày
5,0 (68 nhận xét)
5,6
5,6
Avatar người dùng
NO AUTOMATIC BIDDING........................ I am here freelancer first to discuss the details then i can sure about my price and the deadline. My way of working is not only to complete but also to provide enough understanding to the project owner. So this will be base of our long term relationships.....
$25 USD trong 1 ngày
5,0 (9 nhận xét)
3,8
3,8

Về khách hàng

Cờ của UNITED STATES
Huntersville, United States
5,0
2
Phương thức thanh toán đã xác thực
Thành viên từ thg 7 12, 2017

Xác thực khách hàng

Các công việc khác từ khách hàng này

A* Search with Manhattan Method
$10-30 USD
Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.