Search Results

Search found 17437 results on 698 pages for 'nick long'.

Page 170/698 | < Previous Page | 166 167 168 169 170 171 172 173 174 175 176 177  | Next Page >

  • Looking for an algorithm to connect dots - shortest route

    - by e4ch
    I have written a program to solve a special puzzle, but now I'm kind of stuck at the following problem: I have about 3200 points/nodes/dots. Each of these points is connected to a few other points (usually 2-5, theoretical limit is 1-26). I have exactly one starting point and about 30 exit points (probably all of the exit points are connected to each other). Many of these 3200 points are probably not connected to neither start nor end point in any way, like a separate net, but all points are connected to at least one other point. I need to find the shortest number of hops to go from entry to exit. There is no distance between the points (unlike the road or train routing problem), just the number of hops counts. I need to find all solutions with the shortest number of hops, and not just one solution, but all. And potentially also solutions with one more hop etc. I expect to have a solution with about 30-50 hops to go from start to exit. I already tried: 1) randomly trying possibilities and just starting over when the count was bigger than a previous solution. I got first solution with 3500 hops, then it got down to about 97 after some minutes, but looking at the solutions I saw problems like unnecessary loops and stuff, so I tried to optimize a bit (like not going back where it came from etc.). More optimizations are possible, but this random thing doesn't find all best solutions or takes too long. 2) Recursively run through all ways from start (chess-problem-like) and breaking the try when it reached a previous point. This was looping at about a length of 120 nodes, so it tries chains that are (probably) by far too long. If we calculate 4 possibilities and 120 nodes, we're reaching 1.7E72 possibilities, which is not possible to calculate through. This is called Depth-first search (DFS) as I found out in the meantime. Maybe I should try Breadth-first search by adding some queue? The connections between the points are actually moves you can make in the game and the points are how the game looks like after you made the move. What would be the algorithm to use for this problem? I'm using C#.NET, but the language shouldn't matter.

    Read the article

  • FOSS: Free and Open Source Software

    <b>Datamation:</b> "FOSS is an abbreviation for Free and Open Source Software. In other words, FOSS is software whose source code is openly available. People can install and even modify FOSS as they please, so long as they follow a few basic requirements listed in the license."

    Read the article

  • Know All About Web Application Development

    Business organizations that work with a lot of planning have used web applications very intelligently for their B to B or B to C interactions. This web application development has been extremely helpful for companies in planning long-term relationships with their clients and customers.

    Read the article

  • Best 3 Ways to Optimize a Large Website For the Search Engines

    A lot of people believe that in order to get good rankings they need to build a large website. As a general rule, we classify a website as large if there are more than 300 pages of content available to the readers. This may seem like a lot of content, but even this can be considered a small website by those who have been in the SEO industry for a long time.

    Read the article

  • The Start Of Website Design And CSS

    In the long history of web design practices, the use of style sheet languages such as Cascading Style Sheet, or CSS, have greatly revolutionized the way professionals create and design websites. It d... [Author: Margarette Mcbride - Web Design and Development - April 27, 2010]

    Read the article

  • Do you use unit tests at work? What benefits do you get from them?

    - by Anonymous
    I had planned to study and apply unit testing to my code, but after talking with my colleagues, some of them suggested to me that it's not necessary and it has a very little benefit. They also claim that only a few companies actually do unit testing with production software. I am curious how people have applied unit testing at work and what benefits they are getting from using them, e.g., better code quality, reduced development time in the long term, etc.

    Read the article

  • To Obtain EPOCH Time Value from a Packed BIT Structure in C [migrated]

    - by xde0037
    This is not a home assignment! We have a binary data file which has following data structure: (It is a 12 byte structure): I need to find out Epoch time value(total time value is packed in 42 bits as described below): Field-1 : Byte 1, Byte 2, + 6 Bits from Byte 3 Time-1 : 2 Bits from Byte 3 + Byte 4 Time-2 : Byte 5, Byte 6, Byte 7, Byte 8 Field-2 : Byte 9, Byte 10, Byte 11, Byte 12 For Field-1 and Field-2 I do not have issue as they can be taken out easily. I need time value in Epoch Time (long) as it has been packed in Bytes 5,6,7,8 and 3 and 4 as follows: (the bit structure for the time value is as follows): Bytes 5 to 8 (32 bit word) Packs time value bits from 0 thru 31 (byte 5 has 0 to 7 bits, byte 6 has 8 to 15, byte 7 has 16 to 23, byte 8 has 24 to 31). the remaining 10 bits of time value are packed in Bytes 3 and byte 4 as follows: byte 3 has 2 bits:32 and 33, and Byte 4 has remaining bits : 34 to 41. So total bits for time value is 42 bits, packed as above. I need to compute epoch value coming out of these 42 bits. How do I do it? I have done something like this but not sure it gives me correct value: typedef struct P_HEADER { unsigned int tmuNumber : 21; unsigned int time1 : 10; // Bits 6,7 from Byte-3 + 8 bits from Byte-4 unsigned int time2 : 32; // 32 bits: Bytes 5,6,7,8 unsigned int traceKey : 32; } __attribute__((__packed__)) P_HEADER; Then in the code : P_HEADER *header1; //get input string in hexa,etc..etc.. //parse the input with the header as : header1 = (P_HEADER *)inputBuf; // then print the header1->time1, header1->time2 .... long ttime = header1->time1|header1->time2; //?? is this the way to get values out? Any hint tip will be appreciated. Environment is : gcc 4.1, Linux Thanks in advance.

    Read the article

  • Setting up MySQL Replication for High Availability

    <b>PACKT Publishing: </b>"MySQL Replication has been supported in MySQL for a very long time and is an extremely flexible and powerful technology. Depending on the configuration, you can replicate all databases, selected databases, or even selected tables within a database."

    Read the article

  • where are apt-get files stored?

    - by loolooyyyy
    i have an ubuntu with three virtual machines running inside running ubuntu also i update the host using apt-get update but i can update VM's, it takes a long time + uses a lot of bandwith which i'm running out of,i want to transfer the updated files by apt-get to VMs, could you please tell me where are they? i'm not talking about the packages themselves stored in /var/cache/apt/archives, i want the file that stores list of available packages on mirror i have selected, thanks lot ps: i know this question has been asked somewhere but i cant find it!

    Read the article

  • Testing The Different Ubuntu 10.04 Kernels

    <b>Phoronix:</b> "The release of Ubuntu 10.04 LTS "Lucid Lynx" is quickly approaching next month and it will arrive with a whole set of new features and improvements including a faster boot process, a long-awaited new theme, the Nouveau driver to replace the crippled xf86-video-nv driver, the unveiling of the Ubuntu One Music Store, integration of Plymouth, Ubuntu ARM advancements..."

    Read the article

  • SEO - The How and Why

    As the influence of social networking sites and the internet increases, focus of mankind is slowly shifting from real life to the virtual space and why not, it's fun, dynamic and cheap. So it wasn't long before businesses started recognizing the importance of online advertising.

    Read the article

  • button missing video lens after upgrade

    - by valyum
    I did an upgrade from 11.10 to 12.04 and after this process i saw that dash button missing movies online,tv show. I have the latest version 5.8,Even after ordering unity --reset i did not get anything. One solution is to install 12.04 but I have many settings that I take a long time ... What can i do?Thanks and sorry for english!

    Read the article

  • First 3 Videos Building Tailspin Spyworks

    Ive published the first three videos on a follow-a-long series on building the Tailspin  Spyworks demo application. More Every Week ! http://www.asp.net/web-forms/samples/tailspin-spyworks   Technorati Tags: ASP.NET,WebForms,Video,Training...Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.

    Read the article

  • Solutions For Improving Your Web Site Ranking - Simple Yet Cost Effective!

    Solution to your poor web ranking problem is to build your web site in a search engine friendly manner. If you think, your web site has been uploaded long back and it is not doing really well in your targeted market then it is simple that your site needs some sprucing and nurturing. Just like you upbring a healthy child with the right food products and in the right quantity, you need to build your web portal as well.

    Read the article

  • How a Good SEO Company Can Benefit Your Online Marketing Campaign

    The key benefit of integrating SEO into your marketing plan is to increase natural targeted traffic to your website. This is done by optimising your site for the keywords you want to be listed for, for example, you want to be number one on Google for the key phrase "widgets", then you would optimise your site or page around this term. As SEO offers a great return on investment, it is often considered to be more beneficial in the long term than any other form of marketing.

    Read the article

  • Top 5 Free Linux Distributions for Servers in 2010

    <b>Simple Thoughts:</b> "There are five distributions to compare - Debian, CentOS, Slackware , Ubuntu and Gentoo. One of the main consideration for server use is stability and long term security support. After extensive research we queued up the top 5 free Linux distros for server in 2010."

    Read the article

  • Applesoft, Ogg, and the future of web video

    <b>The Register: </b>"Two years ago, cosmonaut and Ubuntu founder Mark Shuttleworth challenged open sourcers to turn the Linux desktop into a piece of art. Shuttleworth's Canonical has now launched Ubuntu 10.04, which goes a long way towards that Mactastic vision."

    Read the article

  • Spotlight on Linux: PCLinuxOS 2010

    <b>Linux Journal:</b> "The long anticipated release of PCLinuxOS 2010 finally arrived a few weeks ago and reviews have been overwhelmingly positive. Even with the new crew and new features, it's still very much PCLOS."

    Read the article

< Previous Page | 166 167 168 169 170 171 172 173 174 175 176 177  | Next Page >