Class SimpleWeightedGeneList

java.lang.Object
com.hexagram2021.chromosomelib.registry.SimpleWeightedGeneList
All Implemented Interfaces:
IWeightedGeneList
Direct Known Subclasses:
StableWeightedGeneList

public class SimpleWeightedGeneList extends Object implements IWeightedGeneList
Simple implementation of weighted gene list.
  • Field Details

    • entries

      protected final com.google.common.collect.ImmutableList<IWeightedGeneList.Entry> entries
    • weightPrefixSums

      protected final it.unimi.dsi.fastutil.ints.IntList weightPrefixSums
    • totalWeight

      protected final int totalWeight
  • Constructor Details

    • SimpleWeightedGeneList

      protected SimpleWeightedGeneList(com.google.common.collect.ImmutableList<IWeightedGeneList.Entry> entries)
  • Method Details