Professional Documents
Culture Documents
Sequence Diagram 1:
First User activates the Input Frame. Here it asks for which type of data you want to enter. User can
press the button1 in-order to enter the input file. In-order to enter the database file he can press the
button2. He can press the button3 to exit he current window.
Input Data Input Frame Input Frame1
User
< activate >
Click Button1 to
activate Input Frame
Click Button1 to
activate Input Frame1
Sequence Diagram 2:
User
< activate >
Enter File name
Enter no of Clusters
First User activates the Input Frame. Here it asks for File Name Which contains the data points to be
cluster. And also it asks for number of clusters to be done. After entering the details it takes the data
After User has to press the choose Algorithm button in order process the data points
in the vector by chosen algorithm. When user presses the choose algorithm button in the input frame it
will take the data from file into vector and gives the vector to chosen algorithm in order to process it.
Sequence Diagram 3:
User
< activate >
Enter no of Clusters
First User activates the Input Frame1. Here it asks for tables names in select buttons. User can select the
tables from data bases. And also it asks for number of clusters to be done. After entering the details it
takes the data from file and converts data into Vector of data points.
After User has to press the choose Algorithm button in order process the data points
in the vector by chosen algorithm. When user presses the choose algorithm button in the input frame it
will take the data from file into vector and gives the vector to chosen algorithm in order to process it.
Sequence Diagram 4:
User
< activate >
Press the CURE button
Here first User activates the choose algorithm boundary object. Then it will prompts for two
algorithms to be done. First one is CURE algorithm and the second one is K-Means algorithm. User may
If user clicks the CURE button the input data which is converted into Vector will be passed as
If user clicks the K-Means algorithm button the input data which is converted into vector will be
User
< activate >
Forms the initial
clusters
Here first User activates the Cure Algorithm. Then first it forms the initial clusters with the given data
points and forms the initial min-heap with those clusters. After that it gets the root element from the
min-heap and then also gets the closest cluster of the root element and merges those clusters. And then
it updates the heap. It repeats this procedure until the number of clusters reached to the no of clusters
element.
Sequence Diagram 6:
User
< activate >
< Start analysis >
First user activates the K-Means algorithm. The memory will be allocated for clusters.
And then start analysis method will be called. In that first it sets the initial c4entroids and then it assigns
the data points to clusters in the random order. And repeat the assignment of data points to clusters
until n-times depending on the updated centroids. Finally it displays the output.
Sequence Diagram 7:
User
< activate >
Here first user activates the Show output boundary object. First it displays the output. We
can also save the output. And we can also view the graph by slicking the show graph button. If the
The non-trivial behavior of the system can be modeled through building state chart
diagram. State Chart diagram represent behavior from perspective of single object.
Active
Choose Data
Inactive
Active
CURE Algorithm
Show Output
Active
Form the Min Heap with the Merge two closed clusters
cluster distances
Display Output
Active
Create clusters
Display Output
Active
Active
If CURE
Displays the Graph Shrink Representative points
If K-Means
Show Graph