19package denoptim.combinatorial;
22import java.util.ArrayList;
81 nextIds =
new ArrayList<Integer>();
144 File candFile =
new File(filename);
146 int res = candFile.compareTo(doneFile);
237 StringBuilder sb =
new StringBuilder();
238 sb.append(
"FSECheckPoint[");
239 sb.append(
"level=").append(
level);
240 sb.append(
", unqVrtId=").append(
unqVrtId);
241 sb.append(
", unqGraphId=").append(
unqGraphId);
242 sb.append(
", unqMolId=").append(
unqMolId);
243 sb.append(
", graphId=").append(
graphId);
244 sb.append(
", rootId=").append(
rootId);
245 sb.append(
", nextIds=").append(
nextIds);
246 return sb.toString();
Helper methods for the exploration of the fragment space.
static String getBaseNameOfStorageFile(int graphId)
Object collecting information needed to restart a FragSpaceExplorer job.
void setNextIds(ArrayList< Integer > nextIds)
Set the indexes that identify the combination of fragments next to the latest one that has been prope...
int unqGraphId
Unique graph index.
void setUnqGraphId(int val)
Set the restart value for the unique graph ID.
void setSafelyCompletedGraphId(int val)
Set the graphId of the safely completed graph.
long unqVrtId
Unique vertex index.
ArrayList< Integer > getNextIds()
int unqMolId
Unique molecule index.
boolean serFileAlreadyUsed(String filename)
ArrayList< Integer > nextIds
Set of indexes for the next iteration in combination of building blocks.
int getLatestSafelyCompletedGraphId()
void setLevel(int level)
Set the current level.
int rootId
ID of the root graph used to build this graph.
void setUnqMolId(int val)
Set the restart value for the unique molecule ID.
int graphId
ID of safely completed graph.
void setRootId(int val)
Set the graph ID of the root graph used to build this task.
void setUnqVrtId(long l)
Set the restart value for the unique vertex ID.