Package org.moeaframework.analysis
Class FeasibilityRatio
java.lang.Object
org.moeaframework.analysis.FeasibilityRatio
Computes the feasibility ratio of a given problem, which takes a random sampling of solutions and computes the
percentage that are feasible.
References:
- R. Tanabe and A. Oyama. "A note on constrained multi-objective optimization benchmark problems." 2017 IEEE Congress on Evolutionary Computation (CEC), Donostia, Spain, 2017, pp. 1127-1134.
-
Constructor Summary
ConstructorDescriptionFeasibilityRatio
(int samples) Constructs the class to compute the feasibility ratio. -
Method Summary
-
Constructor Details
-
FeasibilityRatio
public FeasibilityRatio(int samples) Constructs the class to compute the feasibility ratio.- Parameters:
samples
- the number of random samples
-
-
Method Details
-
calculate
Calculates the feasibility ratio of the given problem.- Parameters:
problem
- the problem- Returns:
- the feasibility ratio
-
calculate
Calculates the feasibility ratio of the given problem.- Parameters:
problem
- the problemsamples
- the number of random samples- Returns:
- the feasibility ratio
-