Class DmParams


  • public class DmParams
    extends java.lang.Object
    Class that contains the parameters for a DM code. It contains all the information needed to create one data matrix entry
    • Constructor Summary

      Constructors 
      Constructor Description
      DmParams​(int height, int width, int heightSection, int widthSection, int dataSize, int dataBlock, int errorBlock)
      Creates a DM code parameter block
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • height

        public int height
      • width

        public int width
      • heightSection

        public int heightSection
      • widthSection

        public int widthSection
      • dataSize

        public int dataSize
      • dataBlock

        public int dataBlock
      • errorBlock

        public int errorBlock
    • Constructor Detail

      • DmParams

        public DmParams​(int height,
                        int width,
                        int heightSection,
                        int widthSection,
                        int dataSize,
                        int dataBlock,
                        int errorBlock)
        Creates a DM code parameter block
        Parameters:
        height - total height
        width - total width
        heightSection - height of a single section
        widthSection - width of a single section
        dataSize - size of the data
        dataBlock - size of a data-block
        errorBlock - size of a error-correction block