$darkmode
DENOPTIM
denoptim.graph.VertexQueryTest Class Reference

Unit tests for VertexQuery#matches(Vertex). More...

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

Public Member Functions

void setUp () throws DENOPTIMException
 
void testMatchesAllNullCriteria ()
 
void testMatchesVertexId ()
 
void testMatchesVertexType ()
 
void testMatchesBuildingBlockTypeAndId ()
 
void testMatchesLevel ()
 
void testMatchesIncomingEdgeQuery () throws DENOPTIMException
 
void testMatchesOutgoingEdgeQuery () throws DENOPTIMException
 
void testMatchesIncomingAndOutgoingEdgeQueries () throws DENOPTIMException
 
void testMatchesAttachmentPointQueries () throws DENOPTIMException
 
void testEmptyEdgeQueryFiltersVertices ()
 
void testFindVerticesUsesMatches ()
 

Private Attributes

DGraph graph
 

Detailed Description

Unit tests for VertexQuery#matches(Vertex).

Definition at line 32 of file VertexQueryTest.java.

Member Function Documentation

◆ setUp()

void denoptim.graph.VertexQueryTest.setUp ( ) throws DENOPTIMException

Definition at line 37 of file VertexQueryTest.java.

References denoptim.graph.VertexQueryTest.graph, and denoptim.graph.DGraphTest.makeTestGraphA2().

Here is the call graph for this function:

◆ testEmptyEdgeQueryFiltersVertices()

void denoptim.graph.VertexQueryTest.testEmptyEdgeQueryFiltersVertices ( )

Definition at line 209 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexList(), denoptim.graph.VertexQueryTest.graph, and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testFindVerticesUsesMatches()

void denoptim.graph.VertexQueryTest.testFindVerticesUsesMatches ( )

Definition at line 230 of file VertexQueryTest.java.

References denoptim.graph.DGraph.findVertices(), denoptim.graph.DGraph.getVertexList(), denoptim.graph.VertexQueryTest.graph, denoptim.graph.VertexQuery.matches(), and denoptim.graph.Vertex.BBType.UNDEFINED.

Here is the call graph for this function:

◆ testMatchesAllNullCriteria()

void denoptim.graph.VertexQueryTest.testMatchesAllNullCriteria ( )

Definition at line 45 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexList(), denoptim.graph.VertexQueryTest.graph, and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testMatchesAttachmentPointQueries()

void denoptim.graph.VertexQueryTest.testMatchesAttachmentPointQueries ( ) throws DENOPTIMException

Definition at line 185 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.VertexQueryTest.graph, denoptim.graph.APClass.make(), and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testMatchesBuildingBlockTypeAndId()

void denoptim.graph.VertexQueryTest.testMatchesBuildingBlockTypeAndId ( )

Definition at line 86 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.VertexQueryTest.graph, denoptim.graph.VertexQuery.matches(), and denoptim.graph.Vertex.BBType.SCAFFOLD.

Here is the call graph for this function:

◆ testMatchesIncomingAndOutgoingEdgeQueries()

void denoptim.graph.VertexQueryTest.testMatchesIncomingAndOutgoingEdgeQueries ( ) throws DENOPTIMException

Definition at line 163 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.VertexQueryTest.graph, denoptim.graph.APClass.make(), and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testMatchesIncomingEdgeQuery()

void denoptim.graph.VertexQueryTest.testMatchesIncomingEdgeQuery ( ) throws DENOPTIMException

Definition at line 125 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.VertexQueryTest.graph, denoptim.graph.APClass.make(), and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testMatchesLevel()

void denoptim.graph.VertexQueryTest.testMatchesLevel ( )

Definition at line 105 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.VertexQueryTest.graph, and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testMatchesOutgoingEdgeQuery()

void denoptim.graph.VertexQueryTest.testMatchesOutgoingEdgeQuery ( ) throws DENOPTIMException

Definition at line 144 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.VertexQueryTest.graph, denoptim.graph.APClass.make(), and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testMatchesVertexId()

void denoptim.graph.VertexQueryTest.testMatchesVertexId ( )

Definition at line 58 of file VertexQueryTest.java.

References denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.Vertex.getVertexId(), denoptim.graph.VertexQueryTest.graph, and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

◆ testMatchesVertexType()

void denoptim.graph.VertexQueryTest.testMatchesVertexType ( )

Definition at line 71 of file VertexQueryTest.java.

References denoptim.graph.Vertex.VertexType.EmptyVertex, denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.VertexQueryTest.graph, and denoptim.graph.VertexQuery.matches().

Here is the call graph for this function:

Member Data Documentation

◆ graph


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