public class TTable_sliced extends TTable implements Cloneable
| Constructor and Description |
|---|
TTable_sliced() |
TTable_sliced(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p) |
TTable_sliced(int e_voc_size) |
TTable_sliced(int e_voc_size,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p) |
| Modifier and Type | Method and Description |
|---|---|
void |
add_addr(long coord,
float delta) |
void |
add(int e,
int f,
float delta) |
void |
clear() |
Object |
clone() |
float |
get(int e,
int f)
public void plusEquals(int e, IndexedFloatArray fs) {
checkE(e);
_data[e].plusEquals(fs);
}
|
long |
getCoord(int e,
int f) |
int |
getMaxE() |
int |
getMaxF() |
void |
normalize() |
void |
prune(float threshold) |
void |
set(int e,
IndexedFloatArray fs) |
void |
set(int e,
int f,
float value) |
String |
toString() |
void |
write() |
public TTable_sliced()
public TTable_sliced(int e_voc_size)
public TTable_sliced(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p)
throws IOException
IOExceptionpublic TTable_sliced(int e_voc_size,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p)
public int getMaxF()
public int getMaxE()
public long getCoord(int e,
int f)
public void add_addr(long coord,
float delta)
public void set(int e,
IndexedFloatArray fs)
public float get(int e,
int f)
public void prune(float threshold)
public void write()
throws IOException
write in class TTableIOExceptionCopyright © 2015. All rights reserved.