Skip to content

This project is to simulate catalan shuffle of various catalan structures.

Notifications You must be signed in to change notification settings

hovax/CatalanShuffle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalan Shuffle

Introduction

Catalan structures are defined as combinatorial interpretation of Catalan Numbers. Each type of Catalan structure can be counted using Catalan Number, and satisfies the basic properties of Catalan Numbers. Below is lattice path, one of the most well known Catalan structure.

Lattice Path - One most well known catalan structure

The goal of this project is to perform simulation and visualization on the transition process over various Catalan structures.

Supported Catalan Structures

In the book Catlan Numbers by Dr.Richard P. Stanley, the author illustrates 214 different Catalan structures and below are structures I implemented in the code.

  • Single Dyck Path
  • Coupling Dyck Paths
  • Multiple Dyck Paths (Same starting point)
  • Parallel Dyck Paths (Parallel starting point)
  • Polygon Triangulation

Run and Modify the code

Clone and import the project to IntelliJ Idea, main controller should be the start point of the program. (A corresponding jar file will be uploaded later).

The project follows a simple MVC(Model-View-Controller) structure, and modifications should be made to the relevant part.

About

This project is to simulate catalan shuffle of various catalan structures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%