/home/coin/SVN-release/OS-2.4.0/Bcp/examples/MaxCut/Member/MC_solution.cpp File Reference

#include <cstdio>
#include <fstream>
#include "CoinHelperFunctions.hpp"
#include "BCP_math.hpp"
#include "BCP_string.hpp"
#include "BCP_buffer.hpp"
#include "BCP_vector.hpp"
#include "MC.hpp"
#include "MC_solution.hpp"

Include dependency graph for MC_solution.cpp:

Go to the source code of this file.

Defines

#define MC_PRINT_ITER_COUNT   0
#define MC_TEST_COST_AFTER_EVERY_SWITCH   0

Functions

static double MC_switch_cost (const MC_adjacency_entry *adj_list, const int degree, const int *sig, const int this_sig)


Define Documentation

#define MC_PRINT_ITER_COUNT   0

Definition at line 18 of file MC_solution.cpp.

#define MC_TEST_COST_AFTER_EVERY_SWITCH   0

Definition at line 20 of file MC_solution.cpp.


Function Documentation

static double MC_switch_cost ( const MC_adjacency_entry adj_list,
const int  degree,
const int *  sig,
const int  this_sig 
) [inline, static]

Definition at line 65 of file MC_solution.cpp.

References MC_adjacency_entry::cost.

Referenced by MC_solution::edge_switch_improve(), MC_solution::ising_with_external_edge_switch_improve(), MC_solution::lk_switch_improve(), and MC_solution::switch_improve().


Generated on Thu Sep 22 03:06:30 2011 by  doxygen 1.4.7