Class DisjunctFitnessFunctions
java.lang.Object
com.knezevic.edaf.v3.problems.discrete.disjunct.DisjunctFitnessFunctions
Exact fitness functions defined in the paper:
fit1(A) = sum_{S in S_t} delta(S)fit2(A) = |{S in S_t : delta(S) > f}|fit3(A) = fit1(A) / (C(N,t) * (N-t))
-
Method Summary
Modifier and TypeMethodDescriptionstatic longfit1(DisjunctMatrix matrix, int t) Exactfit1for t-disjunct objective.static doublefit1Sampled(DisjunctMatrix matrix, int t, long sampleSize, long seed) Sampled estimator of fit1:E[delta(S)] * C(N,t)using uniformly sampled subsets.static longfit2(DisjunctMatrix matrix, int t, int f) Exactfit2for (t,f)-resolvable objective.static doublefit2Sampled(DisjunctMatrix matrix, int t, int f, long sampleSize, long seed) Sampled estimator of fit2:P(delta(S) > f) * C(N,t)using uniformly sampled subsets.static doublefit3(DisjunctMatrix matrix, int t) Exactfit3for (t,epsilon)-disjunct objective.static doublefit3Sampled(DisjunctMatrix matrix, int t, long sampleSize, long seed) Sampled estimator of fit3:E[delta(S)/(N-t)]using uniformly sampled subsets.
-
Method Details
-
fit1
Exactfit1for t-disjunct objective. -
fit2
Exactfit2for (t,f)-resolvable objective. -
fit3
Exactfit3for (t,epsilon)-disjunct objective. -
fit1Sampled
Sampled estimator of fit1:E[delta(S)] * C(N,t)using uniformly sampled subsets. -
fit2Sampled
Sampled estimator of fit2:P(delta(S) > f) * C(N,t)using uniformly sampled subsets. -
fit3Sampled
Sampled estimator of fit3:E[delta(S)/(N-t)]using uniformly sampled subsets.
-