public class OPLA extends Problem
Modifier and Type | Field and Description |
---|---|
Architecture |
architecture_ |
static int |
contDiscardedSolutions_ |
static int |
countClass |
static int |
countInterface |
static int |
countPackage |
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, precision_, problemName_, solutionType_, upperLimit_, variableType_
Constructor and Description |
---|
OPLA() |
OPLA(java.lang.String xmiFilePath) |
OPLA(java.lang.String xmiFilePath,
ExperimentCommonConfigs oplaConfig) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Solution solution)
Evaluates a
Solution object. |
void |
evaluateConstraints(Solution solution)
Evaluates the overall constraint violation of a
Solution
object. |
Architecture |
getArchitecture_() |
static org.apache.log4j.Logger |
getLOGGER() |
java.util.List<java.lang.String> |
getSelectedMetrics() |
static long |
getSerialVersionUID() |
boolean |
isPatterns(Solution solution) |
SolutionSet |
removeDominadas(SolutionSet result) |
SolutionSet |
removeRepetidas(SolutionSet result) |
void |
setArchitecture_(Architecture architecture_) |
void |
setSelectedMetrics(java.util.List<java.lang.String> selectedMetrics) |
getLength, getLowerLimit, getName, getNumberOfBits, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, getPrecision, getPrecision, getSolutionType, getUpperLimit, setnumberOfObjectives, setNumberOfVariables, setPrecision, setSolutionType
public static int countPackage
public static int countInterface
public static int countClass
public static int contDiscardedSolutions_
public Architecture architecture_
public OPLA()
public OPLA(java.lang.String xmiFilePath) throws java.lang.Exception
java.lang.Exception
public OPLA(java.lang.String xmiFilePath, ExperimentCommonConfigs oplaConfig) throws java.lang.Exception
java.lang.Exception
public void evaluate(Solution solution)
Problem
Solution
object.public SolutionSet removeDominadas(SolutionSet result)
public SolutionSet removeRepetidas(SolutionSet result)
public void evaluateConstraints(Solution solution) throws JMException
Problem
Solution
object.evaluateConstraints
in class Problem
solution
- The Solution
to evaluate.JMException
public boolean isPatterns(Solution solution)
public static org.apache.log4j.Logger getLOGGER()
public static long getSerialVersionUID()
public Architecture getArchitecture_()
public void setArchitecture_(Architecture architecture_)
public java.util.List<java.lang.String> getSelectedMetrics()
public void setSelectedMetrics(java.util.List<java.lang.String> selectedMetrics)