Class BinarySet

java.lang.Object
java.util.BitSet
org.uma.jmetal.util.binarySet.BinarySet
All Implemented Interfaces:
Serializable, Cloneable

public class BinarySet extends BitSet
Class representing a bit set including a method to get the total number of bits
Author:
Antonio J. Nebro invalid input: '<'antonio@lcc.uma.es>
See Also:
  • Constructor Details

    • BinarySet

      public BinarySet(int numberOfBits)
      Constructor
      Parameters:
      numberOfBits - Number of bits of the binary string
  • Method Details

    • getBinarySetLength

      public int getBinarySetLength()
      Returns the total number of bits
      Returns:
      The number of bits of the binary set
    • toString

      public String toString()
      Overrides:
      toString in class BitSet