Skip to content

Commit b2c0ac6

Browse files
authored
Merge pull request #104 from LuCEresearchlab/experiment-agglomerative-average
Added results for agglomerative with average
2 parents baa29eb + d75f0ca commit b2c0ac6

File tree

123 files changed

+20725
-5
lines changed

Some content is hidden

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

123 files changed

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

0 commit comments

Comments
 (0)