1
Student Name: __________________
Class and Section __________________
Total Points (20 pts) __________________
Due: November 28, 2016 before the class
Project: Displaying sets of connected circles
CSCI 2410 Data Structures and Algorithms
Armstrong State University
Problem Description:
Write a JavaFX application that lets the user create a circle by
clicking a mouse in a blank area that is not currently covered by a
circle. If two circles are connected, they are displayed using the same
color; otherwise, they are not in same color, as shown in the following
figure.
Design:
(Describe how you use a graph to model this problem)
Coding:
(Only print the applet program here. Don’t print Graph, AbstractGraph, and
UnweightedGraph. They are in the text.)
Screen Shots:
2
What to submit?
1. Email a hard copy of this document.
3. Fill in self-evaluation:
1. Does your program add vertices to the graph correctly? ________
2. Does your program add edges to the graph correctly? ________
3. Does your program finds connected components correctly? ________