MinimalEncoder class

Encodes minimally using Divide-And-Conquer with Memoization

Constructors

MinimalEncoder()

Properties

hashCode int
The hash code for this object.
no setterinherited
memoizedCost List<List<int>>?
getter/setter pair
minPath List<List<Latch>>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canEncode(String contents, Charset charset, int position) bool
encode(String contents) List<bool>
encodeCharset(String contents, Charset charset, int position) int
Encode the string starting at position position starting with the character set charset
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

A List<int>
final
B List<int>
final
codeShift int
final

Static Methods

addPattern(List<List<int>> patterns, int patternIndex, List<int> checkSum, List<int> checkWeight, int position) → void
isDigit(int c) bool