#include <MCF2_data.hpp>
Collaboration diagram for MCF2_data:
Public Member Functions | |
MCF2_data () | |
~MCF2_data () | |
int | readDimacsFormat (std::istream &s, bool addDummyArcs) |
void | pack (BCP_buffer &buf) const |
void | unpack (BCP_buffer &buf) |
Public Attributes | |
char * | problem_name |
arc * | arcs |
commodity * | commodities |
int | numarcs |
int | numnodes |
int | numcommodities |
Classes | |
struct | arc |
struct | commodity |
Definition at line 11 of file MCF2_data.hpp.
MCF2_data::MCF2_data | ( | ) | [inline] |
Definition at line 33 of file MCF2_data.hpp.
MCF2_data::~MCF2_data | ( | ) | [inline] |
int MCF2_data::readDimacsFormat | ( | std::istream & | s, | |
bool | addDummyArcs | |||
) |
Definition at line 63 of file MCF2_data.cpp.
References arcs, commodities, MCF2_data::commodity::demand, MCF2_data::arc::head, MCF2_data::arc::lb, numarcs, numcommodities, numnodes, problem_name, MCF2_data::commodity::sink, MCF2_data::arc::ub, and MCF2_data::arc::weight.
Referenced by MCF2_init::tm_init().
void MCF2_data::pack | ( | BCP_buffer & | buf | ) | const |
Definition at line 7 of file MCF2_data.cpp.
References arcs, commodities, numarcs, numcommodities, numnodes, BCP_buffer::pack(), problem_name, MCF2_data::commodity::source, and MCF2_data::arc::tail.
Referenced by MCF2_tm::pack_module_data().
void MCF2_data::unpack | ( | BCP_buffer & | buf | ) |
Definition at line 31 of file MCF2_data.cpp.
References arcs, commodities, numarcs, numcommodities, numnodes, problem_name, MCF2_data::commodity::source, MCF2_data::arc::tail, and BCP_buffer::unpack().
Referenced by MCF2_lp::unpack_module_data().
char* MCF2_data::problem_name |
Definition at line 25 of file MCF2_data.hpp.
Referenced by pack(), readDimacsFormat(), unpack(), and ~MCF2_data().
Definition at line 26 of file MCF2_data.hpp.
Referenced by MCF2_lp::compute_lower_bound(), MCF2_tm::create_root(), MCF2_tm::display_feasible_solution(), MCF2_tm::initialize_core(), pack(), readDimacsFormat(), MCF2_lp::select_branching_candidates(), unpack(), MCF2_lp::unpack_module_data(), and ~MCF2_data().
Definition at line 27 of file MCF2_data.hpp.
Referenced by MCF2_lp::compute_lower_bound(), MCF2_tm::create_root(), pack(), readDimacsFormat(), unpack(), and ~MCF2_data().
Definition at line 28 of file MCF2_data.hpp.
Referenced by MCF2_lp::compute_lower_bound(), MCF2_tm::create_root(), MCF2_tm::initialize_core(), pack(), readDimacsFormat(), MCF2_lp::select_branching_candidates(), unpack(), MCF2_lp::unpack_module_data(), and MCF2_lp::vars_to_cols().
Definition at line 29 of file MCF2_data.hpp.
Referenced by pack(), readDimacsFormat(), unpack(), and MCF2_lp::unpack_module_data().
Definition at line 30 of file MCF2_data.hpp.
Referenced by MCF2_lp::compute_lower_bound(), MCF2_tm::create_root(), MCF2_tm::initialize_core(), MCF2_lp::initialize_new_search_tree_node(), pack(), readDimacsFormat(), MCF2_lp::select_branching_candidates(), MCF2_lp::test_feasibility(), unpack(), and MCF2_lp::unpack_module_data().