experiments
Class ExpLZ77
java.lang.Object
experiments.Exp
experiments.ExpLZ77
public class ExpLZ77
- extends Exp
This class represents an experiment in which LZ77 compression factors are computed. It contains a Genome variable called gen (inherited from Exp) andthree
other fields: INPUTS: int[] searchWinLen (a set of lengths used for the search window [lenIni,lenFin,lenStep]) and int[] aheadWinLen (a set of lengths used for the ahead window [lenIni,lenFin,lenStep])
OUTPUT: Vector LZ77compressions (a set of result objects of type LZ77v02, each representing the result obtained with one combination of searchWinLen-aheadWinLen)
In order to be launched an experiment must have set the genome, the field searchWinLen and the field aheadWinLen.
Fields inherited from class experiments.Exp |
gen |
Constructor Summary |
ExpLZ77()
Empty constructor |
ExpLZ77(java.io.File f)
Constructs an ExpLZ77 experiment having genome set to the genome sequence in file f (fasta format) |
ExpLZ77(java.io.File f,
int[] searchWinIn,
int[] aheadWinIn)
Generates an experiment for LZ77 compression factor given the genome file f |
ExpLZ77(Genome g,
int[] searchWinIn,
int[] aheadWinIn)
Generates an experiment for LZ77 compression factor given the genome g |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpLZ77
public ExpLZ77()
- Empty constructor
ExpLZ77
public ExpLZ77(java.io.File f)
- Constructs an ExpLZ77 experiment having genome set to the genome sequence in file f (fasta format)
ExpLZ77
public ExpLZ77(java.io.File f,
int[] searchWinIn,
int[] aheadWinIn)
- Generates an experiment for LZ77 compression factor given the genome file f
ExpLZ77
public ExpLZ77(Genome g,
int[] searchWinIn,
int[] aheadWinIn)
- Generates an experiment for LZ77 compression factor given the genome g
getSearchWinLen
public int[] getSearchWinLen()
- Returns:
- the searchWinLen
setSearchWinLen
public void setSearchWinLen(int[] searchWinLen)
- Parameters:
searchWinLen
- the searchWinLen to set
getAheadWinLen
public int[] getAheadWinLen()
- Returns:
- the aheadWinLen
setAheadWinLen
public void setAheadWinLen(int[] aheadWinLen)
- Parameters:
aheadWinLen
- the aheadWinLen to set
getLZ77compressions
public java.util.Vector<LZ77v02> getLZ77compressions()
- Returns:
- the LZ77compressions
setLZ77compressions
public void setLZ77compressions(java.util.Vector<LZ77v02> LZ77compressions)
- Parameters:
LZ77compressions
- the LZ77compressions to set