JavaScript is disabled on your browser.
Skip navigation links
org.biojavax.ga.util

Class WeightedSet

  • All Implemented Interfaces:
    Serializable, Iterable, Collection, Set


    public class WeightedSet
    extends AbstractSet
    implements Serializable 

    Inspred by the BioJava Distribution objects the WeightedSet is a map from a Key to a Weight. Unlike Distributions the Keys do not have to be Symbols. In the GA package the WeightedMap is useful for sampling Organisms according to their fitness.

    When Symbols are added or their weights are set then the weights are internally normalized to 1

    Since:
    1.5
    Version:
    1.0
    Author:
    Mark Schreiber
    See Also:
    Serialized Form
Skip navigation links

Copyright © 2020 BioJava. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /