|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object softparsmap.Mutation
This class contains the result from inferring gene duplications and loss.
Constructor Summary | |
Mutation(int dup,
int loss)
Creating a mutation given duplications and loss. |
Method Summary | |
void |
addDuplication(int dup)
Adds duplications to this mutation. |
void |
addLoss(int loss)
Adds loss to this mutation. |
int |
getDuplication()
Returns number of duplications. |
int |
getLoss()
Returns number of loss. |
boolean |
isSame(Mutation mut)
Returns true if the given mutation is the same as this. |
boolean |
isWorse(Mutation mutate)
Returns true if this is worse then the given mutation. |
java.lang.String |
toString()
Returns a string that contains the mutation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Mutation(int dup, int loss)
dup
- is the number of duplicationloss
- is the number of lossMethod Detail |
public int getDuplication()
public int getLoss()
public boolean isSame(Mutation mut)
mut
- is a mutation
public boolean isWorse(Mutation mutate)
mutate
- is the given mutation
public void addDuplication(int dup)
dup
- is the number of duplications that will be added.public void addLoss(int loss)
loss
- is the number of loss that is added.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |