$darkmode
DENOPTIM
denoptim.graph.rings.RingSizeManagerTest Class Reference

Unit test for ring size manager. More...

Public Member Functions

void testEvaluateRCVPair () throws Exception
 

Static Public Member Functions

static DGraph makeTestGraphA () throws DENOPTIMException
 Build a graph meant to be used in unit tests. More...
 

Detailed Description

Unit test for ring size manager.

Author
Marco Foscato

Definition at line 61 of file RingSizeManagerTest.java.

Member Function Documentation

◆ makeTestGraphA()

static DGraph denoptim.graph.rings.RingSizeManagerTest.makeTestGraphA ( ) throws DENOPTIMException
static

Build a graph meant to be used in unit tests.

The returned graph has the following structure:

       
       RCV_P  RCV_P               RCV_P  RCV_M
        |      |                   |      |
RCV_M--[O]----[C]--[C]--[C]--[C]--[C]----[N]--RCV_M
       vO     vC   vC2  vC3  vC4  vC5    vN

<br>return a new instance of the test graph.

Exceptions
DENOPTIMException

Definition at line 79 of file RingSizeManagerTest.java.

References denoptim.graph.Fragment.addAP(), denoptim.graph.DGraph.addVertex(), denoptim.graph.DGraph.appendVertexOnAP(), denoptim.graph.Fragment.clone(), denoptim.graph.Vertex.BBType.FRAGMENT, denoptim.graph.Vertex.getAP(), denoptim.graph.APClass.make(), denoptim.graph.APClass.RCACLASSMINUS, denoptim.graph.APClass.RCACLASSPLUS, denoptim.graph.rings.RingClosingAttractor.RCALABELPERAPCLASS, denoptim.graph.Vertex.setAsRCV(), and denoptim.graph.Vertex.setVertexId().

Here is the call graph for this function:

◆ testEvaluateRCVPair()


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