Changeset 955:7f6e2bd76654 in lemon for lemon/matching.h
- Timestamp:
- 03/17/10 12:35:52 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/matching.h
r954 r955 1676 1676 void fractionalInit() { 1677 1677 createStructures(); 1678 1679 _blossom_node_list.clear(); 1680 _blossom_potential.clear(); 1678 1681 1679 1682 if (_fractional == 0) { … … 1697 1700 1698 1701 _unmatched = 0; 1702 1703 _delta1->clear(); 1704 _delta2->clear(); 1705 _delta3->clear(); 1706 _delta4->clear(); 1707 _blossom_set->clear(); 1708 _tree_set->clear(); 1699 1709 1700 1710 int index = 0; … … 1703 1713 (*_node_index)[n] = index; 1704 1714 (*_node_data)[index].pot = pot; 1715 (*_node_data)[index].heap_index.clear(); 1716 (*_node_data)[index].heap.clear(); 1705 1717 int blossom = 1706 1718 _blossom_set->insert(n, std::numeric_limits<Value>::max()); … … 3081 3093 void fractionalInit() { 3082 3094 createStructures(); 3095 3096 _blossom_node_list.clear(); 3097 _blossom_potential.clear(); 3083 3098 3084 3099 if (_fractional == 0) { … … 3102 3117 3103 3118 _unmatched = 0; 3119 3120 _delta2->clear(); 3121 _delta3->clear(); 3122 _delta4->clear(); 3123 _blossom_set->clear(); 3124 _tree_set->clear(); 3104 3125 3105 3126 int index = 0; … … 3108 3129 (*_node_index)[n] = index; 3109 3130 (*_node_data)[index].pot = pot; 3131 (*_node_data)[index].heap_index.clear(); 3132 (*_node_data)[index].heap.clear(); 3110 3133 int blossom = 3111 3134 _blossom_set->insert(n, std::numeric_limits<Value>::max());
Note: See TracChangeset
for help on using the changeset viewer.