Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

Help

Thread view: 
Ebby - 24 Apr 2007 17:36 GMT
Hi,

I'm working on this program for my CS class. Does anyone have
suggestions on how to do this efficiently?

http://inst.eecs.berkeley.edu/~cs61b/sp07/projects/project3.html

Thanks
Christian - 24 Apr 2007 17:55 GMT
Ebby schrieb:
> Hi,
>
[quoted text clipped - 4 lines]
>
> Thanks

I would suggest an UCS or A* search..
on the tree of possible moves..

you could use distance of blocks to the target in Manhattan metric as a
heuristic to find your goal faster.

Christian
Andrew Thompson - 24 Apr 2007 18:01 GMT
...
>I'm working ...

What have you got so far?

>...on this program for my CS class.

A good group for those learning Java is
comp.lang.java.help

>...Does anyone have
>suggestions on how to do this efficiently?

Well, trying to get someone here to code it for you is
extremely inefficient*, but ..
- putting some study in,
- outlining a course of action, and
- asking for specific advice/critique on that course of action
..might be efficient.

* Because we won't.

If you are having trouble getting started, check this document.
<http://home.earthlink.net/~patricia_shanahan/beginner.html>

Note also that a specific, relevant subject line is more
likely to attract the attention of those that can help with
answers to more specific questions.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Patricia Shanahan - 24 Apr 2007 21:58 GMT
> ..
>> I'm working ...
[quoted text clipped - 20 lines]
> If you are having trouble getting started, check this document.
> <http://home.earthlink.net/~patricia_shanahan/beginner.html>

This project seems to be a bit beyond true beginner, but the advice
about reading the assignment is very applicable. The description
contains a lot of good advice about how to approach it, and the issues
to consider.

Patricia


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.