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< 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 76 of file io_graph_test.cc.

Member Typedef Documentation

◆ Arc

Definition at line 81 of file io_graph_test.cc.

◆ Graph

Definition at line 79 of file io_graph_test.cc.

◆ Node

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

◆ get_node_values()

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

Definition at line 121 of file io_graph_test.cc.

◆ SetUp()

◆ TearDown()

void IOGraphTest::TearDown ( )
inlineoverrideprotected

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

Referenced by SetUp(), and TearDown().

◆ g

Graph IOGraphTest::g
protected

Definition at line 140 of file io_graph_test.cc.

Referenced by SetUp().

◆ n0

Node* IOGraphTest::n0
protected

Definition at line 141 of file io_graph_test.cc.

Referenced by SetUp().

◆ n1

Node * IOGraphTest::n1
protected

Definition at line 141 of file io_graph_test.cc.

Referenced by SetUp().

◆ n2

Node * IOGraphTest::n2
protected

Definition at line 141 of file io_graph_test.cc.

Referenced by SetUp().

◆ n3

Node * IOGraphTest::n3
protected

Definition at line 141 of file io_graph_test.cc.

Referenced by SetUp().

◆ text_file

std::string IOGraphTest::text_file
protected

Definition at line 143 of file io_graph_test.cc.

Referenced by SetUp(), and TearDown().


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