coreEngine.Calibration.Operators

## Class PreservePctRand

- java.lang.Object
- - coreEngine.Calibration.Operators.PreserveHelper
  - - coreEngine.Calibration.Operators.PreservePctRand

-     public class PreservePctRand
      extends PreserveHelper

  Author:
    jltrask

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private float` | `preservePct`

    - ### Fields inherited from class coreEngine.Calibration.Operators.PreserveHelper

      `numPreserved`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PreservePctRand(float preservePct)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `preserve(Organism[] pop, java.util.List<Result> results, int startIndex)`

    - ### Methods inherited from class coreEngine.Calibration.Operators.PreserveHelper

      `getNumberPreserved`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### preservePct

          private final float preservePct

  - ### Constructor Detail

    - #### PreservePctRand

          public PreservePctRand(float preservePct)

  - ### Method Detail

    - #### preserve

          public void preserve(Organism[] pop,
                               java.util.List<Result> results,
                               int startIndex)

      Specified by:
        `preserve` in class `PreserveHelper`