$darkmode
DENOPTIM
|
Definition of a graph editing task. More...
Classes | |
enum | EditTask |
Defined the kind of graph editing task. More... | |
Public Member Functions | |
Integer | getIncomingAPId () |
void | setAP (int apId) |
void | setIncomingGraph (DGraph incomingGraph) |
DGraph | getIncomingGraph () |
GraphEdit (EditTask task) | |
EditTask | getType () |
VertexQuery | getVertexQuery () |
void | setVertexQuery (VertexQuery vertexQuery) |
void | setEdgeQuery (EdgeQuery edgeQuery) |
EdgeQuery | getEdgeQuery () |
int | getIncomingBBId () |
BBType | getIncomingBBType () |
LinkedHashMap< Integer, Integer > | getAPMappig () |
Private Attributes | |
EditTask | task = null |
Type of editing task. More... | |
VertexQuery | vertexQuery = null |
Query identifying the vertex that is the center of our attention when performing the graph editing task. More... | |
EdgeQuery | edgeQuery = null |
Query identifying the edge that is the center of our attention when performing the graph editing task. More... | |
DGraph | incomingGraph = null |
The incoming graph for tasks that involve appending a subgraph onto another graph (when doing EditTask#REPLACECHILD ). More... | |
Integer | idAPOnIncomingGraph = null |
The identifier of the AttachmentPoint (AP) of the GraphEdit#incomingGraph when attaching such graph to the graph to edit. More... | |
int | incomingBBId = -1 |
Index of the building block to use as incoming vertex when performing EditTask#CHANGEVERTEX . More... | |
BBType | incomingBBTyp |
The type of the building block to use as incoming vertex when performing EditTask#CHANGEVERTEX . More... | |
LinkedHashMap< Integer, Integer > | incomingAPMap |
Mapping of AttachmentPoint s between the current (first entry) and the incoming vertices (second entry) to be enforced when performing EditTask#CHANGEVERTEX . More... | |
Definition of a graph editing task.
Definition at line 37 of file GraphEdit.java.
denoptim.utils.GraphEdit.GraphEdit | ( | EditTask | task | ) |
Definition at line 151 of file GraphEdit.java.
References denoptim.utils.GraphEdit.task.
LinkedHashMap< Integer, Integer > denoptim.utils.GraphEdit.getAPMappig | ( | ) |
Definition at line 207 of file GraphEdit.java.
References denoptim.utils.GraphEdit.incomingAPMap.
EdgeQuery denoptim.utils.GraphEdit.getEdgeQuery | ( | ) |
Definition at line 186 of file GraphEdit.java.
References denoptim.utils.GraphEdit.edgeQuery.
Integer denoptim.utils.GraphEdit.getIncomingAPId | ( | ) |
Definition at line 123 of file GraphEdit.java.
References denoptim.utils.GraphEdit.idAPOnIncomingGraph.
int denoptim.utils.GraphEdit.getIncomingBBId | ( | ) |
Definition at line 193 of file GraphEdit.java.
References denoptim.utils.GraphEdit.incomingBBId.
BBType denoptim.utils.GraphEdit.getIncomingBBType | ( | ) |
Definition at line 200 of file GraphEdit.java.
References denoptim.utils.GraphEdit.incomingBBTyp.
DGraph denoptim.utils.GraphEdit.getIncomingGraph | ( | ) |
Definition at line 144 of file GraphEdit.java.
References denoptim.utils.GraphEdit.incomingGraph.
EditTask denoptim.utils.GraphEdit.getType | ( | ) |
Definition at line 158 of file GraphEdit.java.
References denoptim.utils.GraphEdit.task.
Referenced by denoptim.graph.DGraph.editGraph().
VertexQuery denoptim.utils.GraphEdit.getVertexQuery | ( | ) |
Definition at line 165 of file GraphEdit.java.
References denoptim.utils.GraphEdit.vertexQuery.
void denoptim.utils.GraphEdit.setAP | ( | int | apId | ) |
Definition at line 130 of file GraphEdit.java.
void denoptim.utils.GraphEdit.setEdgeQuery | ( | EdgeQuery | edgeQuery | ) |
Definition at line 179 of file GraphEdit.java.
References denoptim.utils.GraphEdit.edgeQuery.
void denoptim.utils.GraphEdit.setIncomingGraph | ( | DGraph | incomingGraph | ) |
Definition at line 137 of file GraphEdit.java.
References denoptim.utils.GraphEdit.incomingGraph.
void denoptim.utils.GraphEdit.setVertexQuery | ( | VertexQuery | vertexQuery | ) |
Definition at line 172 of file GraphEdit.java.
References denoptim.utils.GraphEdit.vertexQuery.
|
private |
Query identifying the edge that is the center of our attention when performing the graph editing task.
Definition at line 58 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getEdgeQuery(), and denoptim.utils.GraphEdit.setEdgeQuery().
|
private |
The identifier of the AttachmentPoint
(AP) of the GraphEdit#incomingGraph
when attaching such graph to the graph to edit.
NB: this is the unique identifier, not any index on a list.
Definition at line 72 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getIncomingAPId().
|
private |
Mapping of AttachmentPoint
s between the current (first entry) and the incoming vertices (second entry) to be enforced when performing EditTask#CHANGEVERTEX
.
Values are indexes of APs in the respective AP lists.
Definition at line 96 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getAPMappig().
|
private |
Index of the building block to use as incoming vertex when performing EditTask#CHANGEVERTEX
.
The index refers to the position of the building blocks in a FragmentSpace
that is expected to be unambiguously identifiable (there should be only one available).
Definition at line 80 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getIncomingBBId().
|
private |
The type of the building block to use as incoming vertex when performing EditTask#CHANGEVERTEX
.
The building blocks in expected to be part of a FragmentSpace
that is expected to be unambiguously identifiable (there should be only one available).
Definition at line 88 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getIncomingBBType().
|
private |
The incoming graph for tasks that involve appending a subgraph onto another graph (when doing EditTask#REPLACECHILD
).
Definition at line 64 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getIncomingGraph(), and denoptim.utils.GraphEdit.setIncomingGraph().
|
private |
Type of editing task.
Definition at line 42 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getType(), and denoptim.utils.GraphEdit.GraphEdit().
|
private |
Query identifying the vertex that is the center of our attention when performing the graph editing task.
Depending on the type of task the vertex it may or may not be altered. For example, if the task is EditTask#DELETEVERTEX
, then the vertex in focus is the vertex that will be deleted.
Definition at line 52 of file GraphEdit.java.
Referenced by denoptim.utils.GraphEdit.getVertexQuery(), and denoptim.utils.GraphEdit.setVertexQuery().