Skip to content

A program that recognizes line patterns in a given set of points

Notifications You must be signed in to change notification settings

andreeateo/PatternRecognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PatternRecognition

This program recognizes line patterns in a given set of points.

Given a set of n distinct points in the plane, the program will find and draw every line segment that connects a subset of 4 or more of the points.

Project Structure

  • src: project source code
  • test: JUnit tests and testing data
  • lib_deps: library dependencies
  • nbproject
  • build.xml: auto-generated Ant build file

Prerequisites

  1. NetBeans IDE - for download and install go to https://netbeans.org/
  2. algs4.jar - make sure you have the lib_deps folder in your class path.

Installing

  1. Download the project on your drive.
  2. Open NetBeans and open the downloaded project.

Testing

  1. Add the desired test file as an argument: go to Properties, Run, Arguments - for example: "test\input\input8.txt".
  2. Run the project.
  3. Compare your graphic output with the image provided a reference in the Test Packages/input folder.

Author

Andreea Teodor

Credits

This program was written as part of an assignment for: Algorithms, Part I by Princeton University on Coursera.

About

A program that recognizes line patterns in a given set of points

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages