19package denoptim.utils;
21import java.util.LinkedHashMap;
24import denoptim.fragspace.FragmentSpace;
25import denoptim.graph.AttachmentPoint;
26import denoptim.graph.AttachmentPointQuery;
27import denoptim.graph.DGraph;
28import denoptim.graph.EdgeQuery;
29import denoptim.graph.Vertex.BBType;
30import denoptim.graph.VertexQuery;
170 this.idAPOnIncomingGraph = apId;
Container for the list of vertices and the edges that connect them.
A query for edges: a list of properties that target edges should possess in order to match this query...
Query for searching vertices.
Definition of a graph editing task.
DGraph getIncomingGraph()
LinkedHashMap< Integer, Integer > incomingAPMap
Mapping of AttachmentPoints between the current (first entry) and the incoming vertices (second entry...
BBType incomingBBTyp
The type of the building block to use as incoming vertex when performing EditTask#CHANGEVERTEX.
DGraph incomingGraph
The incoming graph for tasks that involve appending a subgraph onto another graph (when doing EditTas...
void setIncomingGraphPathname(String incomingGraphPathname)
List< AttachmentPointQuery > apQueriesOnTargetGraph
List of queries identifying an ordered list of AttachmentPoints that may be used to identify a subgra...
VertexQuery vertexQuery
Query identifying the vertex that is the center of our attention when performing the graph editing ta...
List< AttachmentPointQuery > getTargetGraphAPQueries()
Integer idAPOnIncomingGraph
The identifier of the AttachmentPoint (AP) of the GraphEdit#incomingGraph when attaching such graph t...
Integer getIncomingAPId()
EditTask task
Type of editing task.
EdgeQuery edgeQuery
Query identifying the edge that is the center of our attention when performing the graph editing task...
String getIncomingGraphPathname()
List< AttachmentPointQuery > getIncomingGraphAPQueries()
void setMaxOutputGraphs(int maxOutputGraphs)
String incomingGraphPathname
The pathname to a file where to read the incoming graph from.
void setEdgeQuery(EdgeQuery edgeQuery)
LinkedHashMap< Integer, Integer > getAPMappig()
void setVertexQuery(VertexQuery vertexQuery)
int maxOutputGraphs
Defined the max number of output graphs resulting from application of the graph editing task.
VertexQuery getVertexQuery()
int incomingBBId
Index of the building block to use as incoming vertex when performing EditTask#CHANGEVERTEX.
List< AttachmentPointQuery > apQueriesOnIncomingGraph
List of queries identifying an ordered list of AttachmentPoints that may be used to identify a subgra...
BBType getIncomingBBType()
void setIncomingGraph(DGraph incomingGraph)
The type of building block.
Defined the kind of graph editing task.
DELETEVERTEX
Removes any vertex matching the vertex query.
CHANGEVERTEX
Changes any vertex matching the vertex query with the vertex given as input and using the given AP ma...
REPLACECHILD
Replaces any child (or tree of children) of any vertex matching the vertex query with a given incomin...
DELETEBRANCH
Removes any branch starting from any matching vertex.