Changeset 501:20e4941a354a in lemon-0.x for src/work/marci/bipartite_graph_wrapper.h
- Timestamp:
- 04/30/04 20:43:18 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@661
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/bipartite_graph_wrapper.h
r500 r501 32 32 SFalseTTrueMap* s_false_t_true_map; 33 33 34 BipartiteGraphWrapper() : GraphWrapper<Graph>() { } 34 BipartiteGraphWrapper() : GraphWrapper<Graph>()/*, 35 S_CLASS(false), T_CLASS(true)*/ { } 35 36 void setSFalseTTrueMap(SFalseTTrueMap& _s_false_t_true_map) { 36 37 s_false_t_true_map=&_s_false_t_true_map; … … 40 41 //marci 41 42 //FIXME vhogy igy kellene, csak az en forditom nem eszi meg 42 //static const bool S_CLASS=false;43 //static const bool T_CLASS=true;43 static const bool S_CLASS=false; 44 static const bool T_CLASS=true; 44 45 45 bool S_CLASS;46 bool T_CLASS;46 //bool S_CLASS; 47 //bool T_CLASS; 47 48 48 49 BipartiteGraphWrapper(Graph& _graph, SFalseTTrueMap& _s_false_t_true_map) 49 50 : GraphWrapper<Graph>(_graph), 50 s_false_t_true_map(&_s_false_t_true_map) ,51 S_CLASS(false), T_CLASS(true){ }51 s_false_t_true_map(&_s_false_t_true_map)/*, 52 S_CLASS(false), T_CLASS(true)*/ { } 52 53 typedef typename GraphWrapper<Graph>::Node Node; 53 54 //using GraphWrapper<Graph>::NodeIt; … … 210 211 Node n=Parent::graph->addNode(); 211 212 bipartite_map.update(); 213 //bipartite_map.set(n, -1); 212 214 s_false_t_true_map.insert(n, b); 213 215 return n;
Note: See TracChangeset
for help on using the changeset viewer.