$darkmode
DENOPTIM
denoptim.graph.EdgeQueryTest Class Reference

Unit tests for EdgeQuery#matches(Edge). More...

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

Public Member Functions

void setUp () throws DENOPTIMException
 
void testMatchesNullEdge ()
 
void testMatchesAllNullCriteria ()
 
void testMatchesSourceAndTargetVertices ()
 
void testMatchesAttachmentPointIndices ()
 
void testMatchesBondType ()
 
void testMatchesAPClasses () throws DENOPTIMException
 
void testMatchesCombinedCriteria () throws DENOPTIMException
 
void testFindEdgesUsesMatches ()
 
void testMatchesNestedQueries () throws DENOPTIMException
 

Private Attributes

DGraph graph
 

Detailed Description

Unit tests for EdgeQuery#matches(Edge).

Definition at line 26 of file EdgeQueryTest.java.

Member Function Documentation

◆ setUp()

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

Definition at line 31 of file EdgeQueryTest.java.

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

Here is the call graph for this function:

◆ testFindEdgesUsesMatches()

void denoptim.graph.EdgeQueryTest.testFindEdgesUsesMatches ( )

Definition at line 192 of file EdgeQueryTest.java.

References denoptim.graph.DGraph.findEdges(), denoptim.graph.DGraph.getEdgeList(), denoptim.graph.EdgeQueryTest.graph, and denoptim.graph.EdgeQuery.matches().

Here is the call graph for this function:

◆ testMatchesAllNullCriteria()

void denoptim.graph.EdgeQueryTest.testMatchesAllNullCriteria ( )

Definition at line 48 of file EdgeQueryTest.java.

References denoptim.graph.Vertex.getEdgeToParent(), denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.EdgeQueryTest.graph, and denoptim.graph.EdgeQuery.matches().

Here is the call graph for this function:

◆ testMatchesAPClasses()

void denoptim.graph.EdgeQueryTest.testMatchesAPClasses ( ) throws DENOPTIMException

Definition at line 144 of file EdgeQueryTest.java.

References denoptim.graph.Vertex.getEdgeToParent(), denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.EdgeQueryTest.graph, denoptim.graph.APClass.make(), and denoptim.graph.EdgeQuery.matches().

Here is the call graph for this function:

◆ testMatchesAttachmentPointIndices()

void denoptim.graph.EdgeQueryTest.testMatchesAttachmentPointIndices ( )

Definition at line 92 of file EdgeQueryTest.java.

References denoptim.graph.Vertex.getEdgeToParent(), denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.EdgeQueryTest.graph, and denoptim.graph.EdgeQuery.matches().

Here is the call graph for this function:

◆ testMatchesBondType()

void denoptim.graph.EdgeQueryTest.testMatchesBondType ( )

Definition at line 124 of file EdgeQueryTest.java.

References denoptim.graph.Vertex.getEdgeToParent(), denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.EdgeQueryTest.graph, denoptim.graph.EdgeQuery.matches(), denoptim.graph.Edge.BondType.SINGLE, and denoptim.graph.Edge.BondType.TRIPLE.

Here is the call graph for this function:

◆ testMatchesCombinedCriteria()

void denoptim.graph.EdgeQueryTest.testMatchesCombinedCriteria ( ) throws DENOPTIMException

◆ testMatchesNestedQueries()

void denoptim.graph.EdgeQueryTest.testMatchesNestedQueries ( ) throws DENOPTIMException

Definition at line 216 of file EdgeQueryTest.java.

References denoptim.graph.Vertex.getEdgeToParent(), denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.Vertex.getVertexId(), denoptim.graph.EdgeQueryTest.graph, denoptim.graph.APClass.make(), denoptim.graph.EdgeQuery.matches(), and denoptim.graph.Edge.BondType.TRIPLE.

Here is the call graph for this function:

◆ testMatchesNullEdge()

void denoptim.graph.EdgeQueryTest.testMatchesNullEdge ( )

Definition at line 39 of file EdgeQueryTest.java.

References denoptim.graph.EdgeQuery.matches().

Here is the call graph for this function:

◆ testMatchesSourceAndTargetVertices()

void denoptim.graph.EdgeQueryTest.testMatchesSourceAndTargetVertices ( )

Definition at line 60 of file EdgeQueryTest.java.

References denoptim.graph.Vertex.getEdgeToParent(), denoptim.graph.DGraph.getVertexAtPosition(), denoptim.graph.Vertex.getVertexId(), denoptim.graph.EdgeQueryTest.graph, and denoptim.graph.EdgeQuery.matches().

Here is the call graph for this function:

Member Data Documentation

◆ graph


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