19package denoptim.programs.grapheditor;
22import java.util.ArrayList;
25import denoptim.fragspace.FragmentSpaceParameters;
26import denoptim.graph.DGraph;
27import denoptim.io.DenoptimIO;
28import denoptim.programs.RunTimeParameters.ParametersType;
29import denoptim.task.ProgramTask;
76 List<DGraph> modGraphs =
new ArrayList<DGraph>();
84 modGraphs.add(modGraph);
Parameters defining the fragment space.
FragmentSpace getFragmentSpace()
Container for the list of vertices and the edges that connect them.
DGraph editGraph(ArrayList< GraphEdit > edits, boolean symmetry, FragmentSpace fragSpace, Logger logger)
Edit this graph according to a given list of edit tasks.
Utility methods for input/output.
static File writeGraphsToFile(File file, FileFormat format, List< DGraph > modGraphs, Logger logger, Randomizer randomizer)
Writes the graphs to file.
Logger startProgramSpecificLogger(String loggerIdentifier)
Starts a logger with the given name.
boolean containsParameters(ParametersType type)
RunTimeParameters getParameters(ParametersType type)
void readParameterFile(String infile)
Read the parameter TXT file line by line and interpret its content.
Logger getLogger()
Get the name of the program specific logger.
void printParameters()
Print all parameters.
Randomizer getRandomizer()
Returns the current program-specific randomizer.
Parameters controlling execution of GraphEditor.
void checkParameters()
Evaluate consistency of input parameters.
void processParameters()
Processes all parameters and initialize related objects.
ArrayList< DGraph > getInputGraphs()
FileFormat getOutFormat()
ArrayList< GraphEdit > getGraphEditTasks()
Tool for editing DGraphs.
GraphEditor(File configFile, File workDir)
Creates and configures the program task.
Task structure for any of the main programs in the denoptim project, such as genetic algorithm and co...
String loggerIdentifier
Identifier of this program's logger.
File configFilePathName
File containing configuration parameters for the program task.
File workDir
The file system location where we want to be placed when doing the work.
Identifier of the type of parameters.
FS_PARAMS
Parameters pertaining the definition of the fragment space.