19package denoptim.fragmenter;
22import java.io.IOException;
23import java.util.ArrayList;
26import denoptim.graph.Vertex;
27import denoptim.graph.Vertex.BBType;
28import denoptim.io.DenoptimIO;
29import denoptim.programs.fragmenter.FragmenterParameters;
30import denoptim.task.ParallelAsynchronousTaskExecutor;
75 .getFilesCollectingIsomorphicFamilyChampions(
new File(
78 List<Vertex> oldChampions;
85 throw new Error(
"Unable to extract representative "
86 +
"conformations. Problems opening file '"
87 + mwSlotFile +
"'.", e);
89 for (
Vertex oldChampion : oldChampions)
95 }
catch (SecurityException | IOException e)
97 throw new Error(
"Unable to start fragmentation thread.",e);
122 List<String> pathnames =
new ArrayList<String>();
123 results.stream().forEach(o -> pathnames.add((String) o));
Fragments a list of chemical systems by running parallel fragmentation tasks.
A vertex is a data structure that has an identity and holds a list of AttachmentPoints.
Utility methods for input/output.
static ArrayList< Vertex > readVertexes(File file, Vertex.BBType bbt)
Reads Vertexes from any file that can contain such items.
String getWorkDirectory()
Gets the pathname to the working directory.
Logger getLogger()
Get the name of the program specific logger.
Parameters controlling execution of the fragmenter.
Runs tasks parallel in asynchronous fashion.
void submitTask(Task task, String logFilePathname)
final List< Object > results
List of object returned by completed tasks.
The type of building block.