Skip to content

Support for SNAPHU v2.0.6 #728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
730 changes: 322 additions & 408 deletions contrib/Snaphu/include/snaphu.h

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions contrib/Snaphu/include/snaphu_cs2types.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

This code is derived from cs2 v3.7
Written by Andrew V. Goldberg and Boris Cherkassky
Modifications for use in snaphu by Curtis W. Chen
Modifications for use in snaphu by Curtis W. Chen

Header for cs2 minimum cost flow solver. This file is included with
a #include from snaphu_cs2.c.

The cs2 code is used here with permission for strictly noncommerical
use. The original cs2 source code can be downloaded from

http://www.igsystems.com/cs2

The original cs2 copyright is stated as follows:
Expand All @@ -18,7 +18,7 @@
evaluation purposes is granted provided that proper
acknowledgments are given. For a commercial licence, contact
[email protected].

This software comes with NO WARRANTY, expressed or implied. By way
of example, but not limitation, we make no representations of
warranties of merchantability or fitness for any particular
Expand All @@ -31,8 +31,7 @@
*************************************************************************/

/* defs.h */
#ifndef CSTYPES_H
#define CSTYPES_H


typedef long excess_t;

Expand Down Expand Up @@ -64,8 +63,7 @@ typedef /* node */
typedef /* bucket */
struct bucket_st
{
node *p_first; /* 1st node with positive excess
node *p_first; /* 1st node with positive excess
or simply 1st node in the buket */
} bucket;

#endif //CSTYPES_H
Loading