Where B is the bond number (number of edges in the molecular graph), and lambda(i) is the i eigenvalue of the laplacian matrix. The second Mohar index is defined as
Where A-1 is the first non-cero eigenvalue.
template <class Molecule>
struct first_mohar_index : std::unary_function<Molecule,typename Molecule::calc_type> {
result_type operator()(const argument_type& m);
};
For the first Mohar index, and:
template <class Molecule>
struct second_mohar_index : std::unary_function<Molecule,typename Molecule::calc_type> {
result_type operator()(const argument_type& m);
};
For the second.
| Argument | Model of |
|---|---|
| Molecule | cdl::molecule |