equal
deleted
inserted
replaced
1014 ///function for setting ReachedMap |
1014 ///function for setting ReachedMap |
1015 /// |
1015 /// |
1016 template<class T> |
1016 template<class T> |
1017 BfsWizard<DefReachedMapBase<T> > reachedMap(const T &t) |
1017 BfsWizard<DefReachedMapBase<T> > reachedMap(const T &t) |
1018 { |
1018 { |
1019 Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t)); |
1019 Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t)); |
1020 return BfsWizard<DefReachedMapBase<T> >(*this); |
1020 return BfsWizard<DefReachedMapBase<T> >(*this); |
1021 } |
1021 } |
1022 |
1022 |
1023 |
1023 |
1024 template<class T> |
1024 template<class T> |
1035 ///function for setting ProcessedMap |
1035 ///function for setting ProcessedMap |
1036 /// |
1036 /// |
1037 template<class T> |
1037 template<class T> |
1038 BfsWizard<DefProcessedMapBase<T> > processedMap(const T &t) |
1038 BfsWizard<DefProcessedMapBase<T> > processedMap(const T &t) |
1039 { |
1039 { |
1040 Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t)); |
1040 Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t)); |
1041 return BfsWizard<DefProcessedMapBase<T> >(*this); |
1041 return BfsWizard<DefProcessedMapBase<T> >(*this); |
1042 } |
1042 } |
1043 |
1043 |
1044 |
1044 |
1045 template<class T> |
1045 template<class T> |