Aleph-w 3.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< intget_node_values (Graph &graph)
 
std::vector< doubleget_arc_values (Graph &graph)
 

Protected Attributes

Graph g
 
Noden0
 
Noden1
 
Noden2
 
Noden3
 
std::string binary_file
 
std::string text_file
 

Detailed Description

Definition at line 50 of file io_graph_test.cc.

Member Typedef Documentation

◆ Arc

Definition at line 55 of file io_graph_test.cc.

◆ Graph

Definition at line 53 of file io_graph_test.cc.

◆ Node

Definition at line 54 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 97 of file io_graph_test.cc.

◆ get_node_values()

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

Definition at line 87 of file io_graph_test.cc.

◆ SetUp()

◆ TearDown()

void IOGraphTest::TearDown ( )
inlineoverrideprotected

Definition at line 80 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 108 of file io_graph_test.cc.

Referenced by SetUp(), and TearDown().

◆ g

Graph IOGraphTest::g
protected

Definition at line 106 of file io_graph_test.cc.

Referenced by SetUp().

◆ n0

Node* IOGraphTest::n0
protected

Definition at line 107 of file io_graph_test.cc.

Referenced by SetUp().

◆ n1

Node * IOGraphTest::n1
protected

Definition at line 107 of file io_graph_test.cc.

Referenced by SetUp().

◆ n2

Node * IOGraphTest::n2
protected

Definition at line 107 of file io_graph_test.cc.

Referenced by SetUp().

◆ n3

Node * IOGraphTest::n3
protected

Definition at line 107 of file io_graph_test.cc.

Referenced by SetUp().

◆ text_file

std::string IOGraphTest::text_file
protected

Definition at line 109 of file io_graph_test.cc.

Referenced by SetUp(), and TearDown().


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