| 113 | |
| 114 | template <typename edge_type> |
| 115 | double operator() ( |
| 116 | const edge_type& e |
| 117 | ) const |
| 118 | { |
| 119 | return std::exp(-gamma*e.distance()); |
| 120 | } |
| 121 | }; |
| 122 | |
| 123 | // ---------------------------------------------------------------------------------------- |