Skip to content

xdhcode/Demo_Toys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Public_Toy

Toy codes.

River Crossing Problem

Given that three good guys and three bad guys need to cross a river using only one boat which needs one guy to drive. When the bad guys outnumber the good guys on the either side of the river, the mission failed. Tree search algorithms are implemented to solve the problem.

Green Points: Good guys

Red Points: Bad guys

Yellow Point: The boat

Breadth First Search

image

Depth First Search

image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published