Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
IOGraphTest Class Reference
Inheritance diagram for IOGraphTest:
[legend]
Collaboration diagram for IOGraphTest:
[legend]

Protected Types

using Graph = List_Graph< Graph_Node< int >, Graph_Arc< double > >
 
using Node = Graph::Node
 
using Arc = Graph::Arc
 

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
std::vector< int > get_node_values (Graph &graph)
 
std::vector< double > get_arc_values (Graph &graph)
 

Protected Attributes

Graph g
 
Node * n0
 
Node * n1
 
Node * n2
 
Node * n3
 
std::string binary_file
 
std::string text_file
 

Detailed Description

Definition at line 78 of file io_graph_test.cc.

Member Typedef Documentation

◆ Arc

using IOGraphTest::Arc = Graph::Arc
protected

Definition at line 83 of file io_graph_test.cc.

◆ Graph

using IOGraphTest::Graph = List_Graph<Graph_Node<int>, Graph_Arc<double> >
protected

Definition at line 81 of file io_graph_test.cc.

◆ Node

using IOGraphTest::Node = Graph::Node
protected

Definition at line 82 of file io_graph_test.cc.

Member Function Documentation

◆ get_arc_values()

std::vector< double > IOGraphTest::get_arc_values ( Graph &  graph)
inlineprotected

Definition at line 133 of file io_graph_test.cc.

◆ get_node_values()

std::vector< int > IOGraphTest::get_node_values ( Graph &  graph)
inlineprotected

Definition at line 123 of file io_graph_test.cc.

◆ SetUp()

void IOGraphTest::SetUp ( )
inlineoverrideprotected

◆ TearDown()

void IOGraphTest::TearDown ( )
inlineoverrideprotected

Definition at line 116 of file io_graph_test.cc.

References binary_file, and text_file.

Member Data Documentation

◆ binary_file

std::string IOGraphTest::binary_file
protected

Definition at line 144 of file io_graph_test.cc.

Referenced by SetUp(), and TearDown().

◆ g

Graph IOGraphTest::g
protected

Definition at line 142 of file io_graph_test.cc.

Referenced by SetUp().

◆ n0

Node* IOGraphTest::n0
protected

Definition at line 143 of file io_graph_test.cc.

Referenced by SetUp().

◆ n1

Node * IOGraphTest::n1
protected

Definition at line 143 of file io_graph_test.cc.

Referenced by SetUp().

◆ n2

Node * IOGraphTest::n2
protected

Definition at line 143 of file io_graph_test.cc.

Referenced by SetUp().

◆ n3

Node * IOGraphTest::n3
protected

Definition at line 143 of file io_graph_test.cc.

Referenced by SetUp().

◆ text_file

std::string IOGraphTest::text_file
protected

Definition at line 145 of file io_graph_test.cc.

Referenced by SetUp(), and TearDown().


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