Revision d5b7a27f custompackages/graph-parser/src/bi_connected_components.h

View differences:

custompackages/graph-parser/src/bi_connected_components.h
34 34

  
35 35
class BiConnectedComponents {
36 36
public:
37
    BiConnectedComponents(GraphManager &gm, bool weighted_graph = true);
37
    BiConnectedComponents(GraphManager &gm);
38 38
    void init();
39 39

  
40 40
    // Getter functions
......
43 43
    StringSet const& all_art_points_id() const;
44 44
    NameToDoubleMap const& bc_score() const;
45 45
    NameToDoubleMap const& bc_relative_score() const;
46
    bool weighted_graph() const;
47

  
48
    // Setter functions
49
    void set_weighted_graph(bool rhs);
50 46

  
51 47
    // Auto run
52 48
    void run();
......
65 61
    void CalculateBetweennessCentralityHeuristic();
66 62

  
67 63
    // BETWEENNESS CENTRALITY
68
    void CalculateBetweennessCentrality();
64
    void CalculateBetweennessCentrality(bool targets_inclusion = true);
69 65

  
70 66
    // HELPERS FOR OUTPUTTING RESULT
71 67
    void print_all_sub_components();
72

  
68
    void print_biconnected_components();
73 69
    void print_betweenness_centrality();
74 70
    void print_betweenness_centrality_heuristic();
75 71

  
......
80 76

  
81 77
    // Public variables
82 78
    GraphManager gm_;
83
    bool weighted_graph_;
84 79
    typedef vector<SubComponent> Component_t;
85 80
    typedef vector<SubComponent>::iterator ComponentIter_t;
86 81
    Component_t BCCs;

Also available in: Unified diff