Java implementation to create and solve mazes

Text

--What you did: Create a maze in Java and find if it is reachable (depth-first search DFS) or find the shortest path (breadth-first search BFS) --Source => GitHub --Execution result => Ideone --Other input examples => README

Run-time notes

--Six arguments are required, the order is fixed --You can write the maze / route to the standard output with -debug --However, there is no output limit --It is better to output while checking how much can be displayed from a small maze to a large maze. --If you put -no-denug instead of -debug, the standard output will be turned off. --Since the size exceeds 2501 * 2501, the execution time of generation is long and difficult. --If you put a large number in the fourth argument circuits, the execution time of generation is long and it is hard after all --100000 or something impossible

Miscellaneous feelings

--Implementation that creates a maze may be rare ――It is preferable to return both 1. the shortest distance and 2. the rewritten route, but it is troublesome so I have not done it -Go or Python or Ruby Apprentice I want you to

Hope this helps.

Recommended Posts

Java implementation to create and solve mazes
Java conditional branching: How to create and study switch statements
Java 15 implementation and VS Code preferences
[Java] How to create a folder
BloomFilter description and implementation sample (JAVA)
AtCoder ARC 081 C hash to solve in Ruby, Perl and Java
[Java] Create and apply a slide master
Try to solve Project Euler in Java
[Java] How to output and write files!
[Introduction to Java] Variable declarations and types
Java to C and C to Java in Android Studio
Install Docker and create Java runtime environment
Sorting AtCoder ABC 111 C hashes to solve in Ruby, Perl and Java
[Java] Note how to use RecyclerView and implementation of animated swipe processing.
How to create your own annotation in Java and get the value
Create API using Retrofit2, Okhttp3 and Gson (Java)
Kotlin functions and lambdas to send to Java developers
Create barcodes and QR codes in Java PDF
[ev3 × Java] Interface, implementation and inheritance (event handling)
Easy way to create an implementation of java.util.stream.Stream
[Java] How to get and output standard input
Try to create a bulletin board in Java
Try to link Ruby and Java with Dapr
Java upload and download notes to Azure storage
PostgreSQL Pub / Sub functionality and Java client implementation
[Java] Introduction to Java
Java and JavaScript
How to get and study java SE8 Gold
XXE and Java
Java8 to start now ~ forEach and lambda expression ~
Java and Swift comparison (3) Class implementation / Class inheritance / Class design
Introduction to java
How to solve an Expression Problem in Java
I tried to create Alexa skill in Java
[Java] Try to solve the Fizz Buzz problem
How to access Java Private methods and fields
[Java] How to use Calendar class and Date class
I tried to create a shopping site administrator function / screen with Java and Spring
Create a Java Servlet and JSP WAR file to deploy to Apache Tomcat 9 in Gradle
Create a portfolio app using Java and Spring Boot
<java> Read Zip file and convert directly to string
Convert Java enum enums and JSON to and from Jackson
[Java] Types of comments and how to write them
[Java] I tried to solve Paiza's B rank problem
Java memory management and how to read GC Viewer
I tried to create a Clova skill in Java
How to create a data URI (base64) in Java
[Java] Refer to and set private variables with reflection
Java classes and instances to understand in the figure
I want to transition screens with kotlin and java!
How to convert A to a and a to A using AND and OR in Java
Try to solve a restricted FizzBuzz problem in Java
[Java] [XML signature] Add prefix and ID to Signature tag
How to create and execute method, Proc, Method class objects
[Rails] Create sitemap using sitemap_generator and deploy to GAE
[Java] Convert JSON to Java and Java to JSON-How to use GSON and Jackson-
Create a JAVA WEB application and try OMC APM
Gzip-compress byte array in Java and output to file
(Ruby on Rails6) How to create models and tables
About synchronized and Reentrant Lock (Java & Kotlin implementation example)
Interpreter implementation in Java