|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprocope.methods.scores.bootstrap.BootstrapMCLClusterings
public class BootstrapMCLClusterings
Container for bootstrap MCL clustering
lists.
Contains methods to write and load these clustering collections to and from
the file system.
This class belongs to the helper classes needed for parallelizable bootstrap scores calculation.
Constructor Summary | |
---|---|
BootstrapMCLClusterings(ArrayList<BootstrapMCLClustering> clusterings)
Initialize clustering collection with a given list of clusterings. |
|
BootstrapMCLClusterings(String file)
Reads a clustering collection from a given file. |
|
BootstrapMCLClusterings(String file,
boolean noRealClusterings)
Reads a clustering collection from a given file. |
Method Summary | |
---|---|
List<BootstrapMCLClustering> |
getClusterings()
Returns the list of clusterings contained in this collection. |
Iterator<BootstrapMCLClustering> |
iterator()
Returns an iterator of the clusterings |
void |
writeToFile(String outfile)
Writes this clustering collection to a given file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BootstrapMCLClusterings(ArrayList<BootstrapMCLClustering> clusterings)
clusterings
- clusterings for this collectionpublic BootstrapMCLClusterings(String file) throws IOException
file
- file from which the clusterings will be read
IOException
- if the file could not be read
ProCopeException
- if the file format is invalidpublic BootstrapMCLClusterings(String file, boolean noRealClusterings) throws IOException
file
- file from which the clusterings will be readnoRealClusterings
- if true
then only the efficiencies
and inflation coefficients but no actual
clusterings will be loaded from the file
IOException
- if the file could not be read
ProCopeException
- if the file format is invalidMethod Detail |
---|
public List<BootstrapMCLClustering> getClusterings()
public Iterator<BootstrapMCLClustering> iterator()
iterator
in interface Iterable<BootstrapMCLClustering>
public void writeToFile(String outfile) throws IOException
outfile
- path of the file the clusterings will be written to
IOException
- if the file could not be writtenBootstrapMCLClusterings(String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |