public class CountedSubsets extends Object
SegmentationDefinition class and word counts for a word set.| Modifier and Type | Field and Description |
|---|---|
int[][] |
conditions
Defines for every W' in
segments an array of W* subsets. |
int[] |
counts
The counts of the single subsets.
|
int[] |
segments
Defines the W' of the subset pairs
|
| Constructor and Description |
|---|
CountedSubsets(int[] segments,
int[][] conditions,
int[] counts) |
| Modifier and Type | Method and Description |
|---|---|
int[][] |
getConditions() |
int[] |
getCounts() |
int[] |
getSegments() |
void |
setConditions(int[][] conditions) |
void |
setCounts(int[] counts) |
void |
setSegments(int[] segments) |
public int[] segments
public int[][] conditions
segments an array of W* subsets.public int[] counts
counts[0] is always 0counts[1] contains the count for word #1counts[2] contains the count for word #2counts[3] contains the count for a subset comprising
word #1 and word #2public CountedSubsets(int[] segments,
int[][] conditions,
int[] counts)
public int[] getSegments()
public void setSegments(int[] segments)
segments - the segments to setpublic int[][] getConditions()
public void setConditions(int[][] conditions)
conditions - the conditions to setpublic int[] getCounts()
public void setCounts(int[] counts)
counts - the counts to setCopyright © 2014–2016. All rights reserved.