pub fn first_ve_degree_zagreb_alpha(graph: &Graph) -> IgraphResult<u64>Expand description
Compute the first ve-degree Zagreb alpha index.
M₁^{αve}(G) = Σ_v d_{ve}(v)²
§Examples
use rust_igraph::{Graph, first_ve_degree_zagreb_alpha};
// K_3: d=[2,2,2], S(v)=4, d_ve(v)=4+4-4=4 for all
// M₁^αve = 3×16 = 48
let g = Graph::from_edges(&[(0,1),(1,2),(0,2)], false, Some(3)).unwrap();
assert_eq!(first_ve_degree_zagreb_alpha(&g).unwrap(), 48);