Computational problems in graph theory | Error detection and correction

Snake-in-the-box

The snake-in-the-box problem in graph theory and computer science deals with finding a certain kind of path along the edges of a hypercube. This path starts at one corner and travels along the edges to as many corners as it can reach. After it gets to a new corner, the previous corner and all of its neighbors must be marked as unusable. The path should never travel to a corner which has been marked unusable. In other words, a snake is a connected open path in the hypercube where each node connected with path, with the exception of the head (start) and the tail (finish), it has exactly two neighbors that are also in the snake. The head and the tail each have only one neighbor in the snake. The rule for generating a snake is that a node in the hypercube may be visited if it is connected to the current node and it is not a neighbor of any previously visited node in the snake, other than the current node. In graph theory terminology, this is called finding the longest possible induced path in a hypercube; it can be viewed as a special case of the induced subgraph isomorphism problem. There is a similar problem of finding long induced cycles in hypercubes, called the coil-in-the-box problem. The snake-in-the-box problem was first described by , motivated by the theory of error-correcting codes. The vertices of a solution to the snake or coil in the box problems can be used as a Gray code that can detect single-bit errors. Such codes have applications in electrical engineering, coding theory, and computer network topologies. In these applications, it is important to devise as long a code as is possible for a given dimension of hypercube. The longer the code, the more effective are its capabilities. Finding the longest snake or coil becomes notoriously difficult as the dimension number increases and the search space suffers a serious combinatorial explosion. Some techniques for determining the upper and lower bounds for the snake-in-the-box problem include proofs using discrete mathematics and graph theory, exhaustive search of the search space, and heuristic search utilizing evolutionary techniques. (Wikipedia).

Snake-in-the-box
Video thumbnail

A snake at my house

Suddenly discovered a snake on my front door.. Anyone know what snake it is? Carpet python?

From playlist Interesting videos

Video thumbnail

The Perfect Maze for Treasure and Snakes

A cave is a prime location for snakes and spiders. But a cave system, formed by geological forces, is also a great hiding place for treasure with its blend of danger and secrecy. Hunt for all new episodes of TREASURE QUEST: SNAKE ISLAND Fridays at 10/9c on Discovery. | http://www.discover

From playlist Treasure Quest: Snake Island

Video thumbnail

Snakes...Snakes Everywhere

During one of the first days of their treasure hunting adventure, the team finds themselves face to face with one of countless golden lancehead vipers found on Snake Island. Hunt for all new episodes of TREASURE QUEST: SNAKE ISLAND Fridays at 10/9c on Discovery. | http://www.discovery.com

From playlist Treasure Quest: Snake Island

Video thumbnail

Cobra vs. Rat Snake | National Geographic

A rat snake may look like it's related to this King Cobra, but the cobra prefers to think of the rat snake as lunch! http://video.nationalgeographic.com/video/?source=4001 ➡ Subscribe: http://bit.ly/NatGeoSubscribe ➡ Access our digital archive by becoming a member of National Geographic: h

From playlist Vs. | National Geographic

Video thumbnail

Cobra in a Chicken Coop | Snake City

Simon and Siouxsie search a chicken coop for not one but two snakes. ➡ Subscribe: http://bit.ly/NatGeoWILDSubscribe ➡ Get More Snake City: https://on.natgeo.com/2kIT3rz #NatGeoWILD #Cobras #SnakeCity About Snake City: Ride shotgun with snake-catcher Simon Keys and herpetologist girlfri

From playlist Trending Videos | National Geographic

Video thumbnail

SHE WAS A PRIZE | MEET MY SNAKE | PET BALL PYTHON

She was a prize!? Meet my pet ball (royal) python snake. Hey Creatures and new subscribers! Today, I wanted to share Kaa's story. She is my rescued 'Ball', or 'Royal' python. She's also the snake that I've had for the longest time - 11 years! I hope you enjoy learning more about her,

From playlist Animal Videos

Video thumbnail

What NOT to do with a snake

My dad discovered a snake sitting in front of our front door. To get rid of the snake, this is what he did.. I advise you NOT to do this. The best thing to do when you see a snake is to leave it alone, or call a snake remover if you're worried.

From playlist Animals

Video thumbnail

Venom and Heat Take Herpetologist Down

While searching for more clues of the treasure’s resting place, Bryan feels the toll of the urchin's stings. With the herpetologist down, the rest of the team is in clear danger on Snake Island. Hunt for all new episodes of TREASURE QUEST: SNAKE ISLAND Fridays at 10/9c on Discovery. | htt

From playlist Treasure Quest: Snake Island

Video thumbnail

Working with a Loaded Snake Stick

After a difficult start in the mountains of Arizona, Dan spots an Arizona Black Rattlesnake tucked under the rocks. #VenomHunters Wednesdays 9/8c on Discovery http://www.discovery.com/tv-shows/venom-hunters Subscribe to Discovery: http://bit.ly/SubscribeDiscovery Watch full episodes: ht

From playlist Venom Hunters

Video thumbnail

Don't Let This Snake Bite You!

▶ NEW PUZZLE/SUDOKU HUNT JUST RELEASED!!◀ We've just released a really amazing puzzle/sudoku hunt by Matyas Martinka. Any correct solution gets a shout-out on the channel! https://www.patreon.com/crackingthecryptic ********************************************************************* To

From playlist zetamath puzzles!

Video thumbnail

Snake Game Python Tutorial

Learn to code a snake game using Python and Pygame. This is suited for intermediate level programmers with some experience but anyone is welcome to follow along. If you are unsure about how to install/download pygame checkout this link: https://www.youtube.com/watch?v=AdUZArA-kZw Downlo

From playlist Python Tutorials

Video thumbnail

SERIOUSLY!? 5 Crazy SNAKE Misconceptions | EMZOTIC ft THE DARK DEN

5 of the craziest, most common and completely weird misconceptions and myths about SNAKES. Which ones have you believed or heard before? This video is a COLLABORATION with 'The Dark Den'. Head on over there to discover '5 Tarantula Misconceptions'. Click this link to jump there right NO

From playlist REPTILES

Video thumbnail

HOW SNAKES EAT

How do snakes eat? Do they dislocate their jaws to eat or do they have super stretchy cheeks? How do snakes breathe while eating? I will explain how snakes eat their food in today's video. *Hissclaimer* TWO snakes will be fed in todays video. My Mexican Black Kingsnake and my Hognose Sna

From playlist Animal Videos

Video thumbnail

How Sea Creature Venom Can Help Human Sickness | The Blue Realm | Real Wild

Blue Realm is a natural history television series about amazing creatures of the sea. Utilizing superb High-Definition imagery, engaging stories, and leading marine scientists the series takes viewers on extraordinary journeys of discovery! Click here for more documentaries: http://bit.ly

From playlist The Science Of Nature | Spark X Earth Stories X Real Wild X Pets & Vets

Video thumbnail

4 JavaScript Projects under 4 Hours | JavaScript Projects For Beginners | JavaScript | Simplilearn

🔥Post Graduate Program In Full Stack Web Development: https://www.simplilearn.com/pgp-full-stack-web-development-certification-training-course?utm_campaign=JSProjectsAug16&utm_medium=DescriptionFirstFold&utm_source=youtube 🔥Caltech Coding Bootcamp (US Only): https://www.simplilearn.com/cod

From playlist Simplilearn Live

Video thumbnail

Build Javascript Projects From Scratch | JavaScript Projects For Beginners | JavaScript |Simplilearn

This video on JavaScript Projects covers six applications that you can build using the language. JavaScript is popularly used for web app development and what better way to master the language than by building apps in it!! The video covers simple projects like To-do lists, Quiz apps, calcu

From playlist JavaScript Tutorial Videos 🔥[2022 Updated]

Video thumbnail

🔥Top JavaScript Projects In 2022 | JavaScript Projects For Beginners 2022 | JavaScript | Simplilearn

🔥FREE JavaScript Course With Completion Certificate: https://www.simplilearn.com/learn-javascript-basics-free-course-skillup?utm_campaign=TopJSProjects18May2022&utm_medium=DescriptionFirstFold&utm_source=youtube This video by simplilearn is based on Top JavaScript Projects In 2022. This T

From playlist Simplilearn Live

Video thumbnail

Copperheads! Copperheads! Everywhere! | Snake Salvation

Pastor Andrew goes snake hunting to prepare for an outdoor service. ➡ Subscribe: http://bit.ly/NatGeoSubscribe About National Geographic: National Geographic is the world's premium destination for science, exploration, and adventure. Through their world-class scientists, photographers,

From playlist Snake Salvation | National Geographic

Video thumbnail

Build Javascript Projects From Scratch | 6 JavaScript Projects In 5 Hours | JavaScript |Simplilearn

This video on JavaScript Projects covers six applications that you can build using the language. The video covers simple projects like To-do lists, Quiz apps, calculator app, and more advanced projects like the weather app, Tic-tac-toe game and the snake game application. I'm sure you'll e

From playlist Simplilearn Live

Video thumbnail

What's Inside A Wasp's Nest | What's Inside?

A wasp's nest is a complex structure that is a specialized nursery for all aerial-nest-building wasp species. These nests are easily identifiable — most of us have seen one at one time or another hanging from the outside of your home or on a tree. While these structures may look relatively

From playlist What's Inside

Related pages

Induced path | Discrete mathematics | Graph theory | Gray code | Combinatorica | Coding theory | Cycle graph | Induced subgraph isomorphism problem | Journal of Combinatorial Theory | Hypercube graph | Network topology | Discrete Mathematics (journal) | Combinatorial explosion | Hypercube | IEEE Transactions on Information Theory