Git Product home page Git Product logo

searchfvs's Introduction

Searchfvs

Searchfvs is a simple solver for the directed feedback vertex set (FVS) problem.

Compile

The program is written in C++. You must prepare a C++ compiler implemented C++14 features. Type

$ make searchfvs

Then the binary searchfvs will be generated. This binary does not depend on any external libraries.

If COIN-OR Cbc solver is installed on your computer, type

$ make searchfvs_withcbc

or simply

$ make

Then the binary searchfvs_withcbc will be generated. This version is a bit faster than the "without Cbc" version thanks to finding a solution of a set cover problem as ILP by Cbc solver.

Usage

$ ./searchfvs [options] <network data>
$ ./searchfvs_withcbc [options] <network data>

<network data> should be a text file containing the list of edges of a network (see the next section). Then the program finds all the minimal FVSs of the network. The program outputs first the number of nodes of minimal FVSs, and the names of the nodes in each minimal FVS with running number.

For example, the file ciona.txt is a gene regulatory network data of Ciona embryos.

$ ./searchfvs ciona.txt

will give the list of minimal FVSs of the network.

One can specify several options. --help outputs the list of options.

Network data

For example, the line

ABC DE

means that there is an edge from a node "ABC" to a node "DE" in the network. Since space characters are used as delimiters, the names of nodes should not include space characters. If there is a # character at the begin of a line, the program ignores the line.

Related works

Contact

Kazuki Maeda "kmaeda at kmaeda.net"

searchfvs's People

Contributors

kmaed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.