19package denoptim.graph;
21import denoptim.graph.Edge.BondType;
62 this.srcVertexQuery =
null;
63 this.trgVertexQuery =
null;
64 this.srcAPQuery =
null;
65 this.trgAPQuery =
null;
Query for searching AttachmentPoints.
boolean matches(AttachmentPoint ap)
Tests whether the given attachment point satisfies all non-null criteria in this query.
This class represents the edge between two vertices.
AttachmentPoint getTrgAP()
AttachmentPoint getSrcAP()
A query for edges: a list of properties that target edges should possess in order to match this query...
VertexQuery trgVertexQuery
Query for trg vertex.
EdgeQuery()
Constructor from empty queries.
boolean matches(Edge e)
Tests whether the given edge satisfies this query.
AttachmentPointQuery srcAPQuery
Query for src AP.
VertexQuery srcVertexQuery
Query for src vertex.
EdgeQuery(VertexQuery srcVertexQuery, VertexQuery trgVertexQuery, AttachmentPointQuery srcAPQuery, AttachmentPointQuery trgAPQuery, BondType bondType)
Constructor from nested vertex and attachment point queries.
BondType bondType
The bond type associated with the connection between the fragments.
AttachmentPointQuery trgAPQuery
Query for trg AP.
Query for searching vertices.
boolean matches(Vertex v)
Tests whether the given vertex satisfies all non-null criteria in this query.
Possible chemical bond types an edge can represent.