public class ECS
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
m_groupCount |
private int[] |
m_groups |
private int[] |
m_lookup |
Constructor and Description |
---|
ECS(int maxSymbol) |
Modifier and Type | Method and Description |
---|---|
void |
add(boolean[] ccl) |
void |
add(int ch) |
void |
add(short[] error)
All non-zero values are treated as a group.
|
private void |
compute()
Not a particularly efficient method to compute equivalent classes.
|
int |
getGroup(int group) |
int |
getGroupCount() |
int[] |
getGroups() |
int[] |
getLookup() |
java.lang.String |
toString() |
private int m_groupCount
private final int[] m_groups
private int[] m_lookup
public int getGroupCount()
public int[] getGroups()
public int getGroup(int group)
public int[] getLookup()
public void add(int ch)
public void add(boolean[] ccl)
public void add(short[] error)
error
- an error vectorprivate void compute()
public java.lang.String toString()
toString
in class java.lang.Object