Package | Description |
---|---|
gov.sandia.cognition.graph.community |
Modifier and Type | Class and Description |
---|---|
static class |
Louvain.LouvainHierarchy<NodeNameType>
The return type from running Louvain.
|
Modifier and Type | Method and Description |
---|---|
NodePartitioning<NodeNameType> |
Permanence.solveCommunities()
Performs the actual permanence-maximization computation and returns the
resulting partitioning.
|
Modifier and Type | Method and Description |
---|---|
static <NodeNameType> |
CommunityMetrics.computeGraphPermanance(DirectedNodeEdgeGraph<NodeNameType> graph,
GraphMetrics<NodeNameType> metrics,
NodePartitioning<NodeNameType> partitions)
Computes the average permanence for the partitioning of the entire graph
|
static <NodeNameType> |
CommunityMetrics.computeModularity(DirectedNodeEdgeGraph<NodeNameType> graph,
NodePartitioning<NodeNameType> communities)
Computes the modularity of the input graph into the input set of
communities.
|
static <NodeNameType> |
CommunityMetrics.computeModularity(NodePartitioning<NodeNameType> communities,
GraphMetrics<NodeNameType> graphMetrics) |
static <NodeNameType> |
CommunityMetrics.computeOneNodePermanence(GraphMetrics<NodeNameType> metrics,
NodePartitioning<NodeNameType> partitions,
NodeNameType node,
DirectedNodeEdgeGraph<NodeNameType> graph) |
static <NodeNameType> |
CommunityMetrics.computeOneNodePermanenceById(GraphMetrics<NodeNameType> metrics,
NodePartitioning<NodeNameType> partitions,
int nodeId,
DirectedNodeEdgeGraph<NodeNameType> graph)
Computes the permanence for one node in the graph.
|
static <NodeNameType> |
NodePartitioning.printPartitioning(NodePartitioning<NodeNameType> part)
A helper pretty print method so that all partitionings can have the same
look-and-feel.
|
Constructor and Description |
---|
CommunityComparisons(NodePartitioning<NodeNameType> u,
NodePartitioning<NodeNameType> v)
Initializes this with the input partitionings of the same underlying set
|
CommunityComparisons(NodePartitioning<NodeNameType> u,
NodePartitioning<NodeNameType> v)
Initializes this with the input partitionings of the same underlying set
|