Skip to content

Commit 4352a87

Browse files
committed
add more doc
1 parent 9269b29 commit 4352a87

File tree

1 file changed

+10
-7
lines changed
  • core/src/main/kotlin/org/evomaster/core/search/impact/impactinfocollection/value

1 file changed

+10
-7
lines changed

core/src/main/kotlin/org/evomaster/core/search/impact/impactinfocollection/value/StringGeneImpact.kt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@ class StringGeneImpact (sharedImpactInfo: SharedImpactInfo,
3838
specificImpactInfo = SpecificImpactInfo())
3939

4040
/*
41-
disable constructor with specialization gene
42-
we may resume it
43-
*/
41+
The number of specializations in the string gene can be modified (e.g., added or removed).
42+
Additionally, the CONSTANT specialization that uses EnumGene can also be updated by removing or adding items.
43+
44+
As the structure of specialization genes and their sub-genes changes frequently,
45+
impact collection is currently disabled for specialization genes.
46+
47+
This may be re-enabled in the future.
48+
TODO Man
49+
*/
4450
// constructor(id: String, gene : StringGene)
4551
// : this(
4652
// sharedImpactInfo = SharedImpactInfo(id),
@@ -133,10 +139,7 @@ class StringGeneImpact (sharedImpactInfo: SharedImpactInfo,
133139
return map
134140
}
135141

136-
/*
137-
For now, disable impact collection for specialization gene
138-
TODO Man
139-
*/
142+
140143
// override fun syncImpact(previous: Gene?, current: Gene) {
141144
// check(previous, current)
142145
// if (hierarchySpecializationImpactInfo == null){

0 commit comments

Comments
 (0)