public abstract class AllelicDiversityEvaluation extends Object implements org.jamesframework.core.problems.objectives.evaluations.Evaluation
Constructor and Description |
---|
AllelicDiversityEvaluation(AllelicDiversityEvaluation curEval,
Set<Integer> add,
Set<Integer> remove,
FrequencyGenotypeData data)
Infer a modified evaluation by removing and/or adding some items from/to the selection.
|
AllelicDiversityEvaluation(Collection<Integer> ids,
FrequencyGenotypeData data)
Initialize evaluation based on IDs of selected items.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
getAverageGenotype()
Get average genotype.
|
int |
getNumSelected() |
public AllelicDiversityEvaluation(Collection<Integer> ids, FrequencyGenotypeData data)
ids
- IDs of selected itemsdata
- genotype variant datapublic AllelicDiversityEvaluation(AllelicDiversityEvaluation curEval, Set<Integer> add, Set<Integer> remove, FrequencyGenotypeData data)
curEval
- current evaluationadd
- IDs of added itemsremove
- IDs of removed itemsdata
- genotype variant datapublic double[][] getAverageGenotype()
public int getNumSelected()
Copyright © 2017. All rights reserved.