Class AlignmentResult
- java.lang.Object
- 
- org.biojava.nbio.structure.align.pairwise.AlignmentResult
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class AlignmentResult extends Object implements Serializable A class to track the alignment results in a flat file- Author:
- andreas
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description AlignmentResult()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlignmentResultdeserialize(File output)AlternativeAlignment[]getAlignments()longgetCalculationTime()StringgetChain1()StringgetChain2()longgetIoTime()intgetLength1()intgetLength2()StringgetPdb1()StringgetPdb2()voidserialize(File output)voidsetAlignments(AlternativeAlignment[] alignments)we only keep the first alternative...voidsetCalculationTime(long calculationTime)voidsetChain1(String chain1)voidsetChain2(String chain2)voidsetIoTime(long ioTime)voidsetLength1(int length1)voidsetLength2(int length2)voidsetPdb1(String pdb1)voidsetPdb2(String pdb2)StringtoString()
 
- 
- 
- 
Constructor Detail- 
AlignmentResultpublic AlignmentResult() 
 
- 
 - 
Method Detail- 
getAlignmentspublic AlternativeAlignment[] getAlignments() 
 - 
setAlignmentspublic void setAlignments(AlternativeAlignment[] alignments) we only keep the first alternative...- Parameters:
- alignments-
 
 - 
getLength1public int getLength1() 
 - 
setLength1public void setLength1(int length1) 
 - 
getLength2public int getLength2() 
 - 
setLength2public void setLength2(int length2) 
 - 
getCalculationTimepublic long getCalculationTime() 
 - 
setCalculationTimepublic void setCalculationTime(long calculationTime) 
 - 
getIoTimepublic long getIoTime() 
 - 
setIoTimepublic void setIoTime(long ioTime) 
 - 
serializepublic void serialize(File output) throws FileNotFoundException, IOException - Throws:
- FileNotFoundException
- IOException
 
 - 
deserializepublic static AlignmentResult deserialize(File output) throws FileNotFoundException, IOException, ClassNotFoundException 
 
- 
 
-