EnglishFrenchSpanish

OnWorks favicon

gc - Online in the Cloud

Run gc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gc - count graph components

SYNOPSIS


gc [ -necCaDUrsv? ] [ files ]

DESCRIPTION


gc is a graph analogue to wc in that it prints to standard output the number of nodes,
edges, connected components or clusters contained in the input files. It also prints a
total count for all graphs if more than one graph is given.

OPTIONS


The following options are supported:

-n Count nodes.

-e Count edges.

-c Count connected components.

-C Count clusters. By definition, a cluster is a graph or subgraph whose name begins
with "cluster".

-a Count all. Equivalent to -encC

-r Recursively analyze subgraphs.

-s Print no output. Only exit value is important.

-D Only analyze directed graphs.

-U Only analyze undirected graphs.

-v Verbose output.

-? Print usage information.

By default, gc returns the number of nodes and edges.

OPERANDS


The following operand is supported:

files Names of files containing 1 or more graphs in dot format. If no files operand is
specified, the standard input will be used.

EXIT STATUS


The following exit values are returned:

0 Successful completion.

1 The -U or -E option was used, and a graph of the wrong type was encountered.

Use gc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 2
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 3
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 4
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 5
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 6
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • More »

Linux commands

Ad