graph-count-disconnected-communities.sh

Count the number of disconnected communities in a graph, for the given community membership of each vertex.

https://github.com/nodef/graph-count-disconnected-communities.sh

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Count the number of disconnected communities in a graph, for the given community membership of each vertex.

Basic Info
  • Host: GitHub
  • Owner: nodef
  • License: mit
  • Language: C++
  • Default Branch: main
  • Homepage:
  • Size: 51.8 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created about 2 years ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

Count the number of disconnected communities in a graph, for the given community membership of each vertex.

```bash

Count disconnected communities in the web-Stanford graph, from given the membership (keyed, starting from 0).

$ graph-count-disconnected-communities -k -r 0 -i web-Stanford.mtx -m web-Stanford-membership.txt

Count disconnected communities in the web-Stanford graph, from given the membership file (in TSV format).

$ graph-count-disconnected-communities -k -r 0 -i web-Stanford.mtx -m web-Stanford-membership.tsv -f mtx

Count disconnected communities in the weighted vt2010 graph, from given the membership file (in CSV format).

$ graph-count-disconnected-communities -k -r 0 -i vt2010.mtx -m vt2010-membership.csv -w ```


Usage

```bash $ graph-count-disconnected-communities [options]

Options: -h, --help Show this help message. -i, --input Input file name. -f, --input-format Input file format. -m, --membership Community membership file name. -k, --membership-keyed Community membership file is keyed. -r, --membership-start Community membership start index. -w, --weighted Input graph is weighted. -s, --symmetric Input graph is symmetric.

Supported formats: mtx Matrix Market format (default). coo Coordinate format. edgelist Edgelist format. csv Comma-separated values format. tsv Tab-separated values format. ```


Installation

bash $ git clone https://github.com/ionicf/graph-count-disconnected-communities $ cd graph-count-disconnected-communities $ ./install.sh --prefix /usr/local




ORG DOI

Owner

  • Name: nodef
  • Login: nodef
  • Kind: organization

A summary of programs made with Node.js.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Sahu
    given-names: Subhajit
    orcid: https://orcid.org/0000-0001-5140-6578
title: "ionicf/graph-count-disconnected-communities: Count the number of disconnected communities in a graph, for the given community membership of each vertex"
version: 2.0.0
doi: 10.5281/zenodo.10403723
date-released: 2023-12-19

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 7 months ago