AnalyzerUnitTest.EdgeReciprocationCalculatorTest.CreateGraph C# (CSharp) Method

CreateGraph() protected method

protected CreateGraph ( System.Boolean bIsDirected ) : void
bIsDirected System.Boolean
return void
        CreateGraph
        (
            Boolean bIsDirected
        )
        {
            m_oEdgeReciprocationCalculator = new EdgeReciprocationCalculator();

            m_oGraph = new Graph(bIsDirected ?
                GraphDirectedness.Directed : GraphDirectedness.Undirected);

            m_oVertices = m_oGraph.Vertices;
            m_oEdges = m_oGraph.Edges;
        }