import java.io.IOException;
import java.util.ArrayList;
+import java.util.BitSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
{
protected static final String CONTACT_PREDICTION = "CONTACT_PREDICTION";
- public PContactPredictionFile(String inFile, DataSourceType fileSourceType)
- throws IOException
+ public PContactPredictionFile(String inFile,
+ DataSourceType fileSourceType) throws IOException
{
super(inFile, fileSourceType);
if (cm == null)
{
- cm = new ContactMatrix(true) {
+ cm = new ContactMatrix(true)
+ {
@Override
public String getType()
{
return CONTACT_PREDICTION;
}
+
@Override
public int getHeight()
{
// TODO Auto-generated method stub
- // return maximum contact height
+ // return maximum contact height
return 0;
- }@Override
+ }
+
+ @Override
public int getWidth()
{
// TODO Auto-generated method stub
} catch (Exception x)
{
error = true;
- errormessage = "Couldn't process line: "
- + x.getLocalizedMessage() + "\n" + line;
+ errormessage = "Couldn't process line: " + x.getLocalizedMessage()
+ + "\n" + line;
return;
}
cm.addContact(left, right, (float) strength);
}
}
// TODO COMPLETE
- throw(new Error("Not Implemented yet."));
+ throw (new Error("Not Implemented yet."));
}
@Override