public class CrossoverUtils
extends java.lang.Object
Constructor and Description |
---|
CrossoverUtils() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.Integer> |
CountArchElements(Solution solution) |
int |
countConcerns(java.util.Set<Concern> elementConcern,
java.util.Set<Concern> parentConcern) |
int |
countElemInterfaceRelatedWithConcern(java.util.Set<Concern> elementConcern,
Interface parentInterfaceConcern) |
int |
countElemRelatedWithConcern(java.util.Set<Concern> elementConcern,
Class parentClassConcern) |
static CrossoverUtils |
getInstance() |
boolean |
removeArchitecturalElementsRealizingFeature(Concern feature,
Architecture offspring,
java.lang.String scope) |
void |
removeDuplicateElements(Architecture child) |
void |
restoreMissingElements2(Architecture father,
Solution childSolution) |
void |
SaveLogText(java.lang.String filename,
java.lang.String text) |
public static CrossoverUtils getInstance()
public boolean removeArchitecturalElementsRealizingFeature(Concern feature, Architecture offspring, java.lang.String scope)
public void restoreMissingElements2(Architecture father, Solution childSolution)
public void removeDuplicateElements(Architecture child)
public int countConcerns(java.util.Set<Concern> elementConcern, java.util.Set<Concern> parentConcern)
public int countElemRelatedWithConcern(java.util.Set<Concern> elementConcern, Class parentClassConcern)
public int countElemInterfaceRelatedWithConcern(java.util.Set<Concern> elementConcern, Interface parentInterfaceConcern)
public void SaveLogText(java.lang.String filename, java.lang.String text)
public java.util.ArrayList<java.lang.Integer> CountArchElements(Solution solution)