GraphStats

org.llm4s.knowledgegraph.storage.GraphStats
case class GraphStats(nodeCount: Long, edgeCount: Long, averageDegree: Double, densestNodeId: Option[String])

Statistics about a graph.

Value parameters

averageDegree

Average number of connections per node

densestNodeId

Node with the most connections (if any)

edgeCount

Total number of edges

nodeCount

Total number of nodes

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product