19package denoptim.programs.graphlisthandler;
22import java.util.HashSet;
24import java.util.logging.Level;
26import denoptim.graph.DGraph;
27import denoptim.task.ProgramTask;
63 Set<DGraph> matchedA =
new HashSet<DGraph>();
64 Set<DGraph> matchedB =
new HashSet<DGraph>();
74 glhParams.
getLogger().log(Level.INFO,
NL +
"-> Comparing " + i
78 glhParams.
getLogger().log(Level.INFO,
" SAME!");
83 glhParams.
getLogger().log(Level.INFO,
" Different");
88 glhParams.
getLogger().log(Level.INFO,
NL +
" #Matches in list A: "
91 glhParams.
getLogger().log(Level.INFO,
" #Matches in list B: "
95 glhParams.
getLogger().log(Level.INFO,
NL +
" ===> Un-matches in list A");
100 if (matchedA.contains(gA))
104 glhParams.
getLogger().log(Level.INFO,
NL +
"Entry in original list "
109 glhParams.
getLogger().log(Level.INFO,
NL +
" ===> Un-matches in list B");
114 if (matchedB.contains(gB))
118 glhParams.
getLogger().log(Level.INFO,
NL +
"Entry in original list"
Container for the list of vertices and the edges that connect them.
boolean isIsomorphicTo(DGraph other)
Checks if this graph is "DENOPTIM-isomorphic" to the other one given.
Logger startProgramSpecificLogger(String loggerIdentifier)
Starts a logger with the given name.
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.
Tool for handling lists of graphs.
GraphListsHandler(File configFile, File workDir)
Creates and configures the program task.
Parameters controlling execution of GraphEditor.
ArrayList< DGraph > inGraphsB
Input graphs: second list.
void processParameters()
Processes all parameters and initialize related objects.
void checkParameters()
Evaluate consistency of input parameters.
ArrayList< DGraph > inGraphsA
Input graphs: first list.
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.
final String NL
System-dependent line separator (newline)