Learn R Programming

QuACN (version 1.8.0)

konstantinova: Konstantinova

Description

This method calculates the Konstantinova index

Usage

konstantinova(g, dist = NULL)

Arguments

g
a graphNEL object

dist
the Distance Matrix of the graph g (optional)

Value

References

E. V. Konstantinova and A. A. Paleev. Sensitivity of topological indices of polycyclic graphs. Vychisl. Sistemy, 136:38-48, 1990, In Russion.

Examples

Run this code

library(QuACN)
set.seed(123)
g <- randomGraph(1:8, 1:5, 0.36, weights=FALSE)
mat.dist <- distanceMatrix(g)

konstantinova(g)
konstantinova(g,dist=mat.dist)

Run the code above in your browser using DataLab