Skip to content

Commit a6ff29f

Browse files
author
Stefano Malagò
committed
Moved results of spectral clustering experiment to data_spectral
Added fata for Affinity Propagation and Agglomerative Clustering
1 parent b7c043e commit a6ff29f

File tree

268 files changed

+25102
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+25102
-9
lines changed
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
[
2+
[
3+
{
4+
"data": "The variable is mutable (it's vaule can be changed) even if the String type its immutable",
5+
"idx": 9
6+
},
7+
{
8+
"data": "the variable is immutable because we can't change the object itself, but only the reference to the object",
9+
"idx": 14
10+
},
11+
{
12+
"data": "No, even if 'String' is immutable the variable name must be declared final to be immutable. This variable can be reassigned",
13+
"idx": 17
14+
}
15+
],
16+
[
17+
{
18+
"data": "Java strings are immutable, when you try to edit them a new String in created.",
19+
"idx": 13
20+
}
21+
],
22+
[
23+
{
24+
"data": "The variable 'name' can be assigned and changed. It would need to be a final String to be immutable.",
25+
"idx": 18
26+
},
27+
{
28+
"data": "Immutability implies that the variable cannot be reinitialized or modified after the first initialization. In this case name can be reinitialized multiple times, moreover the String object can also be modified in memory.",
29+
"idx": 21
30+
},
31+
{
32+
"data": "You can change the variable name for another string.",
33+
"idx": 26
34+
}
35+
],
36+
[
37+
{
38+
"data": "The object under name is immutable; the reference to it is mutable",
39+
"idx": 30
40+
}
41+
],
42+
[
43+
{
44+
"data": "It is not declared as final",
45+
"idx": 1
46+
},
47+
{
48+
"data": "it is not declared as final",
49+
"idx": 10
50+
},
51+
{
52+
"data": "In order to be immutable it has to be declared as final. String object is immutable, not the variable.",
53+
"idx": 11
54+
}
55+
],
56+
[
57+
{
58+
"data": "In Java, the ummutable variable should be with the key word `final`.",
59+
"idx": 12
60+
}
61+
],
62+
[
63+
{
64+
"data": "The variable is not declared as final. ",
65+
"idx": 19
66+
},
67+
{
68+
"data": "To be immutable the variable must be declared as 'final'",
69+
"idx": 28
70+
}
71+
],
72+
[
73+
{
74+
"data": "String are immutable object in java but not the variable, it should be declared as final.",
75+
"idx": 29
76+
}
77+
],
78+
[
79+
{
80+
"data": "if there is a final keyword it would be immutable",
81+
"idx": 2
82+
},
83+
{
84+
"data": "No. To be immutable, the keyword 'final' is needed (e.g. 'final String name;')",
85+
"idx": 15
86+
},
87+
{
88+
"data": "Because it is missing the final keyword before the type",
89+
"idx": 16
90+
}
91+
],
92+
[
93+
{
94+
"data": "The final keyword is needed to make a Java variable final. However, since I do not see any code modifying the variable, I may be able to assume that it is 'effectively final'.",
95+
"idx": 3
96+
}
97+
],
98+
[
99+
{
100+
"data": "We need the final keyword to make this variable immutable, i.e. not change after it's been initialized. Right now, we could change its value as many time as we want.",
101+
"idx": 24
102+
}
103+
],
104+
[
105+
{
106+
"data": "To be immutable should have final",
107+
"idx": 20
108+
},
109+
{
110+
"data": "it requires the keyword final to be immutable.",
111+
"idx": 23
112+
},
113+
{
114+
"data": "To make it immutable it should have the final keyword",
115+
"idx": 25
116+
},
117+
{
118+
"data": "the 'final' keyword needs to be used in java to make the variable immutable.",
119+
"idx": 27
120+
},
121+
{
122+
"data": "Its mutable. Final keyword is necessary for immutable variables",
123+
"idx": 31
124+
}
125+
],
126+
[
127+
{
128+
"data": "The variable can be mutated simply by assigning something else to it.",
129+
"idx": 5
130+
}
131+
],
132+
[
133+
{
134+
"data": "The variable can be changed(the pointer can change)",
135+
"idx": 4
136+
},
137+
{
138+
"data": "The variable is actually mutable, because it is not a constant and can be changed.",
139+
"idx": 6
140+
},
141+
{
142+
"data": "It is mutable, since we can change the Object String to which the variable name points to, but not modifying the String itself.",
143+
"idx": 7
144+
}
145+
],
146+
[
147+
{
148+
"data": "The variable name is not final, thus it is mutable",
149+
"idx": 8
150+
},
151+
{
152+
"data": "It is not marked final, therefore it is mutable. ",
153+
"idx": 22
154+
},
155+
{
156+
"data": "The variable is mutable, can change, no final for example.",
157+
"idx": 32
158+
}
159+
],
160+
[
161+
{
162+
"data": "A variable can change his state many times. Only final variable can have 1 state ",
163+
"idx": 33
164+
}
165+
]
166+
]
Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
[
2+
[
3+
{
4+
"data": "It is not declared as final",
5+
"idx": 1
6+
},
7+
{
8+
"data": "it is not declared as final",
9+
"idx": 10
10+
},
11+
{
12+
"data": "The variable is not declared as final. ",
13+
"idx": 19
14+
}
15+
],
16+
[
17+
{
18+
"data": "if there is a final keyword it would be immutable",
19+
"idx": 2
20+
},
21+
{
22+
"data": "No. To be immutable, the keyword 'final' is needed (e.g. 'final String name;')",
23+
"idx": 15
24+
},
25+
{
26+
"data": "To be immutable should have final",
27+
"idx": 20
28+
}
29+
],
30+
[
31+
{
32+
"data": "Because it is missing the final keyword before the type",
33+
"idx": 16
34+
}
35+
],
36+
[
37+
{
38+
"data": "it requires the keyword final to be immutable.",
39+
"idx": 23
40+
},
41+
{
42+
"data": "To make it immutable it should have the final keyword",
43+
"idx": 25
44+
},
45+
{
46+
"data": "Its mutable. Final keyword is necessary for immutable variables",
47+
"idx": 31
48+
}
49+
],
50+
[
51+
{
52+
"data": "We need the final keyword to make this variable immutable, i.e. not change after it's been initialized. Right now, we could change its value as many time as we want.",
53+
"idx": 24
54+
}
55+
],
56+
[
57+
{
58+
"data": "The object under name is immutable; the reference to it is mutable",
59+
"idx": 30
60+
}
61+
],
62+
[
63+
{
64+
"data": "The variable can be mutated simply by assigning something else to it.",
65+
"idx": 5
66+
}
67+
],
68+
[
69+
{
70+
"data": "The variable can be changed(the pointer can change)",
71+
"idx": 4
72+
},
73+
{
74+
"data": "The variable is actually mutable, because it is not a constant and can be changed.",
75+
"idx": 6
76+
},
77+
{
78+
"data": "It is mutable, since we can change the Object String to which the variable name points to, but not modifying the String itself.",
79+
"idx": 7
80+
}
81+
],
82+
[
83+
{
84+
"data": "The variable is mutable (it's vaule can be changed) even if the String type its immutable",
85+
"idx": 9
86+
}
87+
],
88+
[
89+
{
90+
"data": "the variable is immutable because we can't change the object itself, but only the reference to the object",
91+
"idx": 14
92+
}
93+
],
94+
[
95+
{
96+
"data": "The variable name is not final, thus it is mutable",
97+
"idx": 8
98+
},
99+
{
100+
"data": "It is not marked final, therefore it is mutable. ",
101+
"idx": 22
102+
},
103+
{
104+
"data": "The variable is mutable, can change, no final for example.",
105+
"idx": 32
106+
}
107+
],
108+
[
109+
{
110+
"data": "In order to be immutable it has to be declared as final. String object is immutable, not the variable.",
111+
"idx": 11
112+
},
113+
{
114+
"data": "No, even if 'String' is immutable the variable name must be declared final to be immutable. This variable can be reassigned",
115+
"idx": 17
116+
},
117+
{
118+
"data": "The variable 'name' can be assigned and changed. It would need to be a final String to be immutable.",
119+
"idx": 18
120+
}
121+
],
122+
[
123+
{
124+
"data": "Immutability implies that the variable cannot be reinitialized or modified after the first initialization. In this case name can be reinitialized multiple times, moreover the String object can also be modified in memory.",
125+
"idx": 21
126+
}
127+
],
128+
[
129+
{
130+
"data": "You can change the variable name for another string.",
131+
"idx": 26
132+
}
133+
],
134+
[
135+
{
136+
"data": "To be immutable the variable must be declared as 'final'",
137+
"idx": 28
138+
},
139+
{
140+
"data": "String are immutable object in java but not the variable, it should be declared as final.",
141+
"idx": 29
142+
}
143+
],
144+
[
145+
{
146+
"data": "The final keyword is needed to make a Java variable final. However, since I do not see any code modifying the variable, I may be able to assume that it is 'effectively final'.",
147+
"idx": 3
148+
},
149+
{
150+
"data": "In Java, the ummutable variable should be with the key word `final`.",
151+
"idx": 12
152+
},
153+
{
154+
"data": "Java strings are immutable, when you try to edit them a new String in created.",
155+
"idx": 13
156+
},
157+
{
158+
"data": "the 'final' keyword needs to be used in java to make the variable immutable.",
159+
"idx": 27
160+
}
161+
],
162+
[
163+
{
164+
"data": "A variable can change his state many times. Only final variable can have 1 state ",
165+
"idx": 33
166+
}
167+
]
168+
]

0 commit comments

Comments
 (0)