$darkmode
DENOPTIM
denoptim.graph.VertexQuery Class Reference

Query for searching vertices. More...

Collaboration diagram for denoptim.graph.VertexQuery:
[legend]

Public Member Functions

 VertexQuery (Long vID, VertexType vType, BBType bbType, Integer bbID, Integer level, EdgeQuery eIn)
 Constructor from vertex and edge queries. More...
 
 VertexQuery (Long vID, VertexType vType, BBType bbType, Integer bbID, Integer level, EdgeQuery eIn, EdgeQuery eOut)
 Constructor from vertex and edge queries. More...
 
VertexType getVertexTypeQuery ()
 
Long getVertexIDQuery ()
 
BBType getVertexBBTypeQuery ()
 
Integer getVertexBBIDQuery ()
 
Integer getVertexLevelQuery ()
 
EdgeQuery getInEdgeQuery ()
 
EdgeQuery getOutEdgeQuery ()
 

Private Attributes

Long vertexId = null
 Query on unique identifier or null. More...
 
Integer buildingBlockId = null
 Query on building block in the library of building blocks, or null. More...
 
BBType buildingBlockType = null
 Query on building block type or null. More...
 
VertexType vertexType = null
 Query on type of vertex. More...
 
Integer level = null
 Query about the level of the vertex. More...
 
EdgeQuery incomingEdgeQuery
 Query on the vertex' incoming connections (i.e., vertex id the target) More...
 
EdgeQuery outgoingEdgeQuery
 Query on the vertex' out coming connections (i.e., vertex id the source) More...
 

Detailed Description

Query for searching vertices.

Author
Marco Foscato

Definition at line 29 of file VertexQuery.java.

Constructor & Destructor Documentation

◆ VertexQuery() [1/2]

denoptim.graph.VertexQuery.VertexQuery ( Long  vID,
VertexType  vType,
BBType  bbType,
Integer  bbID,
Integer  level,
EdgeQuery  eIn 
)

Constructor from vertex and edge queries.

Parameters
vIDthe query on vertex's unique identifier, or null.
vTypethe query on vertex's type (i.e., EmptyVertex, Fragment, or Template), or null.
bbTypethe query on vertex's building block type, or null,
bbIDthe query on vertex's building block ID in the library of hit type, or null.
levelthe level of the vertices to match, or null. Remember level is an integer that starts from -1.
eInthe edge query (filters candidates based on the connection of a candidate with the rest of the graph) for incoming connections where the candidate vertex if the target.

Definition at line 83 of file VertexQuery.java.

References denoptim.graph.VertexQuery.level.

◆ VertexQuery() [2/2]

denoptim.graph.VertexQuery.VertexQuery ( Long  vID,
VertexType  vType,
BBType  bbType,
Integer  bbID,
Integer  level,
EdgeQuery  eIn,
EdgeQuery  eOut 
)

Constructor from vertex and edge queries.

Parameters
eInthe edge query (filters candidates based on the connection of a candidate with the rest of the graph) for incoming connections where the candidate vertex if the target.
vIDthe query on vertex's unique identifier, or null.
vTypethe query on vertex's type (i.e., EmptyVertex, Fragment, or Template), or null.
bbTypethe query on vertex's building block type, or null,
bbIDthe query on vertex's building block ID in the library of hit type, or null.
eOutthe edge query (filters candidates based on the connection of a candidate with the rest of the graph) for incoming connections where the candidate vertex if the source.

Definition at line 113 of file VertexQuery.java.

References denoptim.graph.VertexQuery.level.

Member Function Documentation

◆ getInEdgeQuery()

EdgeQuery denoptim.graph.VertexQuery.getInEdgeQuery ( )

Definition at line 157 of file VertexQuery.java.

References denoptim.graph.VertexQuery.incomingEdgeQuery.

Referenced by denoptim.graph.DGraph.findVertices().

Here is the caller graph for this function:

◆ getOutEdgeQuery()

EdgeQuery denoptim.graph.VertexQuery.getOutEdgeQuery ( )

Definition at line 164 of file VertexQuery.java.

References denoptim.graph.VertexQuery.outgoingEdgeQuery.

Referenced by denoptim.graph.DGraph.findVertices().

Here is the caller graph for this function:

◆ getVertexBBIDQuery()

Integer denoptim.graph.VertexQuery.getVertexBBIDQuery ( )

Definition at line 143 of file VertexQuery.java.

References denoptim.graph.VertexQuery.buildingBlockId.

Referenced by denoptim.graph.DGraph.findVertices().

Here is the caller graph for this function:

◆ getVertexBBTypeQuery()

BBType denoptim.graph.VertexQuery.getVertexBBTypeQuery ( )

Definition at line 136 of file VertexQuery.java.

References denoptim.graph.VertexQuery.buildingBlockType.

Referenced by denoptim.graph.DGraph.findVertices().

Here is the caller graph for this function:

◆ getVertexIDQuery()

Long denoptim.graph.VertexQuery.getVertexIDQuery ( )

Definition at line 129 of file VertexQuery.java.

References denoptim.graph.VertexQuery.vertexId.

Referenced by denoptim.graph.DGraph.findVertices().

Here is the caller graph for this function:

◆ getVertexLevelQuery()

Integer denoptim.graph.VertexQuery.getVertexLevelQuery ( )

Definition at line 150 of file VertexQuery.java.

References denoptim.graph.VertexQuery.level.

Referenced by denoptim.graph.DGraph.findVertices().

Here is the caller graph for this function:

◆ getVertexTypeQuery()

VertexType denoptim.graph.VertexQuery.getVertexTypeQuery ( )

Definition at line 122 of file VertexQuery.java.

References denoptim.graph.VertexQuery.vertexType.

Referenced by denoptim.graph.DGraph.findVertices().

Here is the caller graph for this function:

Member Data Documentation

◆ buildingBlockId

Integer denoptim.graph.VertexQuery.buildingBlockId = null
private

Query on building block in the library of building blocks, or null.

Definition at line 39 of file VertexQuery.java.

Referenced by denoptim.graph.VertexQuery.getVertexBBIDQuery().

◆ buildingBlockType

BBType denoptim.graph.VertexQuery.buildingBlockType = null
private

Query on building block type or null.

Definition at line 44 of file VertexQuery.java.

Referenced by denoptim.graph.VertexQuery.getVertexBBTypeQuery().

◆ incomingEdgeQuery

EdgeQuery denoptim.graph.VertexQuery.incomingEdgeQuery
private

Query on the vertex' incoming connections (i.e., vertex id the target)

Definition at line 59 of file VertexQuery.java.

Referenced by denoptim.graph.VertexQuery.getInEdgeQuery().

◆ level

Integer denoptim.graph.VertexQuery.level = null
private

Query about the level of the vertex.

Definition at line 54 of file VertexQuery.java.

Referenced by denoptim.graph.VertexQuery.getVertexLevelQuery(), and denoptim.graph.VertexQuery.VertexQuery().

◆ outgoingEdgeQuery

EdgeQuery denoptim.graph.VertexQuery.outgoingEdgeQuery
private

Query on the vertex' out coming connections (i.e., vertex id the source)

Definition at line 64 of file VertexQuery.java.

Referenced by denoptim.graph.VertexQuery.getOutEdgeQuery().

◆ vertexId

Long denoptim.graph.VertexQuery.vertexId = null
private

Query on unique identifier or null.

Definition at line 34 of file VertexQuery.java.

Referenced by denoptim.graph.VertexQuery.getVertexIDQuery().

◆ vertexType

VertexType denoptim.graph.VertexQuery.vertexType = null
private

Query on type of vertex.

Definition at line 49 of file VertexQuery.java.

Referenced by denoptim.graph.VertexQuery.getVertexTypeQuery().


The documentation for this class was generated from the following file: