AlphaAndNumeric class

Each term represents a run of Letters and Numbers

Inheritance

Constructors

AlphaAndNumeric({double termDecay = 0.1})
Construct AlphaAndNumeric

Properties

hashCode int
The hash code for this object.
no setterinherited
map Iterable<String> Function(String entry, bool caseSensitive, bool unicode)
Performs mapping
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
termDecay double
Exponential decay value for term proximality calculation.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
tpFromTermIdx(int termIdx) double
Weight terms inversely according to their proximality. Exponential decay of termIdx ensures that proximal terms are heavily weighted compared to distal.
inherited

Operators

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