EccConvolution140

Inheritance: java.lang.Object, com.aspose.barcode.common.constants.datamatrixconstants.eccconvolution.EccMathStrategy

All Implemented Interfaces: com.aspose.barcode.common.constants.datamatrixconstants.eccconvolution.IConvolutionStrategy, com.aspose.barcode.common.constants.datamatrixconstants.eccconvolution.IConvolutionFano

public class EccConvolution140 extends EccMathStrategy implements IConvolutionStrategy, IConvolutionFano

Class for the convolution algorithm ECC 140

Constructors

Constructor Description
EccConvolution140() Initializes a new instance of the EccConvolution140 class.

Methods

Method Description
addPostfix(List bytes) Adds 0 in the end of bytes to make length of List = x^2, where x is the odd from 7 to 47
addPrefix(List bytes) Adds \u0430 prefix corresponding CreatePrefix
algorithm(List inBytes) Implements convolutional code 4-1-13 and adds prefix and postfix
blockLength() The length of convoluted block for ECC 140, is equal number o summators
continueConvolution(List inBytes)
createPrefix() Create 19 bits corresponding ECC 150
deltaFactor() Returns constant for the Fano algorithm of ECC 140
doConvolution(List inBytes) The convolution algorithm
doConvolutionEcc(List inBytes)
equals(Object arg0)
getClass()
getListGen() Gets a list of lists of generation sequences for different summators
getMemLength() Gets a number of memory bytes in 1(largest) memory sequence +1
getMemNum() Gets the count of memory sequences(number of input bytes in 1 step)
getSumNum() Gets a number of summators (output bytes in 1 step)
hashCode()
inBlockLength() The length of input block for ECC 140
notify()
notifyAll()
penaltyFactor() Returns constant for the Fano algorithm of ECC 140
possibleBlocks() Blocks for building decoded sequence by the algorithm Fano of ECC 140
setMemLength(int value) Sets a number of memory bytes in 1(largest) memory sequence +1
setMemNum(int value) Sets the count of memory sequences(number of input bytes in 1 step)
setSumNum(int value) Sets a number of summators (output bytes in 1 step)
stoppageConvolution(List inBytes, List outBytes)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

EccConvolution140()

public EccConvolution140()

Initializes a new instance of the EccConvolution140 class.

addPostfix(List bytes)

public void addPostfix(List<Byte> bytes)

Adds 0 in the end of bytes to make length of List = x^2, where x is the odd from 7 to 47

Parameters:

Parameter Type Description
bytes java.util.List<java.lang.Byte> input bytes

addPrefix(List bytes)

public void addPrefix(List<Byte> bytes)

Adds \u0430 prefix corresponding CreatePrefix

Parameters:

Parameter Type Description
bytes java.util.List<java.lang.Byte> input list of binary data

algorithm(List inBytes)

public List<Byte> algorithm(List<Byte> inBytes)

Implements convolutional code 4-1-13 and adds prefix and postfix

Parameters:

Parameter Type Description
inBytes java.util.List<java.lang.Byte> input bytes

Returns: List - Encoded bytes

blockLength()

public int blockLength()

The length of convoluted block for ECC 140, is equal number o summators

Returns: int - The length of convoluted bytes for ECC 140

continueConvolution(List inBytes)

public List<Byte> continueConvolution(List<Byte> inBytes)

This methos continue convolution algorithm from the last stoppage

Parameters:

Parameter Type Description
inBytes java.util.List<java.lang.Byte>

Returns: List

createPrefix()

public List<Byte> createPrefix()

Create 19 bits corresponding ECC 150

Returns: List - a prefix

deltaFactor()

public int deltaFactor()

Returns constant for the Fano algorithm of ECC 140

Returns: int - Constant Delta for the Fano algorithm of ECC 050

doConvolution(List inBytes)

public List<Byte> doConvolution(List<Byte> inBytes)

The convolution algorithm

Parameters:

Parameter Type Description
inBytes java.util.List<java.lang.Byte> input unprotected bytes

Returns: List - convoluted bytes

doConvolutionEcc(List inBytes)

public List<Byte> doConvolutionEcc(List<Byte> inBytes)

Parameters:

Parameter Type Description
inBytes java.util.List<java.lang.Byte>

Returns: List

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getListGen()

public List<List<List<Byte>>> getListGen()

Gets a list of lists of generation sequences for different summators

Returns: List

getMemLength()

public int getMemLength()

Gets a number of memory bytes in 1(largest) memory sequence +1

Returns: int

getMemNum()

public int getMemNum()

Gets the count of memory sequences(number of input bytes in 1 step)

Returns: int

getSumNum()

public int getSumNum()

Gets a number of summators (output bytes in 1 step)

Returns: int

hashCode()

public native int hashCode()

Returns: int

inBlockLength()

public int inBlockLength()

The length of input block for ECC 140

Returns: int - The length of input block

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

penaltyFactor()

public int penaltyFactor()

Returns constant for the Fano algorithm of ECC 140

Returns: int - constant for the Fano algorithm of ECC 140

possibleBlocks()

public List<List<Byte>> possibleBlocks()

Blocks for building decoded sequence by the algorithm Fano of ECC 140

Returns: List - The list of possible blocks

setMemLength(int value)

public void setMemLength(int value)

Sets a number of memory bytes in 1(largest) memory sequence +1

Parameters:

Parameter Type Description
value int

setMemNum(int value)

public void setMemNum(int value)

Sets the count of memory sequences(number of input bytes in 1 step)

Parameters:

Parameter Type Description
value int

setSumNum(int value)

public void setSumNum(int value)

Sets a number of summators (output bytes in 1 step)

Parameters:

Parameter Type Description
value int

stoppageConvolution(List inBytes, List outBytes)

public void stoppageConvolution(List<Byte> inBytes, List<Byte> outBytes)

Marks a stoppage point

Parameters:

Parameter Type Description
inBytes java.util.List<java.lang.Byte>
outBytes java.util.List<java.lang.Byte>

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int