|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.archive.cauchy.Parameters
Parameters are the parameters used to encode/decode an object.
Field Summary | |
---|---|
protected int |
_Elen
Elen is the length of the encoding in words. |
protected int |
_Lfield
Lfield is the log of the length of the field. |
protected int |
_Mfragments
Mfragments is the number of message fragments IMPORTANT: The max of Mfragments and Rfragments is at most 2^{Lfield-1}. |
protected int |
_Mlen
Mlen is the length of the message in words. |
protected int |
_Mseglen
Mseglen is the message segment length. |
protected int |
_Nfragments
Nfragments is the total number of fragments sent. |
protected int |
_Niter
Niter is the number of messages sent. |
protected int |
_Nsegs
Nsegs is the number of segments in a fragment. |
protected int |
_Plen
Plen is the fragment length in words excluding the overhead for storing the index. |
protected int |
_Plentot
Plentot is the fragment length in words including the overhead for storing the index. |
protected int |
_Rfragments
Rfragments is the number of redundant fragments IMPORTANT: The max of Mfragments and Rfragments is at most 2^{Lfield-1}. |
protected int |
_SMultField
SMultField is the size of the multiplicative field (2^{Lfield}-1) == TableLength - 1. |
protected int |
_TableLength
TableLength is 2^{Lfield} |
Constructor Summary | |
---|---|
Parameters()
Empty CONSTRUCTOR Initializes Parameters such that Mfragments and Rfragments are zero. |
Method Summary | |
---|---|
int |
Elen()
Elen is the length of the encoding in words. |
int |
Lfield()
Lfield is the log of the length of the field. |
int |
Mfragments()
Mfragments is the number of message fragments |
int |
Mlen()
Mlen is the length of the message in words. |
int |
Mseglen()
Mseglen is the message segment length. |
int |
Nfragments()
Nfragments is the total number of fragments sent. |
int |
Niter()
Niter is the number of messages sent. |
int |
Nsegs()
Nsegs is the number of segments in a fragment. |
int |
Plen()
Plen is the fragment length in words excluding the overhead for storing the index. |
int |
Plentot()
Plentot is the fragment length in words including the overhead for storing the index. |
void |
resetParam()
|
int |
Rfragments()
Rfragments is the number of redundant fragments |
boolean |
setLfield(int n)
Lfield (length of field) must be (1 <= Lfield <= 16) otherwise function returns false and Lfield stays default. |
boolean |
setNsegs(int n)
Nsegs is the number of segments in each fragment in which to perform the Galois Field operations. |
int |
SMultField()
SMultField is the size of the multiplicative field (2^{Lfield}-1) == TableLength - 1. |
int |
TableLength()
TableLength is 2^{Lfield} |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int _Niter
protected int _Lfield
protected int _Nsegs
protected int _TableLength
protected int _SMultField
protected int _Plen
protected int _Plentot
protected int _Mfragments
protected int _Rfragments
protected int _Nfragments
protected int _Mseglen
protected int _Mlen
protected int _Elen
Constructor Detail |
public Parameters()
Method Detail |
public int Niter()
public int Lfield()
public int Nsegs()
public int TableLength()
public int SMultField()
public int Plen()
public int Plentot()
public int Mfragments()
public int Rfragments()
public int Nfragments()
public int Mseglen()
public int Mlen()
public int Elen()
public boolean setNsegs(int n)
n
- == number to set Nsegs to, n > 0.
public boolean setLfield(int n)
n
- == number to set Lfield to, 1 <= Lfield <= 16.
public void resetParam()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |