Modifier and Type | Field and Description |
---|---|
java.lang.Double |
crossoverProbability_ |
static java.lang.String |
SCOPE_LEVEL |
static java.util.List<java.lang.Class<ArchitectureSolutionType>> |
VALID_TYPES |
Constructor and Description |
---|
PLAFeatureDrivenCrossover() |
Modifier and Type | Method and Description |
---|---|
void |
addAttributeRealizingFeature(Architecture child,
java.util.ArrayList<Attribute> elements,
Architecture parent) |
void |
addClassRealizingFeature(Architecture child,
java.util.ArrayList<Class> elements,
Architecture parent) |
void |
addElementsRealizingFeature(Architecture child,
java.util.ArrayList<Element> elements,
Architecture parent) |
void |
addInterfaceRealizingFeature(Architecture child,
java.util.ArrayList<Interface> elements,
Architecture parent) |
void |
addMethodRealizingFeature(Architecture child,
java.util.ArrayList<Method> elements,
Architecture parent) |
void |
addOperationRealizingFeature(Architecture child,
java.util.ArrayList<Method> elements,
Architecture parent) |
Solution[] |
doCrossover(Solution parent1,
Solution parent2) |
Solution[] |
execute(java.util.Map<java.lang.String,java.lang.Object> parameters,
Solution[] parents,
java.lang.String scope) |
java.util.ArrayList<Element> |
getAllElementsAssociatedWithFeature(Architecture architecture,
Concern feature) |
java.util.ArrayList<Attribute> |
getAttributeAssociatedWithFeature(Architecture architecture,
Concern feature) |
java.util.ArrayList<Class> |
getClassAssociatedWithFeature(Architecture architecture,
Concern feature) |
java.util.ArrayList<Interface> |
getInterfaceAssociatedWithFeature(Architecture architecture,
Concern feature) |
java.util.ArrayList<Method> |
getMethodAssociatedWithFeature(Architecture architecture,
Concern feature) |
java.util.ArrayList<Method> |
getOperationAssociatedWithFeature(Architecture architecture,
Concern feature) |
<T> T |
randomObject(java.util.List<T> allObjects) |
void |
removeAttributeRealizingFeature(Architecture child,
java.util.ArrayList<Attribute> elements) |
void |
removeClassRealizingFeature(Architecture child,
java.util.ArrayList<Class> elements) |
void |
removeElementsRealizingFeature(Architecture child,
java.util.ArrayList<Element> elements) |
void |
removeInterfaceRealizingFeature(Architecture child,
java.util.ArrayList<Interface> elements) |
void |
removeMethodRealizingFeature(Architecture child,
java.util.ArrayList<Method> elements) |
void |
removeOperationRealizingFeature(Architecture child,
java.util.ArrayList<Method> elements) |
public static java.util.List<java.lang.Class<ArchitectureSolutionType>> VALID_TYPES
public java.lang.Double crossoverProbability_
public static java.lang.String SCOPE_LEVEL
public Solution[] execute(java.util.Map<java.lang.String,java.lang.Object> parameters, Solution[] parents, java.lang.String scope)
public <T> T randomObject(java.util.List<T> allObjects) throws JMException
JMException
public java.util.ArrayList<Element> getAllElementsAssociatedWithFeature(Architecture architecture, Concern feature)
public java.util.ArrayList<Class> getClassAssociatedWithFeature(Architecture architecture, Concern feature)
public java.util.ArrayList<Attribute> getAttributeAssociatedWithFeature(Architecture architecture, Concern feature)
public java.util.ArrayList<Method> getMethodAssociatedWithFeature(Architecture architecture, Concern feature)
public java.util.ArrayList<Interface> getInterfaceAssociatedWithFeature(Architecture architecture, Concern feature)
public java.util.ArrayList<Method> getOperationAssociatedWithFeature(Architecture architecture, Concern feature)
public void removeElementsRealizingFeature(Architecture child, java.util.ArrayList<Element> elements)
public void removeClassRealizingFeature(Architecture child, java.util.ArrayList<Class> elements)
public void removeInterfaceRealizingFeature(Architecture child, java.util.ArrayList<Interface> elements)
public void removeMethodRealizingFeature(Architecture child, java.util.ArrayList<Method> elements)
public void removeAttributeRealizingFeature(Architecture child, java.util.ArrayList<Attribute> elements)
public void removeOperationRealizingFeature(Architecture child, java.util.ArrayList<Method> elements)
public void addElementsRealizingFeature(Architecture child, java.util.ArrayList<Element> elements, Architecture parent)
public void addClassRealizingFeature(Architecture child, java.util.ArrayList<Class> elements, Architecture parent)
public void addInterfaceRealizingFeature(Architecture child, java.util.ArrayList<Interface> elements, Architecture parent)
public void addMethodRealizingFeature(Architecture child, java.util.ArrayList<Method> elements, Architecture parent)
public void addAttributeRealizingFeature(Architecture child, java.util.ArrayList<Attribute> elements, Architecture parent)
public void addOperationRealizingFeature(Architecture child, java.util.ArrayList<Method> elements, Architecture parent)